isolate tangorpro from broadcom bt settings

Bug: 242661555
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I7665d750e101c74cfcdef732dbccdd9341629509
This commit is contained in:
Adam Shih 2022-08-29 10:19:39 +08:00
parent 55ae02cd0e
commit 45a8852616
7 changed files with 46 additions and 49 deletions

View file

@ -30,5 +30,5 @@ PRODUCT_MODEL := AOSP on Tangorpro
PRODUCT_BRAND := Android PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google PRODUCT_MANUFACTURER := Google
DEVICE_MANIFEST_FILE := \ DEVICE_MANIFEST_FILE += \
device/google/tangorpro/manifest.xml device/google/tangorpro/manifest.xml

View file

@ -0,0 +1,35 @@
<compatibility-matrix version="1.0" type="framework" level="7">
<hal format="hidl" optional="true">
<name>hardware.google.bluetooth.bt_channel_avoidance</name>
<version>1.0</version>
<interface>
<name>IBTChannelAvoidance</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>hardware.google.bluetooth.sar</name>
<version>1.1</version>
<interface>
<name>IBluetoothSar</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>hardware.google.bluetooth.ext</name>
<version>1.0</version>
<interface>
<name>IBluetoothExt</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>hardware.google.bluetooth.ccc</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothCcc</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>

View file

@ -35,4 +35,13 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>hardware.google.bluetooth.ext</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBluetoothExt</name>
<instance>default</instance>
</interface>
</hal>
</manifest> </manifest>

View file

@ -17,6 +17,7 @@
# Bluetooth HAL and Pixel extension # Bluetooth HAL and Pixel extension
DEVICE_MANIFEST_FILE += \ DEVICE_MANIFEST_FILE += \
device/google/tangorpro/bluetooth/manifest_bluetooth.xml device/google/tangorpro/bluetooth/manifest_bluetooth.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/tangorpro/bluetooth/device_framework_matrix_product.xml
BOARD_SEPOLICY_DIRS += device/google/tangorpro-sepolicy/bluetooth BOARD_SEPOLICY_DIRS += device/google/tangorpro-sepolicy/bluetooth
PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-service.synabtlinux PRODUCT_PACKAGES += android.hardware.bluetooth@1.1-service.synabtlinux
# Bluetooth SAR test tools # Bluetooth SAR test tools

View file

@ -39,7 +39,6 @@ DISABLE_SENSOR_BARO_PROX_HIFI := true
include device/google/tangorpro/audio/tangorpro/audio-tables.mk include device/google/tangorpro/audio/tangorpro/audio-tables.mk
include device/google/gs201/device-shipping-common.mk include device/google/gs201/device-shipping-common.mk
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/tangorpro/device_framework_matrix_product.xml
$(call soong_config_set,lyric,tuning_product,cloudripper) $(call soong_config_set,lyric,tuning_product,cloudripper)
$(call soong_config_set,google3a_config,target_device,cloudripper) $(call soong_config_set,google3a_config,target_device,cloudripper)

View file

@ -1,11 +0,0 @@
<compatibility-matrix version="1.0" type="framework" level="7">
<hal format="hidl">
<name>hardware.google.bluetooth.ccc</name>
<version>1.1</version>
<interface>
<name>IBluetoothCcc</name>
<instance>default</instance>
</interface>
</hal>
</compatibility-matrix>

View file

@ -84,15 +84,6 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothHci</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.bluetooth.audio</name> <name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport> <transport>hwbinder</transport>
@ -131,33 +122,6 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>hardware.google.bluetooth.bt_channel_avoidance</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBTChannelAvoidance</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>hardware.google.bluetooth.sar</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothSar</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>hardware.google.bluetooth.ccc</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBluetoothCcc</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl"> <hal format="hidl">
<name>vendor.google.whitechapel.audio.audioext</name> <name>vendor.google.whitechapel.audio.audioext</name>
<transport>hwbinder</transport> <transport>hwbinder</transport>