diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-09-29 23:02:39 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-09-29 23:02:39 +0000 |
commit | a7b3e6e8dcf068879ad20ec066470a81f38c696a (patch) | |
tree | 5d7dec0db008549acb25eef0edb1dc8b1e148e00 | |
parent | 821d29585d522e52e125a04caece8121d82fbcbf (diff) | |
parent | 3c2f131b08ed9784186004dbbe05d8cb1d52d123 (diff) | |
download | goldfish-android13-qpr1-s7-release.tar.gz |
Snap for 9121707 from 3c2f131b08ed9784186004dbbe05d8cb1d52d123 to tm-qpr1-releaseandroid-13.0.0_r30android-13.0.0_r29android-13.0.0_r28android-13.0.0_r27android-13.0.0_r24android-13.0.0_r23android-13.0.0_r22android-13.0.0_r21android-13.0.0_r20android-13.0.0_r19android-13.0.0_r18android-13.0.0_r17android-13.0.0_r16android13-qpr1-s8-releaseandroid13-qpr1-s7-releaseandroid13-qpr1-s6-releaseandroid13-qpr1-s5-releaseandroid13-qpr1-s4-releaseandroid13-qpr1-s3-releaseandroid13-qpr1-s2-releaseandroid13-qpr1-s1-releaseandroid13-qpr1-release
Change-Id: I13b0d515113fd668e7c2ea9538ac69f64ed60c7c
-rw-r--r-- | 64bitonly/product/vendor.mk | 6 | ||||
-rw-r--r-- | bluetooth.prop | 35 | ||||
-rw-r--r-- | vendor.mk | 4 |
3 files changed, 43 insertions, 2 deletions
diff --git a/64bitonly/product/vendor.mk b/64bitonly/product/vendor.mk index b148f405..fa03784f 100644 --- a/64bitonly/product/vendor.mk +++ b/64bitonly/product/vendor.mk @@ -90,12 +90,16 @@ PRODUCT_PACKAGES += \ libGLESv2_angle endif +# # Enable bluetooth PRODUCT_PACKAGES += \ bt_vhci_forwarder \ android.hardware.bluetooth@1.1-service.btlinux \ android.hardware.bluetooth.audio@2.1-impl - # + +# Bluetooth hardware properties. +TARGET_PRODUCT_PROP := $(LOCAL_PATH)/../../bluetooth.prop + # Bluetooth se policies BOARD_SEPOLICY_DIRS += system/bt/vendor_libs/linux/sepolicy diff --git a/bluetooth.prop b/bluetooth.prop new file mode 100644 index 00000000..0b2ef7a9 --- /dev/null +++ b/bluetooth.prop @@ -0,0 +1,35 @@ +# Set the Bluetooth Class of Device +# Service Field: 0x5A -> 90 +# Bit 17: Networking +# Bit 19: Capturing +# Bit 20: Object Transfer +# Bit 22: Telephony +# MAJOR_CLASS: 0x02 -> 2 (Phone) +# MINOR_CLASS: 0x0C -> 12 (Smart Phone) +bluetooth.device.class_of_device=90,2,12 + +# Set supported Bluetooth profiles to enabled + +# Disable asha profile as it will disable +# the cts-verifier multi advertising tests (b/249536741) +# bluetooth.profile.asha.central.enabled=true + +bluetooth.profile.a2dp.source.enabled=true +bluetooth.profile.avrcp.target.enabled=true +bluetooth.profile.bap.broadcast.assist.enabled=true +bluetooth.profile.bap.unicast.client.enabled=true +bluetooth.profile.bas.client.enabled=true +bluetooth.profile.ccp.server.enabled=true +bluetooth.profile.csip.set_coordinator.enabled=true +bluetooth.profile.gatt.enabled=true +bluetooth.profile.hap.client.enabled=true +bluetooth.profile.hfp.ag.enabled=true +bluetooth.profile.hid.device.enabled=true +bluetooth.profile.hid.host.enabled=true +bluetooth.profile.map.server.enabled=true +bluetooth.profile.mcp.server.enabled=true +bluetooth.profile.opp.enabled=true +bluetooth.profile.pan.nap.enabled=true +bluetooth.profile.pan.panu.enabled=true +bluetooth.profile.pbap.server.enabled=true +bluetooth.profile.vcp.controller.enabled=true @@ -93,7 +93,9 @@ PRODUCT_PACKAGES += \ bt_vhci_forwarder \ android.hardware.bluetooth@1.1-service.btlinux \ android.hardware.bluetooth.audio@2.1-impl - # + +TARGET_PRODUCT_PROP := $(LOCAL_PATH)/bluetooth.prop + # Bluetooth se policies BOARD_SEPOLICY_DIRS += system/bt/vendor_libs/linux/sepolicy |