Commit graph

28 commits

Author SHA1 Message Date
kuanyuhuang
edce5a7940 Add audio Spatializer and support OPUS codec
Add spatializer, immersive playback and OPUS codec at audio config.
Enable Spatializer and Bluetooth OPUS codec.

Bug: 261660037
Test: play dynamic spatial audio content
Change-Id: I8b25eacdd804017a882b26cab13be69d403b6dc9
2023-06-30 03:04:48 +00:00
shihchienc
2ad5dd024f Enable superwide band system property
As the change of init feature flag on swb is ready, we will open
swb on those devices that supports this feature with more flexibility
since wiping sys property could be done at android regular releases
as enabling feature flag on server make it more flexible on schedule.

Test: manual
Bug: 283722412
Change-Id: Id5a75649c47ad826bb3d624ea68d4200c9ffe118
2023-05-22 06:27:16 +00:00
shihchienc
0e7d866949 [SWB] Disable super wideband
Disable SWB by setting system property

Tag: #feature
Bug: 281957936
Test: flash devices and check property
Change-Id: Ic2966a4ef1758a5b5f4feffba1328aabeffa40dd
2023-05-11 08:52:28 +00:00
shihchienc
bf23d4c932 [SWB] Enable super wideband
Enable SWB by setting system property

Tag: #feature
Bug: 277338500
Test: flash devices and check property
Change-Id: I4862bf8ddbd9f9f34d8588bc6068f0dc6baff399
2023-04-19 06:27:29 +00:00
Sal Savage
45ff87c8c7 Use the ?= operator for assignment to avoid downstream assignment errors
Using the = operator makes it so no one else can assign the system
property anymore. Other build targets downstream do try to set these
properties explicitly to false. Since no one sets the property before,
we can use the ?= operator to apply the values, which still allows other
makefiles downstream the chance to the change the value.

Bug: 274950131
Test: m
Change-Id: I113da6efefccef562bb13cb73087e4b5c7eca453
2023-03-23 19:54:52 +00:00
shihchienc
d6bfb33f78 Default enable LE Audio on T6Pro
1. Default enable LE Audio unicast on android U.
2.Enable LE Audio switcher flag(for developer option)

Bug: 273872420
Test: LE Audio unicast related services are all enabled by default
Test: Media & Phone call can stream via LE Audio SW path
Change-Id: I1f8a643fcf691253dd58043c300b1e65ace09eb0
2023-03-16 08:16:31 +00:00
kuanyuhuang
31f1eb43f1 Bluetooth: update US/CA SAR tables am: 9a6261a19e am: 94cbfe9ad1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/21466705

Change-Id: I756ab80fe3c9a21f65053a56454f93fc8900fe7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 08:45:44 +00:00
kuanyuhuang
9a6261a19e Bluetooth: update US/CA SAR tables
Because original EDR max power limit was too high that BT chip whould
not achieve to, reduce power limit to fix power control issue.
Update US/CA Bluetooth SAR tables.

Test: RF team test with BT firmware v0060.1036
Bug: 264631351
Change-Id: I5d71b167ed65b982b2a7707462de85380a26bba8
2023-02-17 02:26:18 +00:00
Tom Huang
f1fffd57f7 Merge "Bluetooth: update SAR tables" into tm-qpr-dev am: c8312305bb am: 8b9190ecda
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20953526

Change-Id: I49f00f9f3e401e79ca34a9ece52d691090280af8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 03:38:35 +00:00
kuanyuhuang
c760f7a8a1 Bluetooth: update SAR tables
Reduced BLE power to 3.5dBm for US/CA due to FCC bandedge limit.
Boost EDR power by 2dB for EU/JP/WW to meet expected power.

Test: RF team test
Bug: 264631351
Change-Id: Id1004036108f5ff282f8c84c998915bc74f685ec
2023-02-10 05:32:52 +00:00
Tom Huang
3a37efcf35 Merge "Bluetooth: add BT SAR tables" into tm-qpr-dev am: 7fb3efe189 am: 1e1e5a6a4d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20895162

Change-Id: Ibd1de958075442eae9f28ab7306fdb94f1c57441
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-07 08:39:56 +00:00
Tom Huang
7fb3efe189 Merge "Bluetooth: add BT SAR tables" into tm-qpr-dev 2023-01-07 07:26:03 +00:00
kuanyuhuang
291e1c2ea3 Bluetooth: add BT SAR tables
Bluetooth SAR tables are for setting tx power of Bluetooth

Bug: 264631351
Test: build and check log of reading SAR table
Change-Id: I0025c9328b4b6b0b290909fe7a70a36975e3817a
2023-01-06 14:07:54 +00:00
jonerlin
560830597f Bluetooth: remove unsupported feature IBluetoothCcc settings
Bug: 245445796
Test: Manual + atest vts_treble_vintf_vendor_test
Change-Id: If7b54dcf5f76cbae8662f7e5117fedbe41e26ea1
Merged-In: If7b54dcf5f76cbae8662f7e5117fedbe41e26ea1
2022-12-27 07:09:39 +00:00
Himanshu Rawat
569fc5fe18 Disable unsupported BT profiles am: 809d0d74ff am: cf3be35d6d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20705025

