1aidl_interface { 2 // This is an example test interface showing how to add functionality 3 // with setExtension/getExtension 4 name: "android.hardware.tests.extension.vibrator", 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: [ 21 "android.hardware.vibrator", 22 ], 23 24 backend: { 25 java: { 26 enabled: false, 27 }, 28 }, 29 versions: ["1"], 30} 31