platform_hardware_interfaces/vibrator/aidl/Android.bp
Steven Moreland 0385dac9fc example vendor app
see comments added in code and Android.bp

We don't have examples of a common Android ecosystem usecase, so
I'm adding one here.

Bug: 227289255
Test: after sepolicy + PRODUCT_PACKAGES:
    11-19 03:14:27.460   488   488 I android.hardware.vibrator-service.example: Vibrator on for timeoutMs: 100
Change-Id: Iee430d85e23c6c8f771dc5aa77bff9be1a91f080
2022-11-19 03:35:37 +00:00

27 lines
687 B
Text

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 {
name: "android.hardware.vibrator",
vendor_available: true,
host_supported: true,
srcs: [
"android/hardware/vibrator/*.aidl",
],
stability: "vintf",
backend: {
java: {
sdk_version: "system_current",
},
},
versions: [
"1",
"2",
],
}