Commit graph

39 commits

Author SHA1 Message Date
Gaurav Sarode
bcf427acd6 Lynx: Fix configs for google_car varient
Fixed screen density and bt configs for google_car target

bug: 273813426
Test: Local check
Change-Id: I292a071d6325121f884634d0661c8467a2635fe7
2023-03-23 21:21:12 +00:00
Patty Huang
bb31c3775b Enable LE Audio unicast by default on android U
Bug: 265225257
Test: LE Audio unicast related services are all enabled by default
Change-Id: Iec837ebd864699874e2d84a732275fcc0d1c5f97
2023-03-03 09:57:05 +00:00
Patty Huang
8bace53a5e Add broadcast offload capability
Tag: #feature
Bug: 242472419
Test: make build

Change-Id: I1771f62fed9273e39dcfa4132e0286d20dba69aa
2023-02-07 08:43:02 +00:00
Vic Huang
6be0faee36 Update BT SAR tables am: 4a8db554ac am: 1fdfa6899e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20939587

Change-Id: I2f1fee17cea2306a7efd00cf56c2042361820a37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-16 08:23:43 +00:00
Vic Huang
4a8db554ac Update BT SAR tables
According to the latest certification results, the CE BT ANT3
maximum power tuning table is reduced by 1dB. Modify the all
SAR table to meet regulatory restrictions and devices tolerances

Bug: 265098625
Test: RF verified
Change-Id: I5a47f9173a487f042dd244bc4d2801abae651d30
2023-01-16 07:19:01 +00:00
Vic Huang
13f814b058 Set flag to drop bytes before SSR crash dump am: 2c5b0e187c am: 66923b1200
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20843488

Change-Id: Ia7db8a13105f8c2c552e7f98ab454b7e625b82ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-03 11:33:04 +00:00
Vic Huang
2c5b0e187c Set flag to drop bytes before SSR crash dump
Control if drop all redundant bytes until get the SOC dump packet

Bug: 263832832
Test: local build verified
Change-Id: I7c5b22f957c8339eec865344c31899e0406e67e4
2023-01-03 10:05:17 +00:00
Patty Huang
ba96230fb1 Disable LE Audio unicast & broadcast by default am: f976ad7424 am: ff16e04c1e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20271172

Change-Id: Ib3fbe307ca3018cdda34fc767c1cf59863c2f1b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 09:22:11 +00:00
Patty Huang
f976ad7424 Disable LE Audio unicast & broadcast by default
Bug: 253951174
Test: LE Audio related services are all disabled by default
Test: Enable LE Audio realted services by devleoper options

Change-Id: I1ef4d2271769a3c343e4da07133d6941e456a47f
2022-12-27 08:10:44 +00:00
Vic Huang
df51603812 [L10]Update BT SAR tables for different SKUs/countries am: caa58b6e1e am: 6686a44b61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20579154

Change-Id: I851a89f4c4316d14722751979cb684aa1eee8b01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 17:08:12 +00:00
Vic Huang
caa58b6e1e [L10]Update BT SAR tables for different SKUs/countries
Bug: 259198345
Test: Manual test and RF verify pass
Change-Id: I2295ba998811ffcb223782516c18a8ffea523d91
2022-12-02 15:52:36 +00:00
shihchienc
fc21e4477f Change config path for LE Audio Capabilities file am: c738410d1b am: 19c053c790
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20020946

Change-Id: Ifa8376f3c2c1b4d1564ff29512442eccc83f8fbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 10:07:53 +00:00
shihchienc
c738410d1b Change config path for LE Audio Capabilities file
Since there is no different setting for sub project under same prohject,
we will change the setting file from `bluetooth/project/` to
`bluetooth/` to simplify the file structure.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: Icf39d92526713df717c73acffbaee541058a3fd2
2022-10-11 09:00:59 +00:00
Patty Huang
9923b01760 Apply the workaround for the CIS->SCO handover am: 48a8251b5a am: eeaa7e233d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20061648

