Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 1 | aidl_interface { |
| 2 | // This is an example test interface showing how to add functionality |
| 3 | // with setExtension/getExtension |
Steven Moreland | 98ba8fb | 2020-01-06 13:40:51 -0800 | [diff] [blame^] | 4 | name: "test-android.hardware.vibrator-ext", |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 5 | vendor_available: true, |
| 6 | srcs: [ |
| 7 | // Using android.hardware as the package because this is in |
| 8 | // hardware/interfaces. For custom interfaces, normally you |
| 9 | // would use a different package. |
| 10 | "android/hardware/tests/extension/vibrator/Directionality.aidl", |
| 11 | "android/hardware/tests/extension/vibrator/ICustomVibrator.aidl", |
| 12 | "android/hardware/tests/extension/vibrator/VendorEffect.aidl", |
| 13 | ], |
| 14 | |
| 15 | // This is agreeing to keep the interface stable. |
| 16 | stability: "vintf", |
| 17 | |
| 18 | // This happens to use types from a core interface, so we import it, but |
| 19 | // this won't always be needed. |
| 20 | imports: [ |
Steven Moreland | 98ba8fb | 2020-01-06 13:40:51 -0800 | [diff] [blame^] | 21 | "android.hardware.vibrator", |
Steven Moreland | 8ba8c03 | 2019-11-18 16:23:39 -0800 | [diff] [blame] | 22 | ], |
| 23 | |
| 24 | backend: { |
| 25 | java: { |
| 26 | enabled: false, |
| 27 | }, |
| 28 | }, |
| 29 | } |