summaryrefslogtreecommitdiff
path: root/bluetooth/audio/utils/session
AgeCommit message (Collapse)Author
2022-02-21Remove bluetooth.audio@2.2 default implementation and utils handlesAlice Kuo
Bug: 204585486 Test: a2dp software/offload, le audio software/offload verified pass Change-Id: I7c8f32dd294562052ff5af73e6f3c48642c03fe4
2022-02-09Merge "Correct the offload capability and update comment"Treehugger Robot
2022-01-21BtAudio: Add InReadPcmData to middlewareJosh Wu
Bug: 203490261 Test: m android.hardware.bluetooth.audio-V1-impl Change-Id: I330226ecc38368b3838c01a191b66b700a2338a7
2022-01-20Add updateTrackMetadata support with audioSerssion_2_2 controlAlice Kuo
For the offload case, the updateTrackMetadata would be triggered by the audio HAL, extend the support for audio session 2.2 control Bug: 197296692 Bug: 150670922 Test: make build Change-Id: If1589b95bdec98d41c122da2c47ab53719af8425
2022-01-17Add Bluetooth Audio AIDL utilsJosh Wu
Test: manual Bug: 203490261 Change-Id: Ia299a61e89273ea1c9d132425598975418f57a03
2022-01-12Correct the offload capability and update commentPatty
- Add some comments to describe the supported scenario - Correct the config from mono to stereo, when only one device is connected, mono only need one audio channel, for stereo case, support 2 audio channels. Tag: #feature Bug: 203535499 Bug: 150670922 Test: make build Change-Id: I6dacca8965f48ed58506b63f8d3939afb6f5b1b6
2022-01-07Merge "Update HAL structure to include offload capability for broadcast"Treehugger Robot
2022-01-07Update HAL structure to include offload capability for broadcastPatty
Bug: 205806028 Bug: 150670922 Test: make build Change-Id: Ife4a3585474999855ffb04f3946462a137fdc181
2022-01-05Merge "Add audio configuration API and the callback function for ↵Treehugger Robot
bluetooth.audo@2.2"
2022-01-03Add audio configuration API and the callback function for bluetooth.audo@2.2Alice Kuo
For LE audio hardware offload 1. Add the function to update audio configuration without session restart 2. Add a callback to notify the audio HAL the audio configuration changed Bug: 197296692 Bug: 150670922 Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio software media/voip call Change-Id: I8b01ec8dfc9d9cd552770c8c734319a685ee626b
2021-12-23Get default provider codec from HALPatty
1. Add function getProviderCapabilities_2_2 to return audio capability 2. Add function GetLeAudioOffloadCodecCapabilities to get le audio offload capability 3. Add LeAudioCapability in HAL 2.2 Tag: #feature Bug: 203535499 Bug: 150670922 Test: atest BluetoothInstrumentationTests Change-Id: Ied2d0c8c0bdaa4b8d0c149b5164ba346e4df5ae1
2021-12-21Add onSessionEnded handle for HIDL 2.2Alice Kuo
1. The audio driver need to get the session status callback as the sessionEnded 2. Update the invalid audio configuration based on the session type Bug: 197296692 Bug: 150670922 Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio software media/voip call Test: Turn on/off bluetooth to make sure the onSessionEnded work well Change-Id: Id758b556e8f5c9b63052a408154f02082515091c
2021-12-16Add support LE audio offload for HIDL 2.2Alice Kuo
1. Clean up the LE offlload path for HIDL 2.1 2. Add support offload path start/suspend/stop function with HIDL 2.2 Bug: 197296692 Bug: 150670922 Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio software media/voip call Change-Id: I2295b62fc2255d247f18f0852de2b40e6280d282
2021-12-10Clean up: remove LE audio hardware offload in Bluetooth audio HAL 2.1Alice Kuo
LE audio offload plan to fully support on aidl or temporal HAL 2.2. Remove it in HAL 2.1 to make the compatible work easier Bug: 197296692 Bug: 150670922 Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio software media/voip call Change-Id: Icc68bea357d2ee0427826e0c20888399662e9bcb
2021-12-06Pass sink metadata to BluetoothJakub Pawlowski
When just microphone is enabled, i.e. for recording audio, we will receive just sink metadata update. Bug: 150670922 Change-Id: I795385d19e64ec5c6bc0a8549beda52da27d25a1
2021-11-09Fix the integration issue for HAL 2.2Alice Kuo
Bug: 150670922 Bug: 197297498 Test: A2DP & LE aduio stream works well with HIDL 2.1/2.2 Change-Id: I64113dd4a229874b2d17ae71d088abafd8197cfd
2021-10-29Add bluetooth.audio@2.2 implementationAlice Kuo
Bug: 201292721 Bug: 150670922 Bug: 197297498 Test: m android.hardware.bluetooth.audio@2.2-impl Change-Id: I224b1e001337165e5191060f0ae532933a419b68
2021-06-17Bluetooth Audio: Remove WARN log spam in IsSessionReadyJakub Pawlowski
Bug: 150670922 Tag: #feature Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest Change-Id: Ib3ee17bcdd91e437dd8333c05d31013cb8ac6c9d
2021-06-08bluetooth.audio@2.1: add handle IsSessionReady for LE offload encoderAlice Kuo
Bug: 150670922 Tag: #feature Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest Change-Id: I5d5ca0cb63b2801b3ad1351754ebd9f5da73ac1e
2021-06-07bluetooth.audio@2.1: add internal HW offloading data path routingJakub Pawlowski
Bug: 150670922 Tag: #feature Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest Change-Id: Id18b269a3a6ebcd56ba39158edc336c176cd2c16
2021-03-01audio: Implement GetAudioConfig for HAL 2.1Grzegorz Kołodziejczyk
This adds implementation for getting HAL 2.1 audio configuration. Bug: 150670922 Tag: #feature Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest Sponsor: jpawlowski@ Change-Id: I12bbd0b9219e4d6f8328fd514536ce9ee477b757
2021-03-01audio: Implement OnSessionStarted for HAL 2.1Grzegorz Kołodziejczyk
Patch implements OnSessionStarted for HAL 2.1. Bug: Tag: #feature Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest Sponsor: jpawlowski@ Change-Id: Ide76fe59c323726ae98e6311f7360eb733c1c7cc Change-Id: I84302cf653ffebcba3b4c875f6a156293d8dae75
2021-02-26audio: Introduce read PCM from FMQ session functionalityGrzegorz Kołodziejczyk
This is required for audio input direction HAL session support. Bug: Tag: #feature Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest Sponsor: jpawlowski@ Change-Id: I3cd25f4af0c5c16074b17dd128de95dd53978379
2021-02-06One libbluetooth_audio_sessionJakub Pawlowski
libbluetooth_audio_session must be version agnostic, and support both 2.0 and 2.1 bluetooth.audio vendor libraries Test: compilation Bug: 150670922 Change-Id: I6a4a10b37201da9a5fb289262530f9d9cd5041ac
2021-02-06Move libbluetooth_audio_session out of v2.0 folderJakub Pawlowski
libbluetooth_audio_session must be version agnostic, and support both 2.0 and 2.1 bluetooth.audio vendor libraries Test: compilation Bug: 150670922 Change-Id: I487022b28a471960e669b9794808dd53b1bdca17