Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceControllerTest.java128 private List<BluetoothDevice> mLeAudioActiveDevices; field in HandsFreeProfileOutputPreferenceControllerTest
182 mLeAudioActiveDevices = new ArrayList<>(); in setUp()
504 mLeAudioActiveDevices.clear(); in updateState_leAudioDeviceActive_shouldSetActivatedDeviceName()
505 mLeAudioActiveDevices.add(mBluetoothDevice); in updateState_leAudioDeviceActive_shouldSetActivatedDeviceName()
507 when(mLeAudioProfile.getActiveDevices()).thenReturn(mLeAudioActiveDevices); in updateState_leAudioDeviceActive_shouldSetActivatedDeviceName()
539 mLeAudioActiveDevices.clear(); in findActiveDevice_allProfilesWithActiveDevice_returnHADevice()
540 mLeAudioActiveDevices.add(btLeDevice); in findActiveDevice_allProfilesWithActiveDevice_returnHADevice()
546 when(mLeAudioProfile.getActiveDevices()).thenReturn(mLeAudioActiveDevices); in findActiveDevice_allProfilesWithActiveDevice_returnHADevice()
555 mLeAudioActiveDevices.clear(); in findActiveDevice_headsetDeviceAndLeAudioDeviceActive_returnLeAudioDevice()
556 mLeAudioActiveDevices.add(btLeDevice); in findActiveDevice_headsetDeviceAndLeAudioDeviceActive_returnLeAudioDevice()
[all …]
DMediaOutputPreferenceControllerTest.java158 private List<BluetoothDevice> mLeAudioActiveDevices; field in MediaOutputPreferenceControllerTest
236 mLeAudioActiveDevices = new ArrayList<>(); in setUp()
338 mLeAudioActiveDevices.clear(); in updateState_withActiveLeAudioDevice_setActivatedDeviceName()
339 mLeAudioActiveDevices.add(mBluetoothDevice); in updateState_withActiveLeAudioDevice_setActivatedDeviceName()
341 when(mLeAudioProfile.getActiveDevices()).thenReturn(mLeAudioActiveDevices); in updateState_withActiveLeAudioDevice_setActivatedDeviceName()
509 mLeAudioActiveDevices.clear(); in findActiveDevice_allProfilesWithActiveDevice_returnHADevice()
510 mLeAudioActiveDevices.add(btLeDevice); in findActiveDevice_allProfilesWithActiveDevice_returnHADevice()
515 when(mLeAudioProfile.getActiveDevices()).thenReturn(mLeAudioActiveDevices); in findActiveDevice_allProfilesWithActiveDevice_returnHADevice()
524 mLeAudioActiveDevices.clear(); in findActiveDevice_a2dpDeviceAndLeAudioDeviceActive_returnLeAudioDevice()
525 mLeAudioActiveDevices.add(btLeDevice); in findActiveDevice_a2dpDeviceAndLeAudioDeviceActive_returnLeAudioDevice()
[all …]
DAudioOutputSwitchPreferenceControllerTest.java138 private List<BluetoothDevice> mLeAudioActiveDevices; field in AudioOutputSwitchPreferenceControllerTest
186 mLeAudioActiveDevices = new ArrayList<>(); in setUp()
530 mLeAudioActiveDevices.clear(); in findActiveLeAudioDevice_noActiveDevice_returnNull()
531 when(mLeAudioProfile.getActiveDevices()).thenReturn(mLeAudioActiveDevices); in findActiveLeAudioDevice_noActiveDevice_returnNull()
538 mLeAudioActiveDevices.clear(); in findActiveLeAudioDevice_withActiveDevice_returnActiveDevice()
539 mLeAudioActiveDevices.add(mBluetoothDevice); in findActiveLeAudioDevice_withActiveDevice_returnActiveDevice()
540 when(mLeAudioProfile.getActiveDevices()).thenReturn(mLeAudioActiveDevices); in findActiveLeAudioDevice_withActiveDevice_returnActiveDevice()