Files
hardware_interfaces/vibrator/aidl/Android.bp
Lais Andrade a3c332f5ff Introduce IVibrator.performVendorEffect
Introduce HAL API to perform vibration effects defined by the vendor.

The new API accepts a PersistableBundle representing the effect and some
platform-provided parameters, e.g. EffectStrength and scale.

The callback support for completion is required for this API, since
effect duration is undefined.

Fix: 345409060
Test: VtsHalVibratorTargetTest
Flag: EXEMPT HAL interface change
Change-Id: I26379ede4b64e41e1fc85feae6de5105cb636511
2024-07-18 15:26:26 +01:00

48 lines
1.1 KiB
Plaintext

package {
default_team: "trendy_team_haptics_framework",
// 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",
],
headers: [
"PersistableBundle_aidl",
],
stability: "vintf",
backend: {
java: {
sdk_version: "system_current",
},
ndk: {
enabled: true,
},
cpp: {
enabled: false,
},
rust: {
enabled: false,
},
},
versions_with_info: [
{
version: "1",
imports: [],
},
{
version: "2",
imports: [],
},
],
frozen: false,
}