Change-Id: I6c8c49a64a58a8b0cf7d93833df7ebd639abd6a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-30 05:19:00 +00:00
Patty Huang
48a8251b5a Apply the workaround for the CIS->SCO handover
Set the system property persist.bluetooth.leaudio.notify.idle.during.call
to true to receive the notification when LeAudio group turned idle

Bug: 244524929
Bug: 244391698
Test: Switch LE Audio device to HFP device during phone call, and make sure the HFP device can hear sound.
Change-Id: I0a0ad4ef97e61deb528c6f8180317bda8b2512be
2022-09-30 03:59:58 +00:00
Cheney Ni
c65bcc08c4 Bluetooth: Built-in SAR tool if supporting SAR HAL am: 7daee8149e am: 0b4bd5da0e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19975515

Change-Id: Iaedf4aca90327f467ca030fff77573db5a5e73c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 02:22:18 +00:00
Cheney Ni
7daee8149e Bluetooth: Built-in SAR tool if supporting SAR HAL
Bug: 247430516
Test: Pass Android build
Change-Id: I8e5510dfee461904fa5438dfc6890fb1fe6b7a5f
2022-09-21 08:46:51 +00:00
shihchienc
500b20b52d Add by project le audio offload capabilities config file am: cfad191e5a am: e8f6ea6687
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19949508

Change-Id: I2fc12d8e21c39cfa28bd1b94f6712ab7b973a851
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-19 16:00:22 +00:00
shihchienc
cfad191e5a Add by project le audio offload capabilities config file
We create by project offload capabilities config file to make each
project have its own customized default device offload capabilities.

Bug: 238983662
Test: make sure file added in config folder can be copied into devices
Change-Id: I517ad3db7d60e1fd8647561387cebd9524fe4f2f
2022-09-19 14:40:49 +00:00
Adam Shih
3419c3ab71 get bt permission xml to gs-common
Bug: 242661555
Test: connect to bluetooth
Change-Id: Ia97108643deae4faa3b8340c57fc5853e249e67c
2022-09-15 01:18:08 +00:00
Adam Shih
5c7f6e3012 isolate qcom bt settings
Bug: 242661555
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: Ibb6c1dde68c7e6fc2c97a16d61357911cb3b3530
2022-09-07 22:59:46 +00:00
Cheney Ni
738f85f5b0 Bluetooth: OOBS enabling
Bug: 203079726
Test: Pass Bluetooth ON / OFF and manual tests
Change-Id: I02d2240148b52d71ff2026e247d2803f32b5b344
2022-08-25 10:27:57 +00:00
Adam Shih
efa52cece3 Remove AIDL support on IBluetoothCcc
Bug: 239658601
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: Ib0634920e60e58db5e0fc70a4d16afef5ba80a0f
2022-08-03 09:21:49 +00:00
Cheney Ni
4cf2cbd78f Bluetooth: Fix broken builds by no such file
Using full path name instead of $(LOCAL_PATH)

Bug: 240249614
Test: Build Pass
Change-Id: I83c9ceb2c628b9f7a28315c7c2af3a1e26232565
2022-07-26 20:50:12 +08:00
Cheney Ni
ec385d24c9 Bluetooth: Preliminary BT SAR table for dogfood
Bug: 239899228
Test: Pass SAR manually tests
Change-Id: Id75818fc7ed844c837e5be2cf4e0ee4b8eabd087
2022-07-26 08:57:31 +00:00
Patty Huang
872990b748 Enable LE Audio and A2DP offload by default
* Enable LE Audio Offload
* Enable A2DP offload
* Move the LE Audio setting to bluetooth/qti_default.mk

Bug: 235311609
Test: Manual, make sure the le audio and A2dp offload is enabled by default

Change-Id: I943837579331952ece3b860b08527d0e812766c5
2022-06-30 08:44:37 +00:00
Cheney Ni
d116a1212c Bluetooth: Enable AAC VBR by default
AAC VBR is more preferred than CBR for A2DP playback. This also moves
those A2DP system properties into the product partition.

Bug: 112325138
Test: dumpsys bluetooth_manager
Change-Id: I4496d44309faa805059147166c681777c59c4566
2022-06-22 08:57:48 +00:00
Cheney Ni
31019e12e1 BluetoothSar: Support SAR version 1.1
Add build flag: TARGET_USE_QTI_BT_SAR_V1_1 to control IBluetoothSar @1.1

Bug: 203055537
Test: bluetooth_sar_test
Change-Id: I81f79d08ad92d2b393d438739640f051e94d0426
2022-06-15 07:34:47 +00:00
Cheney Ni
006ea2415e Bluetooth: Don't enable OOBS before NVM ready
Bug: 202091533
Test: Turn on Bluetooth without OOBS NVM
Change-Id: Id85e896a0c9663311c55a7975b94fa5a8081d6eb
2022-05-26 06:57:34 +00:00
Sam Dubey
9fc18e2b5d Switch BluetoothCcc to 1.1 version
Follow up on I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
Bug: 230449916
Change-Id: Idf19917c60077d01f9b78ac39d602a8278a5280e
2022-04-26 13:16:24 +00:00
Cheney Ni
7d4c43f5fc Bluetooth: Adds more debugging properties
Set vendor properties about SoC logging and firmware snoop to true on
userdebug build, and set to false under user build.

Bug: 229691092
Test: Flash the build to check if there is SoC logging
Change-Id: Idaf490a68fe5fbefb1338f351931553222191137
2022-04-20 13:49:01 +00:00
Cheney Ni
e02c9bb086 Bluetooth: disable IBS low power control
Bug: 202113218
Test: pass Bluetooth HAL log check
Change-Id: Ia3d1435ab2cba8c48c0162179bb43b2101b7e5df
2022-01-19 20:04:25 +08:00
Cheney Ni
3da8ff16ce Bluetooth: update the HAL to be IBluetoothHci @1.1
A build flag TARGET_BLUETOOTH_HCI_V1_1 to control the implementation version

Bug: 202113218
Test: pass Bluetooth ON / OFF manually test
Change-Id: I42b8e9fede9c38c51a6498df52f514f0841fca17
2022-01-10 08:21:23 +00:00
Cheney Ni
c2b43ffd7f Bluetooth: disable A2DP offloading temporarily
It does not support the A2DP offloading yet.

Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I998b9fe75c4901a18eec667b6f7e9417297dd53d
2022-01-07 12:16:46 +00:00
Cheney Ni
ba4454c5f7 Bluetooth: control A2DP capabilities by each project
Bug: 194607800
Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I2021ad7ef115dee9b43784ffa27f2ab78306f3dc
2022-01-07 12:16:46 +00:00
Cheney Ni
86825193b2 Bluetooth: Add Sepolicy for QTI default HAL (2/2)
Uncouple from other projects sepolicy

Bug: 202113218
Test: Build pass
Change-Id: I975ffe8c273a7ecff855d0804b97cc8a5b868ba9
2021-12-16 04:58:59 +00:00
Cheney Ni
7dbebb7ab4 Bluetooth: Bring up QCOM Bluetooth HAL
Specify all configurations on qti_default.mk, and here are some
important items:
 * QCOM_BLUETOOTH_USING_DIAG = false
 * TARGET_BLUETOOTH_UART_DEVICE = "/dev/ttySAC18"
 * UART_USE_TERMIOS_AFC = true
 * TARGET_USE_QTI_BT_OBS = true

Bug: 202113218
Test: Build pass
Change-Id: I444d64e7413d1b08aff295e3ad64238cbaec1286
2021-12-16 02:12:32 +00:00
Cheney Ni
01e538c5c3 Bluetooth: Add Bluetooth HAL compatibility by projects
Bug: 202113218
Test: manually
Change-Id: I6d22935ff2ddb7325cf4f946ea4a71e625427d86
2021-11-23 15:18:40 +08:00
Cyan_Hsieh
2aa4ba2268 Add device lynx
based on panther 0e0ae4dd4045e00dd50826d5c411351d47949d92
No-Typo-Check: based on above commit

Bug: 202250383
Change-Id: I7dbcba9fc0644cf8e547c59b14a544701adc484b
2021-10-29 16:55:09 +08:00