mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-08 16:21:23 +00:00
This will prevent the interface from being updated with aidl-freeze-api. As the interface is for testing purpose, we really don't need to keep the latest ToT version and the latest stable version to be the same. Exempt that by adding the owner field to the interface. Bug: 188713899 Test: m Change-Id: I9a670f763c8f31f7c847f8ba8d4706efa075285e
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
aidl_interface {
|
|
// This is an example test interface showing how to add functionality
|
|
// with setExtension/getExtension
|
|
name: "android.hardware.tests.extension.vibrator",
|
|
vendor_available: true,
|
|
srcs: [
|
|
// Using android.hardware as the package because this is in
|
|
// hardware/interfaces. For custom interfaces, normally you
|
|
// would use a different package.
|
|
"android/hardware/tests/extension/vibrator/Directionality.aidl",
|
|
"android/hardware/tests/extension/vibrator/ICustomVibrator.aidl",
|
|
"android/hardware/tests/extension/vibrator/VendorEffect.aidl",
|
|
],
|
|
|
|
// This is agreeing to keep the interface stable.
|
|
stability: "vintf",
|
|
|
|
// This is a testing-purpose interface. Fine to use unstable version on REL platform.
|
|
owner: "test",
|
|
|
|
// This happens to use types from a core interface, so we import it, but
|
|
// this won't always be needed.
|
|
imports: [
|
|
"android.hardware.vibrator-V2",
|
|
],
|
|
|
|
backend: {
|
|
java: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
versions: ["1"],
|
|
}
|