• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    },
41    frozen: true,
42    versions_with_info: [
43        {
44            version: "1",
45            imports: ["android.hardware.vibrator-V2"],
46        },
47    ],
48}
49