Home
last modified time | relevance | path

Searched refs:mProfileConnectedDevices (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceControllerTest.java126 private List<BluetoothDevice> mProfileConnectedDevices; field in HandsFreeProfileOutputPreferenceControllerTest
180 mProfileConnectedDevices = new ArrayList<>(); in setUp()
277 mProfileConnectedDevices.clear(); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName()
278 mProfileConnectedDevices.add(mBluetoothDevice); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName()
279 when(mHeadsetProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName()
319 mProfileConnectedDevices.clear(); in updateState_withAvailableDevicesWiredHeadsetActivated_shouldSetDefaultSummary()
320 mProfileConnectedDevices.add(mBluetoothDevice); in updateState_withAvailableDevicesWiredHeadsetActivated_shouldSetDefaultSummary()
321 when(mHeadsetProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in updateState_withAvailableDevicesWiredHeadsetActivated_shouldSetDefaultSummary()
358 mProfileConnectedDevices.clear(); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()
359 mProfileConnectedDevices.add(mLeftBluetoothHapDevice); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()
[all …]
DAudioOutputSwitchPreferenceControllerTest.java136 private List<BluetoothDevice> mProfileConnectedDevices; field in AudioOutputSwitchPreferenceControllerTest
184 mProfileConnectedDevices = new ArrayList<>(); in setUp()
398 mProfileConnectedDevices.clear(); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()
399 mProfileConnectedDevices.add(mLeftBluetoothHapDevice); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()
400 mProfileConnectedDevices.add(mRightBluetoothHapDevice); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()
401 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()
418 mProfileConnectedDevices.clear(); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()
419 mProfileConnectedDevices.add(mLeftBluetoothHapDevice); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()
420 mProfileConnectedDevices.add(mRightBluetoothHapDevice); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()
421 when(mHearingAidProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()
[all …]
DMediaOutputPreferenceControllerTest.java156 private List<BluetoothDevice> mProfileConnectedDevices; field in MediaOutputPreferenceControllerTest
234 mProfileConnectedDevices = new ArrayList<>(); in setUp()
278 mProfileConnectedDevices.clear(); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()
279 mProfileConnectedDevices.add(mBluetoothDevice); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()
280 mProfileConnectedDevices.add(mSecondBluetoothDevice); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()
281 when(mA2dpProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary()
298 mProfileConnectedDevices.clear(); in updateState_withActiveBtDevice_setActivatedDeviceName()
299 mProfileConnectedDevices.add(mBluetoothDevice); in updateState_withActiveBtDevice_setActivatedDeviceName()
300 mProfileConnectedDevices.add(mSecondBluetoothDevice); in updateState_withActiveBtDevice_setActivatedDeviceName()
301 when(mA2dpProfile.getConnectedDevices()).thenReturn(mProfileConnectedDevices); in updateState_withActiveBtDevice_setActivatedDeviceName()
[all …]