xref: /aosp_15_r20/hardware/interfaces/tests/extension/vibrator/aidl/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10aidl_interface {
11    // This is an example test interface showing how to add functionality
12    // with setExtension/getExtension
13    name: "android.hardware.tests.extension.vibrator",
14    vendor_available: true,
15    srcs: [
16        // Using android.hardware as the package because this is in
17        // hardware/interfaces. For custom interfaces, normally you
18        // would use a different package.
19        "android/hardware/tests/extension/vibrator/Directionality.aidl",
20        "android/hardware/tests/extension/vibrator/ICustomVibrator.aidl",
21        "android/hardware/tests/extension/vibrator/VendorEffect.aidl",
22    ],
23
24    // This is agreeing to keep the interface stable.
25    stability: "vintf",
26
27    // This is a testing-purpose interface. Fine to use unstable version on REL platform.
28    owner: "test",
29
30    // This happens to use types from a core interface, so we import it, but
31    // this won't always be needed.
32    imports: [
33        "android.hardware.vibrator-V2",
34    ],
35
36    backend: {
37        java: {
38            enabled: false,
39        },
40        ndk: {
41            enabled: true,
42        },
43        cpp: {
44            enabled: false,
45        },
46        rust: {
47            enabled: false,
48        },
49    },
50    frozen: true,
51    versions_with_info: [
52        {
53            version: "1",
54            imports: ["android.hardware.vibrator-V2"],
55        },
56    ],
57}
58