/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothCodecStatus.java | 35 public final class BluetoothCodecStatus implements Parcelable { class 50 public BluetoothCodecStatus(@Nullable BluetoothCodecConfig codecConfig, in BluetoothCodecStatus() method in BluetoothCodecStatus 60 if (o instanceof BluetoothCodecStatus) { in equals() 61 BluetoothCodecStatus other = (BluetoothCodecStatus) o; in equals() 161 … public static final @android.annotation.NonNull Parcelable.Creator<BluetoothCodecStatus> CREATOR = 162 new Parcelable.Creator<BluetoothCodecStatus>() { 163 public BluetoothCodecStatus createFromParcel(Parcel in) { 171 return new BluetoothCodecStatus(codecConfig, 176 public BluetoothCodecStatus[] newArray(int size) { 177 return new BluetoothCodecStatus[size];
|
H A D | BluetoothA2dp.java | 744 public BluetoothCodecStatus getCodecStatus(@NonNull BluetoothDevice device) { in getCodecStatus()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
H A D | A2dpCodecConfigTest.java | 23 import android.bluetooth.BluetoothCodecStatus; 701 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecParametersChangeHelper() 726 BluetoothCodecStatus codecStatus = in testCodecParametersChangeHelper() 735 codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecParametersChangeHelper() 765 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecSpecificParametersChangeHelper() 794 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecPriorityChangeHelper() 815 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecPriorityChangeHelper() 828 codecStatus = new BluetoothCodecStatus(oldCodecConfig, in testCodecPriorityChangeHelper() 859 BluetoothCodecStatus codecStatus = in testCodecPriorityChangeHelper() 882 BluetoothCodecStatus codecStatus = in testCodecPriorityChangeHelper() [all …]
|
H A D | A2dpStateMachineTest.java | 24 import android.bluetooth.BluetoothCodecStatus; 310 any(BluetoothCodecStatus.class), anyBoolean()); in testProcessCodecConfigEventCase() 323 BluetoothCodecStatus codecStatusSbcAndSbc = new BluetoothCodecStatus(mCodecConfigSbc, in testProcessCodecConfigEventCase() 325 BluetoothCodecStatus codecStatusSbcAndSbcAac = new BluetoothCodecStatus(mCodecConfigSbc, in testProcessCodecConfigEventCase() 327 BluetoothCodecStatus codecStatusAacAndSbcAac = new BluetoothCodecStatus(mCodecConfigAac, in testProcessCodecConfigEventCase()
|
H A D | A2dpServiceTest.java | 24 import android.bluetooth.BluetoothCodecStatus; 211 BluetoothCodecStatus codecStatus) { in verifyCodecConfigIntent() 217 intent.getParcelableExtra(BluetoothCodecStatus.EXTRA_CODEC_STATUS)); in verifyCodecConfigIntent() 582 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(codecConfig, in testProcessAudioStateChangedCodecConfigChangedEvents() 876 BluetoothCodecStatus codecStatus) { in connectDeviceWithCodecStatus() 969 BluetoothCodecStatus codecStatus) { in generateCodecMessageFromNative() 980 BluetoothCodecStatus codecStatus) { in generateUnexpectedCodecMessageFromNative() 1068 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(codecConfigSbc, in testUpdateOptionalCodecsSupportCase() 1070 BluetoothCodecStatus badCodecStatus = new BluetoothCodecStatus(codecConfigAac, in testUpdateOptionalCodecsSupportCase()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/ |
H A D | AbstractBluetoothDialogPreferenceControllerTest.java | 31 import android.bluetooth.BluetoothCodecStatus; 66 private BluetoothCodecStatus mCodecStatus; 113 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, null); in onIndexUpdated_checkFlow() 153 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, null); in getCurrentCodecConfig_verifyConfig() 163 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in getSelectableConfigs_verifyConfig() 173 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in getSelectableByCodecType_verifyConfig() 184 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in getSelectableByCodecType_unavailable() 195 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
|
H A D | BluetoothCodecDialogPreferenceControllerTest.java | 29 import android.bluetooth.BluetoothCodecStatus; 62 private BluetoothCodecStatus mCodecStatus; 109 mCodecStatus = new BluetoothCodecStatus(mCodecConfigSBC, null, mCodecConfigs); in writeConfigurationValues_selectDefault_setHighest() 121 mCodecStatus = new BluetoothCodecStatus(mCodecConfigSBC, null, mCodecConfigs); in writeConfigurationValues_checkCodec() 148 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in writeConfigurationValues_resetHighestConfig()
|
H A D | BluetoothQualityDialogPreferenceControllerTest.java | 28 import android.bluetooth.BluetoothCodecStatus; 59 private BluetoothCodecStatus mCodecStatus; 119 mCodecStatus = new BluetoothCodecStatus(mCodecConfigLDAC, null, mCodecConfigs); in updateState_codeTypeIsLDAC_enablePreference() 130 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in updateState_codeTypeAAC_disablePreference()
|
H A D | BluetoothBitPerSampleDialogPreferenceControllerTest.java | 28 import android.bluetooth.BluetoothCodecStatus; 62 private BluetoothCodecStatus mCodecStatus; 101 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in writeConfigurationValues_selectDefault_setHighest() 130 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in getSelectableIndex_verifyList()
|
H A D | BluetoothChannelModeDialogPreferenceControllerTest.java | 28 import android.bluetooth.BluetoothCodecStatus; 62 private BluetoothCodecStatus mCodecStatus; 101 mCodecStatus = new BluetoothCodecStatus(mCodecConfigSBC, null, mCodecConfigs); in writeConfigurationValues_selectDefault_setHighest() 127 mCodecStatus = new BluetoothCodecStatus(mCodecConfigSBC, null, mCodecConfigs); in getSelectableIndex_verifyList()
|
H A D | BluetoothSampleRateDialogPreferenceControllerTest.java | 28 import android.bluetooth.BluetoothCodecStatus; 62 private BluetoothCodecStatus mCodecStatus; 103 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in writeConfigurationValues_selectDefault_setHighest() 136 mCodecStatus = new BluetoothCodecStatus(mCodecConfigAAC, null, mCodecConfigs); in getSelectableIndex_verifyList()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
H A D | A2dpProfileTest.java | 28 import android.bluetooth.BluetoothCodecStatus; 119 BluetoothCodecStatus status = mock(BluetoothCodecStatus.class); in isHighQualityAudioEnabled() 180 BluetoothCodecStatus status = mock(BluetoothCodecStatus.class); in getLabelDeviceConnectedButNotHighQualityCodec() 195 BluetoothCodecStatus status = mock(BluetoothCodecStatus.class); in getLabelDeviceConnectedWithHighQualityCodec()
|
/aosp12/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothCodecStatusTest.java | 430 private static final BluetoothCodecStatus bcs_A = 431 new BluetoothCodecStatus(config_A, local_capability_A, selectable_capability_A); 432 private static final BluetoothCodecStatus bcs_B = 433 new BluetoothCodecStatus(config_B, local_capability_B, selectable_capability_B); 434 private static final BluetoothCodecStatus bcs_B_reordered = 435 new BluetoothCodecStatus(config_B, local_capability_B_reordered, 437 private static final BluetoothCodecStatus bcs_C = 438 new BluetoothCodecStatus(config_C, local_capability_C, selectable_capability_C);
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpStackEvent.java | 19 import android.bluetooth.BluetoothCodecStatus; 47 public BluetoothCodecStatus codecStatus;
|
H A D | A2dpStateMachine.java | 53 import android.bluetooth.BluetoothCodecStatus; 100 private BluetoothCodecStatus mCodecStatus; 613 BluetoothCodecStatus getCodecStatus() { in getCodecStatus() 621 void processCodecConfigEvent(BluetoothCodecStatus newCodecStatus) { in processCodecConfigEvent() 623 BluetoothCodecStatus prevCodecStatus = mCodecStatus; in processCodecConfigEvent() 718 private static boolean sameSelectableCodec(BluetoothCodecStatus prevCodecStatus, in sameSelectableCodec() 719 BluetoothCodecStatus newCodecStatus) { in sameSelectableCodec() 723 return BluetoothCodecStatus.sameCapabilities( in sameSelectableCodec()
|
H A D | A2dpService.java | 28 import android.bluetooth.BluetoothCodecStatus; 573 BluetoothCodecStatus codecStatus = sm.getCodecStatus(); in setActiveDevice() 702 public BluetoothCodecStatus getCodecStatus(BluetoothDevice device) { in getCodecStatus() 746 BluetoothCodecStatus codecStatus = getCodecStatus(device); in setCodecConfigPreference() 776 BluetoothCodecStatus codecStatus = getCodecStatus(device); in enableOptionalCodecs() 806 BluetoothCodecStatus codecStatus = getCodecStatus(device); in disableOptionalCodecs() 949 public void codecConfigUpdated(BluetoothDevice device, BluetoothCodecStatus codecStatus, in codecConfigUpdated() 1032 private void broadcastCodecConfig(BluetoothDevice device, BluetoothCodecStatus codecStatus) { in broadcastCodecConfig() 1037 intent.putExtra(BluetoothCodecStatus.EXTRA_CODEC_STATUS, codecStatus); in broadcastCodecConfig() 1123 BluetoothCodecStatus codecStatus = sm.getCodecStatus(); in updateOptionalCodecsSupport() [all …]
|
H A D | A2dpNativeInterface.java | 28 import android.bluetooth.BluetoothCodecStatus; 199 event.codecStatus = new BluetoothCodecStatus(newCodecConfig, in onCodecConfigChanged()
|
H A D | A2dpCodecConfig.java | 21 import android.bluetooth.BluetoothCodecStatus; 80 BluetoothCodecStatus codecStatus, in setCodecConfigPreference()
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/bluetooth/ |
H A D | AbstractBluetoothDialogPreferenceController.java | 23 import android.bluetooth.BluetoothCodecStatus; 159 final BluetoothCodecStatus codecStatus = in getCurrentCodecConfig() 183 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(bluetoothDevice); in getSelectableConfigs()
|
/aosp12/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothA2dp.aidl | 20 import android.bluetooth.BluetoothCodecStatus; 72 …BluetoothCodecStatus getCodecStatus(in BluetoothDevice device, in AttributionSource attributionSou… in getCodecStatus()
|
H A D | BluetoothCodecStatus.aidl | 19 parcelable BluetoothCodecStatus;
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/ |
H A D | AbstractBluetoothA2dpPreferenceController.java | 21 import android.bluetooth.BluetoothCodecStatus; 202 BluetoothCodecStatus codecStatus = mBluetoothA2dp.getCodecStatus(bluetoothDevice); in getCodecConfig()
|
H A D | DevelopmentSettingsDashboardFragment.java | 25 import android.bluetooth.BluetoothCodecStatus; 114 BluetoothCodecStatus codecStatus = intent.getParcelableExtra( 115 BluetoothCodecStatus.EXTRA_CODEC_STATUS);
|
/aosp12/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
H A D | A2dpReceiver.java | 24 import android.bluetooth.BluetoothCodecStatus; 400 BluetoothCodecStatus codecStatus = null; in getCodecValue()
|
/aosp12/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | BtHelper.java | 24 import android.bluetooth.BluetoothCodecStatus; 282 final BluetoothCodecStatus btCodecStatus = mA2dp.getCodecStatus(device); in getA2dpCodec()
|