aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothLeAudioCodecStatus.java
Commit message (Collapse)AuthorAgeFilesLines
* BluetoothLeAudio: Fix API for codec preferencesŁukasz Rymanowski2022-03-161-42/+152
| | | | | | | | | | | | | 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
* Add implementation for unimplemented APIs and add description for return valuePatty2022-03-071-2/+16
| | | | | | | | | | 1. Add implementation for getCodecStatus(), setCodecConfigPreference() and isCodecConfigSelectable() 2. Add description for the return value of getCodecLocalCapabilities() and getCodecSelectableCapabilities() Tag: #refactor Bug: 219875113 Test: atest BluetoothInstrumentationTests Change-Id: Ida32ff52990d2c062ef9f5cc965e20af030896bd
* Removed getMaxCodecType from BluetoothLeAudioCodecConfig, rename functions ↵Patty2022-02-231-5/+5
| | | | | | | | | | | | | | 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
* Add API to set the codec preference for specific devicePatty2022-02-021-0/+194
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)