Age | Commit message (Collapse) | Author |
|
- Adding CS params and new entires in BT framework
- Enabled framework logs for Le Audio.
CRs-Fixed: 3187056
Change-Id: I3cbd67961f331cd47969e0b281af81cf6cd8de2e
|
|
This patch adjust codec preferences for the Le Audio usage.
API is using group id now and allows to choose configuration for output
and input.
Note: Input and Output shall use same codec type (for now) but different
codec parameters might be used.
Bug: 219875113
Test: atest BluetoothInstrumentationTests
Ignore-AOSP-First: Compilation error
Change-Id: Iee7a0c6d42dd029f9c24a27ec892eb7ef261263b
|
|
in BluetoothLeAudioCodecStatus
1. Remove function getMaxCodecType()
2. Rename getCodecsLocalCapabilities() to getCodecLocalCapabilities()
3. Rename getCodecsSelectableCapabilities() to getCodecSelectableCapabilities()
4. Change BluetoothLeAudio.getCodecStatus() and BluetoothLeAudio.setCodecConfigPreference() to system API
Tag: #refactor
Bug: 219875113
Test: atest BluetoothInstrumentationTests
Change-Id: If6fa69802c0210e77dd50303b4a286514f3cffb5
|
|
are annotated to return
Tag: #refactor
Bug: 217274997
Test: atest BluetoothInstrumentationTests
Change-Id: Ib3909156d0f1a88c87ff9a31ce25dd9823b35876
|
|
Add the APIs that would use in developer optin for setting
the codec config preference and getiting the codec status.
Expose the APIs first, some of the implementations
will be done later.
Add equals function to BluetoothLeAudioCodecConfig for
comparison usage
Tag: #feature
Bug: 216276721
Bug: 150670922
Test: atest BluetoothInstrumentationTests
Change-Id: Iaa9b7b1278f06228b7a22a1c61668b879b6f3dc9
Merged-In: Iaa9b7b1278f06228b7a22a1c61668b879b6f3dc9
(cherry picked from commit 7cf686a443eb2a1d036ba89c874a328fa24bb425)
|
|
1. Add the APIs for users to create the codec config with all the
parameters that define for the LE Audio codec, and some of the
parameters will be configurable through the developer options,
these APIs will be used by Settings to set for the proper value
and send it to the LE Audio service.
- codec priority
- sample rate
- bits per sample
- frame duration
- octets per frame
- channel mode
2. In order to pass BluetoothLeAudioCodecConfig among activities,
add the required functions to implement the Parcelable interface.
3. Add functions to get above parametes's value
4. Update builder function
5. Update JNI layer prototype
Tag: #feature
Bug: 214233080
Bug: 150670922
Test: atest BluetoothLeAudioCodecConfigTest BluetoothInstrumentationTests
Change-Id: Ia87949681937407daed4abdd0f7aff34d04e5f09
|
|
1. Rename function getHwOffloadEncodingFormatsSupportedForA2DP
to getHwOffloadFormatsSupportedForBluetoothMedia
2. Add audio format for LC3
3. Add public class BluetoothLeAudioCodecConfig to store the
codec for LE audio
4. Add test case for BluetoothLeAudioCodecConfig
Tag: #feature
Bug: 203535499
Bug: 150670922
Test: atest BluetoothLeAudioCodecConfigTest BluetoothInstrumentationTests
Change-Id: I5f64d9078ca2c07e13cffd83b879dd95468ed313
Merged-In: I5f64d9078ca2c07e13cffd83b879dd95468ed313
|