Change-Id: I7a1b239f5f6b89ea3b7d1148abe1db823ed90827
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 10:14:35 +00:00
Himanshu Rawat
809d0d74ff Disable unsupported BT profiles
PBAP server, MAP server and SAP server roles are not supported on the
TangorPro

Bug: 262203491
Test: adb shell getprop bluetooth.profile.map.server.enabled; adb shell
getprop bluetooth.profile.pbap.server.enabled; adb shell getprop
bluetooth.profile.sap.server.enabled

Change-Id: I90d965ea77d015077bad844a8d377254c4e2a886
2022-12-15 03:27:13 +00:00
Poompatai Puntitpong
496eaa2c80 Merge "bt: change bluetooth.uart.port property to soong config property this property is also tied to vendor partition usage" into tm-qpr-dev am: 6fe695d0eb am: c11287b7a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20636751

Change-Id: I36fb9820edc154ad3b681b94368f1c3bfcab704b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 04:23:54 +00:00
Poompatai Puntitpong
66129c918e bt: change bluetooth.uart.port property to soong config property
this property is also tied to vendor partition usage

Bug: 245439217
Test: pass VtsHalBluetoothV1_0TargetTest
Change-Id: I9eb8b321866c0de182a9f0287ed0eb448dd05e07
2022-12-14 02:42:18 +00:00
jonerlin
7b08fd04aa Bluetooth: remove unsupported feature IBluetoothCcc related settings
Bug: 245445796
Test: Manually
Change-Id: If7b54dcf5f76cbae8662f7e5117fedbe41e26ea1
2022-09-20 22:18:58 +08:00
Adam Shih
9de7afb502 get bt permission xml to gs-common
Bug: 242661555
Test: connect to bluetooth
Change-Id: I3238b1442e7f3c7bcb99f5826e545c271a27b789
2022-09-14 09:57:10 +08:00
Adam Shih
8f315e822f Merge "isolate tangorpro from broadcom bt settings" 2022-09-07 22:59:50 +00:00
Adam Shih
45a8852616 isolate tangorpro from broadcom bt settings
Bug: 242661555
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I7665d750e101c74cfcdef732dbccdd9341629509
2022-08-29 10:19:39 +08:00
Himanshu Rawat
99c90cbdc4 Revert "Disable A2DP hardware offload"
This reverts commit c0bced1a2b.

Reason for revert: ag/19586826 has enabled the A2DP hardware offload in the firmware

Change-Id: I2957d3c963c0151396481bb5525f57970d88e651
2022-08-17 04:43:35 +00:00
Himanshu Rawat
c0bced1a2b Disable A2DP hardware offload
A2DP hardware offload is not supported by the Synaptics at present.

Bug: 239004641
Test: Start A2DP streaming with AAC or SBC codec
Change-Id: I3e37b249b7a44c41d896f65b002486aa5f510d0d
2022-07-21 06:01:38 +00:00
Himanshu Rawat
8b6b42d7f3 Synaptics Bluetooth A/B firmware update feature
Added property persist.bluetooth.firmware.selection to select the target firmware.

Bug: 238605176
Test: adb shell "setprop persist.bluetooth.firmware.selection BTFW_B.hcd"
Change-Id: I419a4152833ee31cc4b18c3e014a723f63b74aa0
2022-07-11 12:23:51 +00:00
Himanshu Rawat
cd99ec465b T6Pro Bluetooth bringup
Remove QCOM BT flags with those for Synaptics
Add Synaptics BTHAL in the product package

Bug: 224685891
Test: Manual
Change-Id: I1cd1a56ce842c02a593cd28cbb55973cd4365522
2022-06-14 06:59:35 +00:00
Sam Dubey
b75cbf1a49 Switch BluetoothCcc to 1.1 version
Follow up on I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
Bug: 230449916
Change-Id: I7597e7b6598b0887b1e67e7c1686d434bafa780c
2022-04-26 13:16:11 +00:00
Roger Liao
dd5f546264 Add device tangorpro
based on two sources:
1. 52e030ecef8a2debcd0a7cebb0b2cddc50e8e4e6
(ChangeId: Ieba6a75fe45595592c61dc5ad4e0c723adccaf35)
2. 3164f3d31b1197f305d968027f2e6f18663f1382
(ChangeId: Ic517f1cd5462f3653de3742834ec251362e7849d)

No-Typo-Check: based on above commit

Bug: 220073297
Change-Id: I244f73dc8485045e1bc4605a2701a1e4d32139b0
2022-03-09 19:30:09 +08:00