blob: a5cdc81f6ea67a54725acfd926567b3600a5ad8a [file] [log] [blame]
Brian Duddiecd3a43f2016-12-07 16:53:11 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IContexthub"
4
5package: "android.hardware.contexthub"
6
7import: "android.hardware.contexthub@1.0::IContexthubCallback"
8import: "android.hardware.contexthub@1.0::types"
Keun Soo Yim09717dd2017-02-02 22:34:22 -08009import: "android.hidl.base@1.0::types"
Brian Duddiecd3a43f2016-12-07 16:53:11 -080010
11interface: {
12 api: {
13 name: "getHubs"
14 return_type_hidl: {
15 type: TYPE_VECTOR
16 vector_value: {
17 type: TYPE_STRUCT
18 predefined_type: "::android::hardware::contexthub::V1_0::ContextHub"
19 }
20 }
21 }
22
23 api: {
24 name: "registerCallback"
25 return_type_hidl: {
26 type: TYPE_ENUM
27 predefined_type: "::android::hardware::contexthub::V1_0::Result"
28 }
29 arg: {
30 type: TYPE_SCALAR
31 scalar_type: "uint32_t"
32 }
33 arg: {
34 type: TYPE_HIDL_CALLBACK
Keun Soo Yim09717dd2017-02-02 22:34:22 -080035 predefined_type: "::android::hardware::contexthub::V1_0::IContexthubCallback"
Brian Duddiecd3a43f2016-12-07 16:53:11 -080036 }
37 }
38
39 api: {
40 name: "sendMessageToHub"
41 return_type_hidl: {
42 type: TYPE_ENUM
43 predefined_type: "::android::hardware::contexthub::V1_0::Result"
44 }
45 arg: {
46 type: TYPE_SCALAR
47 scalar_type: "uint32_t"
48 }
49 arg: {
50 type: TYPE_STRUCT
51 predefined_type: "::android::hardware::contexthub::V1_0::ContextHubMsg"
52 }
53 }
54
55 api: {
56 name: "loadNanoApp"
57 return_type_hidl: {
58 type: TYPE_ENUM
59 predefined_type: "::android::hardware::contexthub::V1_0::Result"
60 }
61 arg: {
62 type: TYPE_SCALAR
63 scalar_type: "uint32_t"
64 }
65 arg: {
66 type: TYPE_STRUCT
67 predefined_type: "::android::hardware::contexthub::V1_0::NanoAppBinary"
68 }
69 arg: {
70 type: TYPE_SCALAR
71 scalar_type: "uint32_t"
72 }
73 }
74
75 api: {
76 name: "unloadNanoApp"
77 return_type_hidl: {
78 type: TYPE_ENUM
79 predefined_type: "::android::hardware::contexthub::V1_0::Result"
80 }
81 arg: {
82 type: TYPE_SCALAR
83 scalar_type: "uint32_t"
84 }
85 arg: {
86 type: TYPE_SCALAR
87 scalar_type: "uint64_t"
88 }
89 arg: {
90 type: TYPE_SCALAR
91 scalar_type: "uint32_t"
92 }
93 }
94
95 api: {
96 name: "enableNanoApp"
97 return_type_hidl: {
98 type: TYPE_ENUM
99 predefined_type: "::android::hardware::contexthub::V1_0::Result"
100 }
101 arg: {
102 type: TYPE_SCALAR
103 scalar_type: "uint32_t"
104 }
105 arg: {
106 type: TYPE_SCALAR
107 scalar_type: "uint64_t"
108 }
109 arg: {
110 type: TYPE_SCALAR
111 scalar_type: "uint32_t"
112 }
113 }
114
115 api: {
116 name: "disableNanoApp"
117 return_type_hidl: {
118 type: TYPE_ENUM
119 predefined_type: "::android::hardware::contexthub::V1_0::Result"
120 }
121 arg: {
122 type: TYPE_SCALAR
123 scalar_type: "uint32_t"
124 }
125 arg: {
126 type: TYPE_SCALAR
127 scalar_type: "uint64_t"
128 }
129 arg: {
130 type: TYPE_SCALAR
131 scalar_type: "uint32_t"
132 }
133 }
134
135 api: {
136 name: "queryApps"
137 return_type_hidl: {
138 type: TYPE_ENUM
139 predefined_type: "::android::hardware::contexthub::V1_0::Result"
140 }
141 arg: {
142 type: TYPE_SCALAR
143 scalar_type: "uint32_t"
144 }
145 }
146
147}