1/*
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#ifndef ANDROID_ML_NN_COMMON_HAL_INTERFACES_H
18#define ANDROID_ML_NN_COMMON_HAL_INTERFACES_H
19
20#include <android/hardware/neuralnetworks/1.0/IDevice.h>
21#include <android/hardware/neuralnetworks/1.0/IExecutionCallback.h>
22#include <android/hardware/neuralnetworks/1.0/IPreparedModel.h>
23#include <android/hardware/neuralnetworks/1.0/IPreparedModelCallback.h>
24#include <android/hardware/neuralnetworks/1.0/types.h>
25#include <android/hidl/allocator/1.0/IAllocator.h>
26#include <android/hidl/memory/1.0/IMemory.h>
27#include <hidlmemory/mapping.h>
28
29using ::android::hardware::Return;
30using ::android::hardware::Void;
31using ::android::hardware::hidl_memory;
32using ::android::hardware::hidl_string;
33using ::android::hardware::hidl_vec;
34using ::android::hardware::neuralnetworks::V1_0::Capabilities;
35using ::android::hardware::neuralnetworks::V1_0::DataLocation;
36using ::android::hardware::neuralnetworks::V1_0::DeviceStatus;
37using ::android::hardware::neuralnetworks::V1_0::ErrorStatus;
38using ::android::hardware::neuralnetworks::V1_0::FusedActivationFunc;
39using ::android::hardware::neuralnetworks::V1_0::IDevice;
40using ::android::hardware::neuralnetworks::V1_0::IExecutionCallback;
41using ::android::hardware::neuralnetworks::V1_0::IPreparedModel;
42using ::android::hardware::neuralnetworks::V1_0::IPreparedModelCallback;
43using ::android::hardware::neuralnetworks::V1_0::Model;
44using ::android::hardware::neuralnetworks::V1_0::Operand;
45using ::android::hardware::neuralnetworks::V1_0::OperandLifeTime;
46using ::android::hardware::neuralnetworks::V1_0::OperandType;
47using ::android::hardware::neuralnetworks::V1_0::Operation;
48using ::android::hardware::neuralnetworks::V1_0::OperationType;
49using ::android::hardware::neuralnetworks::V1_0::PerformanceInfo;
50using ::android::hardware::neuralnetworks::V1_0::Request;
51using ::android::hardware::neuralnetworks::V1_0::RequestArgument;
52using ::android::hidl::allocator::V1_0::IAllocator;
53using ::android::hidl::memory::V1_0::IMemory;
54
55namespace android {
56namespace nn {
57
58} // namespace nn
59} // namespace android
60
61#endif // ANDROID_ML_NN_COMMON_HAL_INTERFACES_H
62