Tri Vo | eafb90c | 2016-10-17 15:48:29 -0700 | [diff] [blame] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "IVibrator" |
| 4 | |
| 5 | package: "android.hardware.vibrator" |
| 6 | |
| 7 | import: "android.hardware.vibrator@1.0::types" |
Zhuoyao Zhang | 3bef939 | 2017-02-13 18:03:06 -0800 | [diff] [blame] | 8 | import: "android.hidl.base@1.0::types" |
Tri Vo | eafb90c | 2016-10-17 15:48:29 -0700 | [diff] [blame] | 9 | |
| 10 | interface: { |
| 11 | api: { |
| 12 | name: "on" |
| 13 | return_type_hidl: { |
| 14 | type: TYPE_ENUM |
Zhuoyao Zhang | 0d0a5ea | 2016-10-26 13:28:51 -0700 | [diff] [blame] | 15 | predefined_type: "::android::hardware::vibrator::V1_0::Status" |
Tri Vo | eafb90c | 2016-10-17 15:48:29 -0700 | [diff] [blame] | 16 | } |
| 17 | arg: { |
| 18 | type: TYPE_SCALAR |
| 19 | scalar_type: "uint32_t" |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | api: { |
| 24 | name: "off" |
| 25 | return_type_hidl: { |
| 26 | type: TYPE_ENUM |
Zhuoyao Zhang | 0d0a5ea | 2016-10-26 13:28:51 -0700 | [diff] [blame] | 27 | predefined_type: "::android::hardware::vibrator::V1_0::Status" |
Tri Vo | eafb90c | 2016-10-17 15:48:29 -0700 | [diff] [blame] | 28 | } |
| 29 | } |
| 30 | |
| 31 | } |