From 0bac86978134f47f782d08282b4d236da32fb8cb Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Fri, 26 Aug 2022 09:17:45 +0800 Subject: [PATCH] Move bt Compatibility matrix and some packages to gs-common Bug: 242661555 Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test Change-Id: Ib017fec169933739063762af1ca5e2be1ba42d58 --- bcmbt/bluetooth.mk | 8 ++++- bcmbt/compatibility_matrix.xml | 42 +++++++++++++++++++++++++ bcmbt/manifest_bluetooth.xml | 56 ++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 bcmbt/compatibility_matrix.xml create mode 100644 bcmbt/manifest_bluetooth.xml diff --git a/bcmbt/bluetooth.mk b/bcmbt/bluetooth.mk index 870467a..fd41363 100644 --- a/bcmbt/bluetooth.mk +++ b/bcmbt/bluetooth.mk @@ -1,2 +1,8 @@ -PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-service.bcmbtlinux +PRODUCT_SOONG_NAMESPACES += vendor/broadcom/bluetooth +PRODUCT_PACKAGES += \ + android.hardware.bluetooth@1.1-service.bcmbtlinux \ + bt_vendor.conf BOARD_SEPOLICY_DIRS += device/google/gs-common/bcmbt/sepolicy + +DEVICE_MANIFEST_FILE += device/google/gs-common/bcmbt/manifest_bluetooth.xml +DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/bcmbt/compatibility_matrix.xml diff --git a/bcmbt/compatibility_matrix.xml b/bcmbt/compatibility_matrix.xml new file mode 100644 index 0000000..ec47e35 --- /dev/null +++ b/bcmbt/compatibility_matrix.xml @@ -0,0 +1,42 @@ + + + hardware.google.bluetooth.ccc + 1.1 + + IBluetoothCcc + default + + + + hardware.google.bluetooth.bt_channel_avoidance + 1.0 + + IBTChannelAvoidance + default + + + + hardware.google.bluetooth.sar + 1.1 + + IBluetoothSar + default + + + + hardware.google.bluetooth.ext + 1.0 + + IBluetoothExt + default + + + + hardware.google.bluetooth.ewp + 1.0 + + IBluetoothEwp + default + + + diff --git a/bcmbt/manifest_bluetooth.xml b/bcmbt/manifest_bluetooth.xml new file mode 100644 index 0000000..64238c7 --- /dev/null +++ b/bcmbt/manifest_bluetooth.xml @@ -0,0 +1,56 @@ + + + android.hardware.bluetooth + hwbinder + 1.1 + + IBluetoothHci + default + + + + hardware.google.bluetooth.bt_channel_avoidance + hwbinder + 1.0 + + IBTChannelAvoidance + default + + + + hardware.google.bluetooth.sar + hwbinder + 1.1 + + IBluetoothSar + default + + + + hardware.google.bluetooth.ext + hwbinder + 1.0 + + IBluetoothExt + default + + + + hardware.google.bluetooth.ccc + hwbinder + 1.1 + + IBluetoothCcc + default + + + + hardware.google.bluetooth.ewp + hwbinder + 1.0 + + IBluetoothEwp + default + + +