Steven Moreland | bf0b586 | 2016-11-16 09:02:17 -0800 | [diff] [blame^] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 2.0 |
| 3 | component_name: "ILight" |
| 4 | |
| 5 | package: "android.hardware.light" |
| 6 | |
| 7 | import: "android.hardware.light@2.0::types" |
| 8 | |
| 9 | interface: { |
| 10 | api: { |
| 11 | name: "setLight" |
| 12 | return_type_hidl: { |
| 13 | type: TYPE_ENUM |
| 14 | predefined_type: "::android::hardware::light::V2_0::Status" |
| 15 | } |
| 16 | arg: { |
| 17 | type: TYPE_ENUM |
| 18 | predefined_type: "::android::hardware::light::V2_0::Type" |
| 19 | } |
| 20 | arg: { |
| 21 | type: TYPE_STRUCT |
| 22 | predefined_type: "::android::hardware::light::V2_0::LightState" |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | api: { |
| 27 | name: "getSupportedTypes" |
| 28 | return_type_hidl: { |
| 29 | type: TYPE_VECTOR |
| 30 | vector_value: { |
| 31 | type: TYPE_ENUM |
| 32 | predefined_type: "::android::hardware::light::V2_0::Type" |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | } |