Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DBluetoothCodecDialogPreferenceControllerTest.java61 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothCodecDialogPreferenceControllerTest
80 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
83 mBluetoothA2dpConfigStore, mCallback); in setup()
114 verify(mBluetoothA2dpConfigStore).setCodecType(BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC); in writeConfigurationValues_selectDefault_setHighest()
126 verify(mBluetoothA2dpConfigStore, atLeastOnce()).setCodecType( in writeConfigurationValues_checkCodec()
130 verify(mBluetoothA2dpConfigStore).setCodecType(BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC); in writeConfigurationValues_checkCodec()
133 verify(mBluetoothA2dpConfigStore).setCodecType(BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX); in writeConfigurationValues_checkCodec()
136 verify(mBluetoothA2dpConfigStore).setCodecType( in writeConfigurationValues_checkCodec()
140 verify(mBluetoothA2dpConfigStore).setCodecType(BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC); in writeConfigurationValues_checkCodec()
153 verify(mBluetoothA2dpConfigStore, atLeastOnce()).setCodecPriority( in writeConfigurationValues_resetHighestConfig()
[all …]
DAbstractBluetoothDialogPreferenceControllerTest.java65 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothDialogPreferenceControllerTest
82 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
85 mBluetoothA2dpConfigStore)); in setup()
116 when(mBluetoothA2dpConfigStore.createCodecConfig()).thenReturn(mCodecConfigAAC); in onIndexUpdated_checkFlow()
200 verify(mBluetoothA2dpConfigStore).setCodecType(mCodecConfigAAC.getCodecType()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
201 verify(mBluetoothA2dpConfigStore).setSampleRate(mCodecConfigAAC.getSampleRate()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
202 verify(mBluetoothA2dpConfigStore).setBitsPerSample(mCodecConfigAAC.getBitsPerSample()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
203 verify(mBluetoothA2dpConfigStore).setChannelMode(mCodecConfigAAC.getChannelMode()); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
204 verify(mBluetoothA2dpConfigStore).setCodecPriority(CODEC_PRIORITY_HIGHEST); in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
205 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value( in onBluetoothServiceConnected_verifyBluetoothA2dpConfigStore()
DBluetoothSampleRateDialogPreferenceControllerTest.java61 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothSampleRateDialogPreferenceControllerTest
77 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
80 mBluetoothA2dpConfigStore)); in setup()
109 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_88200); in writeConfigurationValues_selectDefault_setHighest()
115 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_44100); in writeConfigurationValues_checkSampleRate()
118 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_48000); in writeConfigurationValues_checkSampleRate()
121 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_88200); in writeConfigurationValues_checkSampleRate()
124 verify(mBluetoothA2dpConfigStore).setSampleRate(BluetoothCodecConfig.SAMPLE_RATE_96000); in writeConfigurationValues_checkSampleRate()
DBluetoothQualityDialogPreferenceControllerTest.java58 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothQualityDialogPreferenceControllerTest
73 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
76 mBluetoothA2dpConfigStore); in setup()
98 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1000); in writeConfigurationValues_checkSampleRate()
101 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1001); in writeConfigurationValues_checkSampleRate()
104 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1002); in writeConfigurationValues_checkSampleRate()
107 verify(mBluetoothA2dpConfigStore).setCodecSpecific1Value(1003); in writeConfigurationValues_checkSampleRate()
DBluetoothBitPerSampleDialogPreferenceControllerTest.java61 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothBitPerSampleDialogPreferenceControllerTest
76 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
79 mBluetoothA2dpConfigStore)); in setup()
106 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_24); in writeConfigurationValues_selectDefault_setHighest()
112 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_16); in writeConfigurationValues_checkBitsPerSample()
115 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_24); in writeConfigurationValues_checkBitsPerSample()
118 verify(mBluetoothA2dpConfigStore).setBitsPerSample(BluetoothCodecConfig.BITS_PER_SAMPLE_32); in writeConfigurationValues_checkBitsPerSample()
DBluetoothChannelModeDialogPreferenceControllerTest.java61 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothChannelModeDialogPreferenceControllerTest
76 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
79 mBluetoothA2dpConfigStore); in setup()
106 verify(mBluetoothA2dpConfigStore).setChannelMode(BluetoothCodecConfig.CHANNEL_MODE_STEREO); in writeConfigurationValues_selectDefault_setHighest()
112 verify(mBluetoothA2dpConfigStore).setChannelMode(BluetoothCodecConfig.CHANNEL_MODE_MONO); in writeConfigurationValues_checkChannelMode()
115 verify(mBluetoothA2dpConfigStore).setChannelMode(BluetoothCodecConfig.CHANNEL_MODE_STEREO); in writeConfigurationValues_checkChannelMode()
DBluetoothHDAudioPreferenceControllerTest.java61 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in BluetoothHDAudioPreferenceControllerTest
73 mBluetoothA2dpConfigStore = spy(new BluetoothA2dpConfigStore()); in setup()
75 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/
DAbstractBluetoothDialogPreferenceController.java58 protected final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothDialogPreferenceController
63 mBluetoothA2dpConfigStore = store; in AbstractBluetoothDialogPreferenceController()
84 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onIndexUpdated()
114 mBluetoothA2dpConfigStore.setCodecType(config.getCodecType()); in initConfigStore()
115 mBluetoothA2dpConfigStore.setSampleRate(config.getSampleRate()); in initConfigStore()
116 mBluetoothA2dpConfigStore.setBitsPerSample(config.getBitsPerSample()); in initConfigStore()
117 mBluetoothA2dpConfigStore.setChannelMode(config.getChannelMode()); in initConfigStore()
118 mBluetoothA2dpConfigStore.setCodecPriority(CODEC_PRIORITY_HIGHEST); in initConfigStore()
119 mBluetoothA2dpConfigStore.setCodecSpecific1Value(config.getCodecSpecific1()); in initConfigStore()
DBluetoothCodecDialogPreferenceController.java123 mBluetoothA2dpConfigStore.setCodecType(codecTypeValue); in writeConfigurationValues()
124 mBluetoothA2dpConfigStore.setCodecPriority(codecPriorityValue); in writeConfigurationValues()
131 mBluetoothA2dpConfigStore.setSampleRate(getHighestSampleRate(config)); in writeConfigurationValues()
132 mBluetoothA2dpConfigStore.setBitsPerSample(getHighestBitsPerSample(config)); in writeConfigurationValues()
133 mBluetoothA2dpConfigStore.setChannelMode(getHighestChannelMode(config)); in writeConfigurationValues()
DBluetoothQualityDialogPreferenceController.java71 mBluetoothA2dpConfigStore.setCodecSpecific1Value(codecSpecific1Value); in writeConfigurationValues()
DBluetoothChannelModeDialogPreferenceController.java77 mBluetoothA2dpConfigStore.setChannelMode(channelModeValue); in writeConfigurationValues()
DBluetoothSampleRateDialogPreferenceController.java83 mBluetoothA2dpConfigStore.setSampleRate(sampleRateValue); in writeConfigurationValues()
DBluetoothBitPerSampleDialogPreferenceController.java80 mBluetoothA2dpConfigStore.setBitsPerSample(bitsPerSampleValue); in writeConfigurationValues()
/packages/apps/Settings/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceController.java45 protected final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothA2dpPreferenceController
55 mBluetoothA2dpConfigStore = store; in AbstractBluetoothA2dpPreferenceController()
83 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onPreferenceChange()
84 synchronized (mBluetoothA2dpConfigStore) { in onPreferenceChange()
115 synchronized (mBluetoothA2dpConfigStore) { in updateState()
DDevelopmentSettingsDashboardFragment.java87 private final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore = field in DevelopmentSettingsDashboardFragment
132 synchronized (mBluetoothA2dpConfigStore) {
145 synchronized (mBluetoothA2dpConfigStore) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DAbstractBluetoothA2dpPreferenceControllerTest.java61 private BluetoothA2dpConfigStore mBluetoothA2dpConfigStore; field in AbstractBluetoothA2dpPreferenceControllerTest
75 mBluetoothA2dpConfigStore)); in setup()
78 when(mBluetoothA2dpConfigStore.createCodecConfig()).thenReturn(mBluetoothCodecConfig); in setup()