Home
last modified time | relevance | path

Searched refs:BluetoothCodecStatus (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothCodecStatus.java33 public final class BluetoothCodecStatus implements Parcelable { class
50 public BluetoothCodecStatus( in BluetoothCodecStatus() method in BluetoothCodecStatus
59 private BluetoothCodecStatus(Parcel in) { in BluetoothCodecStatus() method in BluetoothCodecStatus
67 if (o instanceof BluetoothCodecStatus) { in equals()
68 BluetoothCodecStatus other = (BluetoothCodecStatus) o; in equals()
166 public static final @NonNull Creator<BluetoothCodecStatus> CREATOR =
168 public BluetoothCodecStatus createFromParcel(Parcel in) {
169 return new BluetoothCodecStatus(in);
172 public BluetoothCodecStatus[] newArray(int size) {
173 return new BluetoothCodecStatus[size];
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpCodecConfigTest.java23 import android.bluetooth.BluetoothCodecStatus;
869 BluetoothCodecStatus codecStatus = in testCodecParametersChangeHelper()
870 new BluetoothCodecStatus( in testCodecParametersChangeHelper()
896 BluetoothCodecStatus codecStatus = in testCodecParametersChangeHelper()
897 new BluetoothCodecStatus( in testCodecParametersChangeHelper()
908 new BluetoothCodecStatus( in testCodecParametersChangeHelper()
951 BluetoothCodecStatus codecStatus = in testCodecSpecificParametersChangeHelper()
952 new BluetoothCodecStatus( in testCodecSpecificParametersChangeHelper()
985 BluetoothCodecStatus codecStatus = in testCodecPriorityChangeHelper()
986 new BluetoothCodecStatus( in testCodecPriorityChangeHelper()
[all …]
DA2dpStateMachineTest.java26 import android.bluetooth.BluetoothCodecStatus;
326 any(BluetoothDevice.class), any(BluetoothCodecStatus.class), anyBoolean()); in testProcessCodecConfigEventCase()
345 BluetoothCodecStatus codecStatusSbcAndSbc = in testProcessCodecConfigEventCase()
346 new BluetoothCodecStatus( in testProcessCodecConfigEventCase()
350 BluetoothCodecStatus codecStatusSbcAndSbcAac = in testProcessCodecConfigEventCase()
351 new BluetoothCodecStatus( in testProcessCodecConfigEventCase()
355 BluetoothCodecStatus codecStatusAacAndSbcAac = in testProcessCodecConfigEventCase()
356 new BluetoothCodecStatus( in testProcessCodecConfigEventCase()
360 BluetoothCodecStatus codecStatusOpusAndSbcAacOpus = in testProcessCodecConfigEventCase()
361 new BluetoothCodecStatus( in testProcessCodecConfigEventCase()
[all …]
DA2dpServiceTest.java29 import android.bluetooth.BluetoothCodecStatus;
563 BluetoothCodecStatus codecStatus = in testProcessAudioStateChangedCodecConfigChangedEvents()
564 new BluetoothCodecStatus( in testProcessAudioStateChangedCodecConfigChangedEvents()
1040 BluetoothDevice device, BluetoothCodecStatus codecStatus) { in connectDeviceWithCodecStatus()
1148 BluetoothDevice device, BluetoothCodecStatus codecStatus) { in generateCodecMessageFromNative()
1158 hasExtra(BluetoothCodecStatus.EXTRA_CODEC_STATUS, codecStatus)); in generateCodecMessageFromNative()
1162 BluetoothDevice device, BluetoothCodecStatus codecStatus) { in generateUnexpectedCodecMessageFromNative()
1261 BluetoothCodecStatus codecStatus = in testUpdateOptionalCodecsSupportCase()
1262 new BluetoothCodecStatus( in testUpdateOptionalCodecsSupportCase()
1266 BluetoothCodecStatus badCodecStatus = in testUpdateOptionalCodecsSupportCase()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DAbstractBluetoothDialogPreferenceControllerTest.java32 import android.bluetooth.BluetoothCodecStatus;
71 private BluetoothCodecStatus mCodecStatus;
124 mCodecStatus = new BluetoothCodecStatus.Builder().setCodecConfig(mCodecConfigAAC).build(); in onIndexUpdated_checkFlow()
164 mCodecStatus = new BluetoothCodecStatus.Builder().setCodecConfig(mCodecConfigAAC).build(); in getCurrentCodecConfig_verifyConfig()
174 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableConfigs_verifyConfig()
187 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableByCodecType_verifyConfig()
201 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableByCodecType_unavailable()
215 mCodecStatus = new BluetoothCodecStatus.Builder() in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
DBluetoothCodecDialogPreferenceControllerTest.java30 import android.bluetooth.BluetoothCodecStatus;
69 private BluetoothCodecStatus mCodecStatus;
134 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
152 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_checkCodec()
185 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_resetHighestConfig()
228 mCodecStatus = new BluetoothCodecStatus.Builder() in onHDAudioEnabled_optionalCodecEnabled_setsCodecTypeAsOpus()
247 mCodecStatus = new BluetoothCodecStatus.Builder() in onHDAudioEnabled_optionalCodecEnabled_setsCodecTypeAsAAC()
265 mCodecStatus = new BluetoothCodecStatus.Builder() in onHDAudioEnabled_optionalCodecDisabled_setsCodecTypeAsSBC()
DBluetoothQualityDialogPreferenceControllerTest.java29 import android.bluetooth.BluetoothCodecStatus;
65 private BluetoothCodecStatus mCodecStatus;
125 mCodecStatus = new BluetoothCodecStatus.Builder() in updateState_codeTypeIsLDAC_enablePreference()
139 mCodecStatus = new BluetoothCodecStatus.Builder() in updateState_codeTypeAAC_disablePreference()
DBluetoothSampleRateDialogPreferenceControllerTest.java29 import android.bluetooth.BluetoothCodecStatus;
67 private BluetoothCodecStatus mCodecStatus;
109 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
147 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableIndex_verifyList()
DBluetoothChannelModeDialogPreferenceControllerTest.java29 import android.bluetooth.BluetoothCodecStatus;
67 private BluetoothCodecStatus mCodecStatus;
105 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
134 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableIndex_verifyList()
DBluetoothBitPerSampleDialogPreferenceControllerTest.java29 import android.bluetooth.BluetoothCodecStatus;
67 private BluetoothCodecStatus mCodecStatus;
105 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
137 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableIndex_verifyList()
DBluetoothCodecListPreferenceControllerTest.java33 import android.bluetooth.BluetoothCodecStatus;
72 private BluetoothCodecStatus mCodecStatus;
187 new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault()
204 new BluetoothCodecStatus.Builder() in writeConfigurationValues_checkCodec()
230 new BluetoothCodecStatus.Builder() in writeConfigurationValues_chooseHighestConfig()
DAbstractBluetoothListPreferenceControllerTest.java33 import android.bluetooth.BluetoothCodecStatus;
73 private BluetoothCodecStatus mCodecStatus;
179 mCodecStatus = new BluetoothCodecStatus.Builder().setCodecConfig(mCodecConfigAAC).build(); in getCurrentCodecConfig_verifyConfig()
208 new BluetoothCodecStatus.Builder() in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DBluetoothCodecStatusTest.java548 private static final BluetoothCodecStatus BCS_A =
549 new BluetoothCodecStatus(CONFIG_A, LOCAL_CAPABILITY_A, SELECTABLE_CAPABILITY_A);
550 private static final BluetoothCodecStatus BCS_B =
551 new BluetoothCodecStatus(CONFIG_B, LOCAL_CAPABILITY_B, SELECTABLE_CAPABILITY_B);
552 private static final BluetoothCodecStatus BCS_B_REORDERED =
553 new BluetoothCodecStatus(
555 private static final BluetoothCodecStatus BCS_C =
556 new BluetoothCodecStatus(CONFIG_C, LOCAL_CAPABILITY_C, SELECTABLE_CAPABILITY_C);
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DAbstractBluetoothListPreferenceController.java23 import android.bluetooth.BluetoothCodecStatus;
132 protected BluetoothCodecStatus getBluetoothCodecStatus() { in getBluetoothCodecStatus()
145 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(activeDevice); in getBluetoothCodecStatus()
160 final BluetoothCodecStatus codecStatus = getBluetoothCodecStatus(); in getCurrentCodecConfig()
DBluetoothCodecListPreferenceController.java21 import android.bluetooth.BluetoothCodecStatus;
137 final BluetoothCodecStatus codecStatus = getBluetoothCodecStatus(); in updateState()
222 final BluetoothCodecStatus codecStatus = getBluetoothCodecStatus(); in writeConfigurationValues()
DAbstractBluetoothDialogPreferenceController.java23 import android.bluetooth.BluetoothCodecStatus;
164 final BluetoothCodecStatus codecStatus = in getCurrentCodecConfig()
188 final BluetoothCodecStatus codecStatus = bluetoothA2dp.getCodecStatus(bluetoothDevice); in getSelectableConfigs()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStackEvent.java19 import android.bluetooth.BluetoothCodecStatus;
47 public BluetoothCodecStatus codecStatus;
DA2dpService.java35 import android.bluetooth.BluetoothCodecStatus;
612 BluetoothCodecStatus codecStatus = sm.getCodecStatus(); in setActiveDevice()
733 public BluetoothCodecStatus getCodecStatus(BluetoothDevice device) { in getCodecStatus()
770 BluetoothCodecStatus codecStatus = getCodecStatus(device); in setCodecConfigPreference()
797 BluetoothCodecStatus codecStatus = getCodecStatus(device); in enableOptionalCodecs()
825 BluetoothCodecStatus codecStatus = getCodecStatus(device); in disableOptionalCodecs()
974 BluetoothCodecStatus codecStatus, in codecConfigUpdated()
1169 private void broadcastCodecConfig(BluetoothDevice device, BluetoothCodecStatus codecStatus) { in broadcastCodecConfig()
1172 intent.putExtra(BluetoothCodecStatus.EXTRA_CODEC_STATUS, codecStatus); in broadcastCodecConfig()
1246 BluetoothCodecStatus codecStatus = sm.getCodecStatus(); in updateOptionalCodecsSupport()
[all …]
DA2dpStateMachine.java36 import android.bluetooth.BluetoothCodecStatus;
83 private BluetoothCodecStatus mCodecStatus;
705 BluetoothCodecStatus getCodecStatus() { in getCodecStatus()
713 void processCodecConfigEvent(BluetoothCodecStatus newCodecStatus) { in processCodecConfigEvent()
715 BluetoothCodecStatus prevCodecStatus = mCodecStatus; in processCodecConfigEvent()
836 BluetoothCodecStatus prevCodecStatus, BluetoothCodecStatus newCodecStatus) { in sameSelectableCodec()
DA2dpNativeInterface.java27 import android.bluetooth.BluetoothCodecStatus;
219 new BluetoothCodecStatus( in onCodecConfigChanged()
DA2dpCodecConfig.java21 import android.bluetooth.BluetoothCodecStatus;
84 BluetoothCodecStatus codecStatus, in setCodecConfigPreference()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothA2dp.aidl20 import android.bluetooth.BluetoothCodecStatus;
57BluetoothCodecStatus getCodecStatus(in BluetoothDevice device, in AttributionSource attributionSou… in getCodecStatus()
DBluetoothCodecStatus.aidl19 parcelable BluetoothCodecStatus;
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java22 import android.bluetooth.BluetoothCodecStatus;
209 BluetoothCodecStatus codecStatus = mBluetoothA2dp.getCodecStatus(bluetoothDevice); in getCodecConfig()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java24 import android.bluetooth.BluetoothCodecStatus;
401 BluetoothCodecStatus codecStatus = null; in getCodecValue()

12