Brian Duddie | cd3a43f | 2016-12-07 16:53:11 -0800 | [diff] [blame] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "IContexthubCallback" |
| 4 | |
| 5 | package: "android.hardware.contexthub" |
| 6 | |
| 7 | import: "android.hardware.contexthub@1.0::types" |
Keun Soo Yim | 09717dd | 2017-02-02 22:34:22 -0800 | [diff] [blame] | 8 | import: "android.hidl.base@1.0::types" |
Brian Duddie | cd3a43f | 2016-12-07 16:53:11 -0800 | [diff] [blame] | 9 | |
| 10 | interface: { |
Brian Duddie | cd3a43f | 2016-12-07 16:53:11 -0800 | [diff] [blame] | 11 | api: { |
| 12 | name: "handleClientMsg" |
| 13 | arg: { |
| 14 | type: TYPE_STRUCT |
| 15 | predefined_type: "::android::hardware::contexthub::V1_0::ContextHubMsg" |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | api: { |
| 20 | name: "handleTxnResult" |
| 21 | arg: { |
| 22 | type: TYPE_SCALAR |
| 23 | scalar_type: "uint32_t" |
| 24 | } |
| 25 | arg: { |
| 26 | type: TYPE_ENUM |
| 27 | predefined_type: "::android::hardware::contexthub::V1_0::TransactionResult" |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | api: { |
| 32 | name: "handleHubEvent" |
| 33 | arg: { |
| 34 | type: TYPE_ENUM |
| 35 | predefined_type: "::android::hardware::contexthub::V1_0::AsyncEventType" |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | api: { |
| 40 | name: "handleAppAbort" |
| 41 | arg: { |
| 42 | type: TYPE_SCALAR |
| 43 | scalar_type: "uint64_t" |
| 44 | } |
| 45 | arg: { |
| 46 | type: TYPE_SCALAR |
| 47 | scalar_type: "uint32_t" |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | api: { |
| 52 | name: "handleAppsInfo" |
| 53 | arg: { |
| 54 | type: TYPE_VECTOR |
| 55 | vector_value: { |
| 56 | type: TYPE_STRUCT |
| 57 | predefined_type: "::android::hardware::contexthub::V1_0::HubAppInfo" |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | } |