Alice Kuo
851ef342ed
Add soft_audio_configuration_changed_cb_ to handle the streamMap changed
...
Based on the stream status and Bluetooth Audio Session to switch the
different configuration_changed_cb_ notifcation.
audio_configuration_changed_cb_ for the context type handover case
soft_audio_configuration_changed_cb_ for the streamMap changed during
media stream case
Bug: 231084798
Test: LE audio offload later join and disappear with downmix enable
Change-Id: I199c2b765b128875fb2c66abb1a500e4a6c820b7
2022-09-13 00:06:42 +08:00
William Escande
2591c3d0cf
[Bluetooth apex] Use new apex name
...
The Bluetooth apex name is now called com.android.btservices
Bug: 243054261
Test: Build
Change-Id: Ib63646722cbef948b5198fc5f2a9b5ac2ca52ae3
2022-08-22 11:27:58 -07:00
Treehugger Robot
56ff7775f4
Merge "le_audio_offload: Support two sources for conversational" am: 5b4464928a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2058869
Change-Id: I997da918ceece45e17d1c607d4d15ca8a2ca9ca3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 03:01:20 +00:00
Treehugger Robot
5b4464928a
Merge "le_audio_offload: Support two sources for conversational"
2022-08-09 02:42:58 +00:00
Patty
51f165b314
le_audio_offload: Support two sources for conversational
...
Tag: #feature
Bug: 241775706
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d
2022-08-08 15:44:14 +00:00
Alice Kuo
fb6b495535
Bluetooth audio hal check broadcast configuraiton for the broadcast offload am: ee398a93f5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2147741
Change-Id: I913250b6070b9d16bd03669c7fe078ea6c5bcbab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-13 05:20:27 +00:00
Alice Kuo
ee398a93f5
Bluetooth audio hal check broadcast configuraiton for the broadcast offload
...
The patch contains the following changes
1. Check the broadcast audio configuration as starting broadcast offload
session
2. Update audio configuration checker for broadcast offload
3. Remove the IsOffloadLeAudioConfigurationValid function that the audio
configuraiton is invalid as session started, so we don't need to
check it at that time
Bug: 210987580
Test: start the offload broadcast stream, and check the session status
Change-Id: I60b1b506051873f6d942f2febace6562634fc12a
2022-07-13 04:39:00 +00:00
Alice Kuo
3034ecf2b3
Supoort audio configuration update to audio HAL for broadcast offload am: 36a879796b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2148553
Change-Id: I35f75c717ba2c0a256532ca4a59b2a2e16b1cfa6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-07 22:20:02 +00:00
Alice Kuo
36a879796b
Supoort audio configuration update to audio HAL for broadcast offload
...
Bug: 210987580
Test: start the broadcast offload, check log
Change-Id: Iadae625d10ad179089b952ac94ff66ae90a6236e
2022-07-08 00:35:08 +08:00
Jooyung Han
d81d6a12be
Remove AIDL-libs from VNDK
...
Some are still in VNDK because they are used in other VNDK libs.
Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
2022-06-14 16:42:42 +09:00
Jooyung Han
c0b24f4f13
Remove AIDL-libs from VNDK
...
Some are still in VNDK because they are used in other VNDK libs.
Ignore-AOSP-First: some libs are still in internal master only.
Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
(cherry picked from commit 5527adfd7f )
2022-06-14 14:08:59 +09:00
Treehugger Robot
23384a2403
Merge "VtsHalBluetoothV1_1: Turn off/on BT at RunCommandTargetPreparer" am: ace4b2577b am: e438c8e1b6
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2097964
Change-Id: I6fa70632ed6a5077162ee02c79f83be30a71f310
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-19 22:06:00 +00:00
Treehugger Robot
ace4b2577b
Merge "VtsHalBluetoothV1_1: Turn off/on BT at RunCommandTargetPreparer"
2022-05-19 21:20:25 +00:00
Cheney Ni
cf52cb0307
VtsHalBluetoothV1_1: Turn off/on BT at RunCommandTargetPreparer
...
This change is cherry-picked from 0dc66a2c69 which
uses RunCommandTargetPreparer to turn off/on BT for
all users on VtsHalBluetoothV1_0.
Bug: 226452499
Test: run vts -m VtsHalBluetoothV1_1TargetTest
Change-Id: I5ef42c922a0b0a037d2cf70ca83790fc95196ccb
2022-05-19 10:08:06 +08:00
Omer Osman
9e3c151ffb
Merge "Add Opus to BT Audio HAL and update version to V2" into tm-dev am: b229ac5fd1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18112682
Change-Id: I4f8c6200989e993fca305615c7977870c78ab1c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 17:16:58 +00:00
Omer Osman
b229ac5fd1
Merge "Add Opus to BT Audio HAL and update version to V2" into tm-dev
2022-05-13 16:54:28 +00:00
Jakub Pawłowski
11daf7e4f8
Merge "Add 32kHz as supported setting" into tm-dev
2022-05-12 16:30:05 +00:00
Omer Osman
a2587da5b2
Add Opus to BT Audio HAL and update version to V2
...
This CL adds Opus as a supported A2DP codec to the BT Audio HAL and
updates HAL compatibility matrix.
Bug: 226441860
Test: A2DP sink device using bds-dev
Change-Id: I21249e3e7e76412af7ed62a3fc9ec133434cf963
2022-05-12 05:56:08 +00:00
Treehugger Robot
4e2eef19dc
Merge "Add 32kHz as supported setting" am: e3b10a1f84 am: 506c66ad95
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2089091
Change-Id: Ieba48eacced718a6af8c89c261ad77ddf43f3f88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 05:35:20 +00:00
Łukasz Rymanowski
4d14c1edba
Add 32kHz as supported setting
...
Bug: 230550335
Test: Build, test audio
Change-Id: I94c4c54092d0afb71aee555fa46936e228397444
(cherry picked from commit 12f82bb40c )
Merged-In: I94c4c54092d0afb71aee555fa46936e228397444
2022-05-12 12:03:51 +08:00
Treehugger Robot
e3b10a1f84
Merge "Add 32kHz as supported setting"
2022-05-12 04:01:03 +00:00
Jakub Pawłowski
363e857922
Merge "Bluetooth LE Audio: pass the 24 bit stream as unpacked through HAL" into tm-dev am: 59770b6f4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18306280
Change-Id: I1dc6e56fae9f3621cd7ed3db5ca0c6cadbb761b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 00:31:32 +00:00
Jakub Pawlowski
780d8c5ab6
Bluetooth LE Audio: pass the 24 bit stream as unpacked through HAL
...
LC3 encoder/decoder expects unpacked 24 bit stream
Bug: 230578655
Test: use 24_2 configuration to play over LE Audio
Merged-In: I298d6d3a0cd9786581730de88487c982e1fa9d9d
Change-Id: I298d6d3a0cd9786581730de88487c982e1fa9d9d
2022-05-11 08:49:12 +02:00
Treehugger Robot
7e3f8470c2
Merge "Bluetooth LE Audio: pass the 24 bit stream as unpacked through HAL"
2022-05-11 06:40:21 +00:00
Jakub Pawlowski
7230958c05
Bluetooth LE Audio: pass the 24 bit stream as unpacked through HAL
...
LC3 encoder/decoder expects unpacked 24 bit stream
Bug: 230578655
Test: use 24_2 configuration to play over LE Audio
Change-Id: I298d6d3a0cd9786581730de88487c982e1fa9d9d
2022-05-10 15:40:44 +02:00
Treehugger Robot
3d6ff66133
Merge "bluetoothV1.0_fuzzer: Bug Fix" am: 80dee80bd6 am: 7d6e997d59
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2082699
Change-Id: I4ba890e23faa811585422d97e436ffea76dcd006
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-09 06:37:11 +00:00
Treehugger Robot
80dee80bd6
Merge "bluetoothV1.0_fuzzer: Bug Fix"
2022-05-09 05:46:07 +00:00
Łukasz Rymanowski
12f82bb40c
Add 32kHz as supported setting
...
Bug: 230550335
Test: Build, test audio
Change-Id: I94c4c54092d0afb71aee555fa46936e228397444
2022-05-06 17:17:04 +00:00
Treehugger Robot
25e962b139
Merge "Support 24k and 32k config for LE Audio Offload" am: b55aabcc22 am: d23cabb936
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2078978
Change-Id: Idd39a995d84dcdffa86871fbcc625deca2582285
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-04 10:24:21 +00:00
Patty Huang
bdf65ba94f
Support 24k and 32k config for LE Audio Offload
...
Bug: 230402180
Test: Manual
Change-Id: If4931999009b27423adeab3af50238dd6d8c8637
(cherry picked from commit f4e3551eb1 )
Merged-In: If4931999009b27423adeab3af50238dd6d8c8637
2022-05-04 17:31:51 +08:00
Devendra Singhi
aad9365193
bluetoothV1.0_fuzzer: Bug Fix
...
Resolved Invalid Read due to Race Condition
Test: ./bluetoothV1.0_fuzzer clusterfuzz-testcase-minimized-bluetoothV1.0_fuzzer-5838517370748928
Bug: 228555640
Change-Id: Ifdad997141cb4af8f4f027b286fc2359f9d60a2f
2022-05-01 00:07:37 +05:30
Patty Huang
f4e3551eb1
Support 24k and 32k config for LE Audio Offload
...
Bug: 230402180
Test: Manual
Change-Id: If4931999009b27423adeab3af50238dd6d8c8637
2022-04-28 10:53:29 +08:00
Treehugger Robot
6e0cc925d2
Merge "Build with upstream lld: Fix incorrect static dependencies" am: 9e8d756311 am: 9485f0ffb4 am: 94dde8238f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2061769
Change-Id: Ib3d6d667e4478e2006bf97ca112535032e72042a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-13 22:46:59 +00:00
Pirama Arumuga Nainar
cef135a3d2
Build with upstream lld: Fix incorrect static dependencies
...
Bug: http://b/197965342
Remove unnecessary `static_libs` dependencies or move them to
`shared_libs` to build with upstream LLD. See b/197965342#comment1
(internal) for rationale. Some info is available externally at
https://github.com/llvm/llvm-project/issues/42899 .
Per go/android-lld-static-lib-fix, OWNERS are added for visibility. No
action is needed if the change looks good. This change will be merged
after two business days with Global Approvers.
Test: Build modules with aosp/2036867 in addition to presubmit
Change-Id: I12ffa45755b3055117fa87aae2110b125b60fd54
2022-04-11 20:08:40 +00:00
Treehugger Robot
d667e6583e
Merge "BtAudio: Prevent unlink dead binder" am: dc1a419baf am: 6afd301d16 am: 31a6eb814c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2046266
Change-Id: I3f0ad7c0c535bd1312871e1b53bc2cf0597a2434
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-07 20:32:30 +00:00
Treehugger Robot
dc1a419baf
Merge "BtAudio: Prevent unlink dead binder"
2022-04-07 18:56:44 +00:00
Josh Wu
08255b45d9
BtAudio: Prevent unlink dead binder
...
Tag: #stability
Bug: 227029886
Test: manually kill bt process
Change-Id: Ic976a33feb5a3636ab828637faf0ba109f5948ce
2022-04-07 09:02:20 -07:00
Jiyong Park
703e97920e
Freeze AIDL APIs for TM
...
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09:00
Alice Kuo
41a19de276
Merge "Add A2dp decode software and offload session type" am: 0dac5667f5 am: 67fa92a1e5 am: 4e90fa8ecd
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2046263
Change-Id: I99e1bd5c9ba176b4b56cb88f2cd503804d559853
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-30 00:44:22 +00:00
Alice Kuo
0dac5667f5
Merge "Add A2dp decode software and offload session type"
2022-03-29 23:49:37 +00:00
Alice Kuo
adcceec9ad
Add A2dp decode software and offload session type
...
1. Add the interface
2. Add the default implementation
3. Add VTS
Bug: 206601670
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I54d8037eeb09312c9f1fb75d2167cc50ac7cae8c
2022-03-29 15:09:50 +08:00
Karthik Ramakrishnan
2a4ed0d3a0
VtsHalBluetoothV1_0: Turn off/on BT for all users am: 0dc66a2c69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16810781
Change-Id: I8d8483a32fa39a783a159d4269300bbbb88ac3a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-29 01:52:05 +00:00
Chen Chen
a5e8da7b94
Merge "SpatialAudio: fix crashes in BluetoothAudioSession" am: 8673f8c28f am: 81edd99b87 am: a16a0ece1a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2025663
Change-Id: I12ec3fe8490489a202195cb05e7cc5a4ee6d9435
2022-03-15 19:33:07 +00:00
Chen Chen
a16a0ece1a
Merge "SpatialAudio: fix crashes in BluetoothAudioSession" am: 8673f8c28f am: 81edd99b87
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2025663
Change-Id: I25913e948f137e057899e30b5e665e0673e3207b
2022-03-15 18:28:11 +00:00
Chen Chen
3b46c05d95
SpatialAudio: fix crashes in BluetoothAudioSession
...
Bug: 224578221
Bug: 214615268
Test: build
Change-Id: I0fd7e0887200e39dc996b0d84de421ec13897e94
2022-03-14 18:04:27 -07:00
TreeHugger Robot
4e102c0854
Merge "Clear apex.go entries for bluetooth libs" into tm-dev
2022-03-15 00:58:00 +00:00
Treehugger Robot
acebb3ccd4
Merge "SpatialAudio: Export LatencyMode functions to BluetoothAudioSession" am: 26423c74aa am: 57d941c663
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2014835
Change-Id: I16ba154591d405d4865b5a1d00ae1080cb606d0c
2022-03-08 18:50:44 +00:00
Cheney Ni
6ecbc76603
SpatialAudio: Export LatencyMode functions to BluetoothAudioSession
...
BluetoothAudioSession utility supports latency control functions, so
audio_bluetooth_hw can get / set the LatencyMode easily.
Bug: 214615268
Bug: 218708371
Test: build
Tag: #feature
Change-Id: Ia85581c74fc91f406309539755d60d36c173f5e0
2022-03-08 11:55:41 +08:00
William Escande
d9d513fd47
Clear apex.go entries for bluetooth libs
...
Test: Build + TH + boot phone & use bluetooth
Bug: 216433795
Change-Id: Ib1f9fee90006c73e5726a208e6cba8647967f5f4
2022-03-02 20:27:06 +01:00
Chen Chen
973e5eb558
Merge "SpatialAudio: Init codec and buffer size from startStream()" am: 3b04e113e6 am: 92fbebc89f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1989506
Change-Id: I1e686443d67be139c10733dba26e910bbc859734
2022-02-24 20:17:53 +00:00