• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 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_FRAMEWORKS_ML_NN_COMMON_AIDL_HAL_INTERFACES_H
18 #define ANDROID_FRAMEWORKS_ML_NN_COMMON_AIDL_HAL_INTERFACES_H
19 
20 #include <aidl/android/hardware/neuralnetworks/BnBuffer.h>
21 #include <aidl/android/hardware/neuralnetworks/BnBurst.h>
22 #include <aidl/android/hardware/neuralnetworks/BnDevice.h>
23 #include <aidl/android/hardware/neuralnetworks/BnFencedExecutionCallback.h>
24 #include <aidl/android/hardware/neuralnetworks/BnPreparedModel.h>
25 #include <aidl/android/hardware/neuralnetworks/BnPreparedModelCallback.h>
26 #include <aidl/android/hardware/neuralnetworks/BufferDesc.h>
27 #include <aidl/android/hardware/neuralnetworks/BufferRole.h>
28 #include <aidl/android/hardware/neuralnetworks/Capabilities.h>
29 #include <aidl/android/hardware/neuralnetworks/DataLocation.h>
30 #include <aidl/android/hardware/neuralnetworks/DeviceBuffer.h>
31 #include <aidl/android/hardware/neuralnetworks/DeviceType.h>
32 #include <aidl/android/hardware/neuralnetworks/ErrorStatus.h>
33 #include <aidl/android/hardware/neuralnetworks/ExecutionPreference.h>
34 #include <aidl/android/hardware/neuralnetworks/Extension.h>
35 #include <aidl/android/hardware/neuralnetworks/ExtensionNameAndPrefix.h>
36 #include <aidl/android/hardware/neuralnetworks/ExtensionOperandTypeInformation.h>
37 #include <aidl/android/hardware/neuralnetworks/FusedActivationFunc.h>
38 #include <aidl/android/hardware/neuralnetworks/IBuffer.h>
39 #include <aidl/android/hardware/neuralnetworks/IDevice.h>
40 #include <aidl/android/hardware/neuralnetworks/IFencedExecutionCallback.h>
41 #include <aidl/android/hardware/neuralnetworks/IPreparedModel.h>
42 #include <aidl/android/hardware/neuralnetworks/IPreparedModelCallback.h>
43 #include <aidl/android/hardware/neuralnetworks/IPreparedModelParcel.h>
44 #include <aidl/android/hardware/neuralnetworks/Memory.h>
45 #include <aidl/android/hardware/neuralnetworks/Model.h>
46 #include <aidl/android/hardware/neuralnetworks/NumberOfCacheFiles.h>
47 #include <aidl/android/hardware/neuralnetworks/Operand.h>
48 #include <aidl/android/hardware/neuralnetworks/OperandExtraParams.h>
49 #include <aidl/android/hardware/neuralnetworks/OperandLifeTime.h>
50 #include <aidl/android/hardware/neuralnetworks/OperandPerformance.h>
51 #include <aidl/android/hardware/neuralnetworks/OperandType.h>
52 #include <aidl/android/hardware/neuralnetworks/Operation.h>
53 #include <aidl/android/hardware/neuralnetworks/OperationType.h>
54 #include <aidl/android/hardware/neuralnetworks/OutputShape.h>
55 #include <aidl/android/hardware/neuralnetworks/PerformanceInfo.h>
56 #include <aidl/android/hardware/neuralnetworks/Priority.h>
57 #include <aidl/android/hardware/neuralnetworks/Request.h>
58 #include <aidl/android/hardware/neuralnetworks/RequestArgument.h>
59 #include <aidl/android/hardware/neuralnetworks/RequestMemoryPool.h>
60 #include <aidl/android/hardware/neuralnetworks/Subgraph.h>
61 #include <aidl/android/hardware/neuralnetworks/SymmPerChannelQuantParams.h>
62 #include <aidl/android/hardware/neuralnetworks/Timing.h>
63 
64 namespace android::nn {
65 
66 namespace aidl_hal = ::aidl::android::hardware::neuralnetworks;
67 
68 inline constexpr aidl_hal::Priority kDefaultPriorityAidl = aidl_hal::Priority::MEDIUM;
69 
70 }  // namespace android::nn
71 
72 #endif  // ANDROID_FRAMEWORKS_ML_NN_COMMON_AIDL_HAL_INTERFACES_H
73