Home
last modified time | relevance | path

Searched refs:mCodecStatus (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DAbstractBluetoothDialogPreferenceControllerTest.java71 private BluetoothCodecStatus mCodecStatus; field in AbstractBluetoothDialogPreferenceControllerTest
124 mCodecStatus = new BluetoothCodecStatus.Builder().setCodecConfig(mCodecConfigAAC).build(); in onIndexUpdated_checkFlow()
126 mActiveDevice)).thenReturn(mCodecStatus); in onIndexUpdated_checkFlow()
164 mCodecStatus = new BluetoothCodecStatus.Builder().setCodecConfig(mCodecConfigAAC).build(); in getCurrentCodecConfig_verifyConfig()
166 mActiveDevice)).thenReturn(mCodecStatus); in getCurrentCodecConfig_verifyConfig()
174 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableConfigs_verifyConfig()
179 mActiveDevice)).thenReturn(mCodecStatus); in getSelectableConfigs_verifyConfig()
187 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableByCodecType_verifyConfig()
192 mActiveDevice)).thenReturn(mCodecStatus); in getSelectableByCodecType_verifyConfig()
201 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableByCodecType_unavailable()
[all …]
DBluetoothCodecDialogPreferenceControllerTest.java69 private BluetoothCodecStatus mCodecStatus; field in BluetoothCodecDialogPreferenceControllerTest
134 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
138 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_selectDefault_setHighest()
152 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_checkCodec()
156 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_checkCodec()
185 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_resetHighestConfig()
189 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_resetHighestConfig()
228 mCodecStatus = new BluetoothCodecStatus.Builder() in onHDAudioEnabled_optionalCodecEnabled_setsCodecTypeAsOpus()
232 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in onHDAudioEnabled_optionalCodecEnabled_setsCodecTypeAsOpus()
247 mCodecStatus = new BluetoothCodecStatus.Builder() in onHDAudioEnabled_optionalCodecEnabled_setsCodecTypeAsAAC()
[all …]
DBluetoothQualityDialogPreferenceControllerTest.java65 private BluetoothCodecStatus mCodecStatus; field in BluetoothQualityDialogPreferenceControllerTest
125 mCodecStatus = new BluetoothCodecStatus.Builder() in updateState_codeTypeIsLDAC_enablePreference()
129 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in updateState_codeTypeIsLDAC_enablePreference()
139 mCodecStatus = new BluetoothCodecStatus.Builder() in updateState_codeTypeAAC_disablePreference()
143 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in updateState_codeTypeAAC_disablePreference()
DBluetoothCodecListPreferenceControllerTest.java72 private BluetoothCodecStatus mCodecStatus; field in BluetoothCodecListPreferenceControllerTest
186 mCodecStatus = in writeConfigurationValues_selectDefault()
191 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_selectDefault()
203 mCodecStatus = in writeConfigurationValues_checkCodec()
208 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_checkCodec()
229 mCodecStatus = in writeConfigurationValues_chooseHighestConfig()
234 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_chooseHighestConfig()
DBluetoothSampleRateDialogPreferenceControllerTest.java67 private BluetoothCodecStatus mCodecStatus; field in BluetoothSampleRateDialogPreferenceControllerTest
109 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
114 mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_selectDefault_setHighest()
147 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableIndex_verifyList()
152 mActiveDevice)).thenReturn(mCodecStatus); in getSelectableIndex_verifyList()
DBluetoothChannelModeDialogPreferenceControllerTest.java67 private BluetoothCodecStatus mCodecStatus; field in BluetoothChannelModeDialogPreferenceControllerTest
105 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
109 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_selectDefault_setHighest()
134 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableIndex_verifyList()
138 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in getSelectableIndex_verifyList()
DBluetoothBitPerSampleDialogPreferenceControllerTest.java67 private BluetoothCodecStatus mCodecStatus; field in BluetoothBitPerSampleDialogPreferenceControllerTest
105 mCodecStatus = new BluetoothCodecStatus.Builder() in writeConfigurationValues_selectDefault_setHighest()
109 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in writeConfigurationValues_selectDefault_setHighest()
137 mCodecStatus = new BluetoothCodecStatus.Builder() in getSelectableIndex_verifyList()
141 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in getSelectableIndex_verifyList()
DAbstractBluetoothListPreferenceControllerTest.java73 private BluetoothCodecStatus mCodecStatus; field in AbstractBluetoothListPreferenceControllerTest
179 mCodecStatus = new BluetoothCodecStatus.Builder().setCodecConfig(mCodecConfigAAC).build(); in getCurrentCodecConfig_verifyConfig()
180 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in getCurrentCodecConfig_verifyConfig()
207 mCodecStatus = in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
212 when(mBluetoothA2dp.getCodecStatus(mActiveDevice)).thenReturn(mCodecStatus); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java83 private BluetoothCodecStatus mCodecStatus; field in A2dpStateMachine
707 return mCodecStatus; in getCodecStatus()
715 BluetoothCodecStatus prevCodecStatus = mCodecStatus; in processCodecConfigEvent()
718 if (mCodecStatus != null) { in processCodecConfigEvent()
719 prevCodecConfig = mCodecStatus.getCodecConfig(); in processCodecConfigEvent()
721 mCodecStatus = newCodecStatus; in processCodecConfigEvent()
742 if (isConnected() && !sameSelectableCodec(prevCodecStatus, mCodecStatus)) { in processCodecConfigEvent()
751 BluetoothCodecConfig newCodecConfig = mCodecStatus.getCodecConfig(); in processCodecConfigEvent()
772 mA2dpService.codecConfigUpdated(mDevice, mCodecStatus, false); in processCodecConfigEvent()
779 mA2dpService.codecConfigUpdated(mDevice, mCodecStatus, sameAudioFeedingParameters); in processCodecConfigEvent()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java237 mCodecStatus = null; in LeAudioGroupDescriptor()
250 BluetoothLeAudioCodecStatus mCodecStatus; field in LeAudioService.LeAudioGroupDescriptor
3097 if (descriptor.mCodecStatus != null) { in messageFromNative()
3103 descriptor.mCodecStatus = status; in messageFromNative()
4721 return descriptor.mCodecStatus; in getCodecStatus()
4767 if (descriptor.mCodecStatus == null) { in setCodecConfigPreference()