diff options
author | Patty <plhuang@google.com> | 2022-04-19 12:19:45 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-04-19 12:19:45 +0000 |
commit | 679102b472e3006f0faa01c29ffb53318f28463f (patch) | |
tree | 76e73bbf4d29085b419ae9d8ab4772c95ecfe7ca | |
parent | 9ff9d34ed5c9565837c1b193e0822dc2d2bd552f (diff) | |
parent | c51a2b33d61456c776ace731dc12ae79499f3799 (diff) | |
download | interfaces-679102b472e3006f0faa01c29ffb53318f28463f.tar.gz |
Include EWP HAL 1.0 am: 60d600a2ee am: c51a2b33d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/interfaces/+/17607487
Change-Id: I2a6a26a053d20a3d06c6ea525bab10cb691a2636
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | bluetooth/ewp/1.0/Android.bp | 16 | ||||
-rw-r--r-- | bluetooth/ewp/1.0/IBluetoothEwp.hal | 37 |
2 files changed, 53 insertions, 0 deletions
diff --git a/bluetooth/ewp/1.0/Android.bp b/bluetooth/ewp/1.0/Android.bp new file mode 100644 index 0000000..a4c2e63 --- /dev/null +++ b/bluetooth/ewp/1.0/Android.bp @@ -0,0 +1,16 @@ +package { + // See: http://go/android-license-faq + default_applicable_licenses: ["Android-Apache-2.0"], +} + +hidl_interface { + name: "hardware.google.bluetooth.ewp@1.0", + root: "hardware.google", + srcs: [ + "IBluetoothEwp.hal", + ], + interfaces: [ + "android.hidl.base@1.0", + ], + gen_java: true, +}
\ No newline at end of file diff --git a/bluetooth/ewp/1.0/IBluetoothEwp.hal b/bluetooth/ewp/1.0/IBluetoothEwp.hal new file mode 100644 index 0000000..8355351 --- /dev/null +++ b/bluetooth/ewp/1.0/IBluetoothEwp.hal @@ -0,0 +1,37 @@ +/* + * Copyright 2022 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This is pixel only extension for Bluetooth HAL. + */ +package hardware.google.bluetooth.ewp@1.0; + +interface IBluetoothEwp { + /** + * API to enable Bluetooth Le Audio offload debugging mechanism. + * + * This API must be invoked whenever maximum Bluetooth Tx power need to + * changed for optimising performance purpose in SAR scenarios. + * + * @param event_mask The event mask for the EWP mechanism + */ + oneway EnableEwp(uint16_t event_mask); + + /** + * API to disable Bluetooth Le Audio offload debugging mechanism. + */ + oneway DisableEwp(); +}; |