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" |
| 8 | |
| 9 | interface: { |
| 10 | api: { |
| 11 | name: "handleClientMsg" |
| 12 | arg: { |
| 13 | type: TYPE_STRUCT |
| 14 | predefined_type: "::android::hardware::contexthub::V1_0::ContextHubMsg" |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | api: { |
| 19 | name: "handleTxnResult" |
| 20 | arg: { |
| 21 | type: TYPE_SCALAR |
| 22 | scalar_type: "uint32_t" |
| 23 | } |
| 24 | arg: { |
| 25 | type: TYPE_ENUM |
| 26 | predefined_type: "::android::hardware::contexthub::V1_0::TransactionResult" |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | api: { |
| 31 | name: "handleHubEvent" |
| 32 | arg: { |
| 33 | type: TYPE_ENUM |
| 34 | predefined_type: "::android::hardware::contexthub::V1_0::AsyncEventType" |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | api: { |
| 39 | name: "handleAppAbort" |
| 40 | arg: { |
| 41 | type: TYPE_SCALAR |
| 42 | scalar_type: "uint64_t" |
| 43 | } |
| 44 | arg: { |
| 45 | type: TYPE_SCALAR |
| 46 | scalar_type: "uint32_t" |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | api: { |
| 51 | name: "handleAppsInfo" |
| 52 | arg: { |
| 53 | type: TYPE_VECTOR |
| 54 | vector_value: { |
| 55 | type: TYPE_STRUCT |
| 56 | predefined_type: "::android::hardware::contexthub::V1_0::HubAppInfo" |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | } |