Home
last modified time | relevance | path

Searched refs:mBluetoothA2dpConfigStore (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DBluetoothCodecDialogPreferenceControllerTest.java68 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothCodecDialogPreferenceControllerTest
88 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
91 mBluetoothA2dpConfigStore, mCallback); in setup()
144 verify(mBluetoothA2dpConfigStore).setCodecType( in writeConfigurationValues_selectDefault_setHighest()
160 verify(mBluetoothA2dpConfigStore, atLeastOnce()).setCodecType( in writeConfigurationValues_checkCodec()
164 verify(mBluetoothA2dpConfigStore).setCodecType(BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC); in writeConfigurationValues_checkCodec()
167 verify(mBluetoothA2dpConfigStore).setCodecType(BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX); in writeConfigurationValues_checkCodec()
170 verify(mBluetoothA2dpConfigStore).setCodecType( in writeConfigurationValues_checkCodec()
174 verify(mBluetoothA2dpConfigStore).setCodecType(BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC); in writeConfigurationValues_checkCodec()
177 verify(mBluetoothA2dpConfigStore).setCodecType( in writeConfigurationValues_checkCodec()
[all …]
DBluetoothCodecListPreferenceControllerTest.java71 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothCodecListPreferenceControllerTest
98 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
102 mContext, mLifecycle, mBluetoothA2dpConfigStore, mCallback); in setup()
198 verify(mBluetoothA2dpConfigStore, times(2)).setCodecType(mCodecTypeSBC); in writeConfigurationValues_selectDefault()
212 verify(mBluetoothA2dpConfigStore, atLeastOnce()).setCodecType(mCodecTypeSBC); in writeConfigurationValues_checkCodec()
215 verify(mBluetoothA2dpConfigStore).setCodecType(mCodecTypeAAC); in writeConfigurationValues_checkCodec()
218 verify(mBluetoothA2dpConfigStore).setCodecType(mCodecTypeAPTX); in writeConfigurationValues_checkCodec()
221 verify(mBluetoothA2dpConfigStore).setCodecType(mCodecTypeLDAC); in writeConfigurationValues_checkCodec()
224 verify(mBluetoothA2dpConfigStore).setCodecType(mCodecTypeOPUS); in writeConfigurationValues_checkCodec()
238 verify(mBluetoothA2dpConfigStore, atLeastOnce()) in writeConfigurationValues_chooseHighestConfig()
[all …]
DBluetoothSampleRateDialogPreferenceControllerTest.java66 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothSampleRateDialogPreferenceControllerTest
82 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
85 mBluetoothA2dpConfigStore)); in setup()
118 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_88200); in writeConfigurationValues_selectDefault_setHighest()
124 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_44100); in writeConfigurationValues_checkSampleRate()
127 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_48000); in writeConfigurationValues_checkSampleRate()
130 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_88200); in writeConfigurationValues_checkSampleRate()
133 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_96000); in writeConfigurationValues_checkSampleRate()
DAbstractBluetoothDialogPreferenceControllerTest.java70 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothDialogPreferenceControllerTest
87 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
90 mBluetoothA2dpConfigStore)); in setup()
127 when(mBluetoothA2dpConfigStore.createCodecConfig()).thenReturn(mCodecConfigAAC); in onIndexUpdated_checkFlow()
223 verify(mBluetoothA2dpConfigStore).setCodecType(mCodecConfigAAC.getCodecType()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
224 verify(mBluetoothA2dpConfigStore).setSampleRate(mCodecConfigAAC.getSampleRate()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
225 verify(mBluetoothA2dpConfigStore).setBitsPerSample(mCodecConfigAAC.getBitsPerSample()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
226 verify(mBluetoothA2dpConfigStore).setChannelMode(mCodecConfigAAC.getChannelMode()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
227 verify(mBluetoothA2dpConfigStore).setCodecPriority(CODEC_PRIORITY_HIGHEST); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
228 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value( in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
DBluetoothQualityDialogPreferenceControllerTest.java64 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothQualityDialogPreferenceControllerTest
79 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
82 mBluetoothA2dpConfigStore); in setup()
104 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1000); in writeConfigurationValues_checkSampleRate()
107 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1001); in writeConfigurationValues_checkSampleRate()
110 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1002); in writeConfigurationValues_checkSampleRate()
113 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1003); in writeConfigurationValues_checkSampleRate()
DAbstractBluetoothListPreferenceControllerTest.java72 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothListPreferenceControllerTest
88 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
93 mContext, mLifecycle, mBluetoothA2dpConfigStore)); in setup()
215 verify(mBluetoothA2dpConfigStore).setCodecType(mCodecConfigAAC.getExtendedCodecType()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
216 verify(mBluetoothA2dpConfigStore).setSampleRate(mCodecConfigAAC.getSampleRate()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
217 verify(mBluetoothA2dpConfigStore).setBitsPerSample(mCodecConfigAAC.getBitsPerSample()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
218 verify(mBluetoothA2dpConfigStore).setChannelMode(mCodecConfigAAC.getChannelMode()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
219 verify(mBluetoothA2dpConfigStore).setCodecPriority(CODEC_PRIORITY_HIGHEST); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
220 verify(mBluetoothA2dpConfigStore) in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
DBluetoothBitPerSampleDialogPreferenceControllerTest.java66 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothBitPerSampleDialogPreferenceControllerTest
81 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
84 mBluetoothA2dpConfigStore)); in setup()
113 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_24); in writeConfigurationValues_selectDefault_setHighest()
119 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_16); in writeConfigurationValues_checkBitsPerSample()
122 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_24); in writeConfigurationValues_checkBitsPerSample()
125 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_32); in writeConfigurationValues_checkBitsPerSample()
DBluetoothChannelModeDialogPreferenceControllerTest.java66 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothChannelModeDialogPreferenceControllerTest
81 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
84 mBluetoothA2dpConfigStore); in setup()
113 verify(mBluetoothA2dpConfigStore).setChannelMode(BluetoothCodecConfig.CHANNEL_MODE_STEREO); in writeConfigurationValues_selectDefault_setHighest()
119 verify(mBluetoothA2dpConfigStore).setChannelMode(BluetoothCodecConfig.CHANNEL_MODE_MONO); in writeConfigurationValues_checkChannelMode()
122 verify(mBluetoothA2dpConfigStore).setChannelMode(BluetoothCodecConfig.CHANNEL_MODE_STEREO); in writeConfigurationValues_checkChannelMode()
DBluetoothHDAudioPreferenceControllerTest.java69 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothHDAudioPreferenceControllerTest
81 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
83 mBluetoothA2dpConfigStore, mCallback); in setup()
DAbstractBluetoothPreferenceControllerTest.java45 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothPreferenceControllerTest
61 mBluetoothA2dpConfigStore)); in setup()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DAbstractBluetoothListPreferenceController.java55 @Nullable protected final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothListPreferenceController
66 mBluetoothA2dpConfigStore = store; in AbstractBluetoothListPreferenceController()
257 if (mBluetoothA2dpConfigStore == null) { in initConfigStore()
261 mBluetoothA2dpConfigStore.setCodecType(config.getExtendedCodecType()); in initConfigStore()
262 mBluetoothA2dpConfigStore.setSampleRate(config.getSampleRate()); in initConfigStore()
263 mBluetoothA2dpConfigStore.setBitsPerSample(config.getBitsPerSample()); in initConfigStore()
264 mBluetoothA2dpConfigStore.setChannelMode(config.getChannelMode()); in initConfigStore()
265 mBluetoothA2dpConfigStore.setCodecPriority(CODEC_PRIORITY_HIGHEST); in initConfigStore()
266 mBluetoothA2dpConfigStore.setCodecSpecific1Value(config.getCodecSpecific1()); in initConfigStore()
DBluetoothCodecListPreferenceController.java96 if (mBluetoothA2dpConfigStore == null) { in onPreferenceChange()
102 codecConfig = mBluetoothA2dpConfigStore.createCodecConfigFromCodecType(); in onPreferenceChange()
104 codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onPreferenceChange()
248 if (mBluetoothA2dpConfigStore == null) { in writeConfigurationValues()
253 mBluetoothA2dpConfigStore.setCodecType(selectedCodecType); in writeConfigurationValues()
254 mBluetoothA2dpConfigStore.setCodecPriority(BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST); in writeConfigurationValues()
255 mBluetoothA2dpConfigStore.setSampleRate( in writeConfigurationValues()
258 mBluetoothA2dpConfigStore.setBitsPerSample( in writeConfigurationValues()
261 mBluetoothA2dpConfigStore.setChannelMode( in writeConfigurationValues()
DAbstractBluetoothDialogPreferenceController.java63 protected final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothDialogPreferenceController
68 mBluetoothA2dpConfigStore = store; in AbstractBluetoothDialogPreferenceController()
89 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onIndexUpdated()
119 mBluetoothA2dpConfigStore.setCodecType(config.getCodecType()); in initConfigStore()
120 mBluetoothA2dpConfigStore.setSampleRate(config.getSampleRate()); in initConfigStore()
121 mBluetoothA2dpConfigStore.setBitsPerSample(config.getBitsPerSample()); in initConfigStore()
122 mBluetoothA2dpConfigStore.setChannelMode(config.getChannelMode()); in initConfigStore()
123 mBluetoothA2dpConfigStore.setCodecPriority(CODEC_PRIORITY_HIGHEST); in initConfigStore()
124 mBluetoothA2dpConfigStore.setCodecSpecific1Value(config.getCodecSpecific1()); in initConfigStore()
DBluetoothCodecDialogPreferenceController.java139 mBluetoothA2dpConfigStore.setCodecType(codecTypeValue); in writeConfigurationValues()
140 mBluetoothA2dpConfigStore.setCodecPriority(codecPriorityValue); in writeConfigurationValues()
147 mBluetoothA2dpConfigStore.setSampleRate(getHighestSampleRate(config)); in writeConfigurationValues()
148 mBluetoothA2dpConfigStore.setBitsPerSample(getHighestBitsPerSample(config)); in writeConfigurationValues()
149 mBluetoothA2dpConfigStore.setChannelMode(getHighestChannelMode(config)); in writeConfigurationValues()
DBluetoothQualityDialogPreferenceController.java71 mBluetoothA2dpConfigStore.setCodecSpecific1Value(codecSpecific1Value); in writeConfigurationValues()
DBluetoothSampleRateDialogPreferenceController.java83 mBluetoothA2dpConfigStore.setSampleRate(sampleRateValue); in writeConfigurationValues()
DBluetoothChannelModeDialogPreferenceController.java77 mBluetoothA2dpConfigStore.setChannelMode(channelModeValue); in writeConfigurationValues()
DBluetoothBitPerSampleDialogPreferenceController.java80 mBluetoothA2dpConfigStore.setBitsPerSample(bitsPerSampleValue); in writeConfigurationValues()
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java50 protected final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothA2dpPreferenceController
63 mBluetoothA2dpConfigStore = store; in AbstractBluetoothA2dpPreferenceController()
92 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onPreferenceChange()
93 synchronized (mBluetoothA2dpConfigStore) { in onPreferenceChange()
122 synchronized (mBluetoothA2dpConfigStore) { in updateState()
DDevelopmentSettingsDashboardFragment.java104 private final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore = field in DevelopmentSettingsDashboardFragment
149 synchronized (mBluetoothA2dpConfigStore) {
162 synchronized (mBluetoothA2dpConfigStore) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceControllerTest.java61 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothA2dpPreferenceControllerTest
75 mBluetoothA2dpConfigStore)); in setup()
79 when(mBluetoothA2dpConfigStore.createCodecConfig()).thenReturn(mBluetoothCodecConfig); in setup()