blob: 93982351f4aecc629c774b02c4a3ca4e5f039a42 [file] [log] [blame]
Michael Butler2f499a92017-09-19 19:59:45 -07001/*
2 * Copyright (C) 2017 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#define LOG_TAG "neuralnetworks_hidl_hal_test"
18
Miao Wanga2d04c82018-02-05 17:26:54 -080019#include <android/hardware/neuralnetworks/1.1/types.h>
Michael Butler2f499a92017-09-19 19:59:45 -070020
21namespace android {
22namespace hardware {
23namespace neuralnetworks {
Michael Butler2f499a92017-09-19 19:59:45 -070024
Miao Wanga2d04c82018-02-05 17:26:54 -080025// create V1_1 model
26V1_1::Model createValidTestModel_1_1();
27V1_1::Model createInvalidTestModel1_1_1();
28V1_1::Model createInvalidTestModel2_1_1();
29
30// create V1_0 model
31V1_0::Model createValidTestModel_1_0();
32V1_0::Model createInvalidTestModel1_1_0();
33V1_0::Model createInvalidTestModel2_1_0();
Michael Butler2f499a92017-09-19 19:59:45 -070034
35// create the request
Miao Wanga2d04c82018-02-05 17:26:54 -080036V1_0::Request createValidTestRequest();
37V1_0::Request createInvalidTestRequest1();
38V1_0::Request createInvalidTestRequest2();
Michael Butler2f499a92017-09-19 19:59:45 -070039
Michael Butler2f499a92017-09-19 19:59:45 -070040} // namespace neuralnetworks
41} // namespace hardware
42} // namespace android