Home
last modified time | relevance | path

Searched refs:getMediaDevices (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputIndicatorSliceTest.java144 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in getSlice_withConnectedDevice_verifyMetadata()
165 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in getSlice_noConnectedDevice_returnErrorSlice()
179 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in getSlice_audioModeIsInCommunication_returnErrorSlice()
194 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in getSlice_audioModeIsRingtone_returnErrorSlice()
209 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in getSlice_audioModeIsInCall_returnErrorSlice()
296 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in isVisible_allConditionMatched_returnTrue()
309 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in isVisible_noActiveSession_returnFalse()
322 when(sMediaOutputIndicatorWorker.getMediaDevices()).thenReturn(mDevices); in isVisible_noActiveSession_returnTrue()
DMediaDeviceUpdateWorkerTest.java143 new ArrayList<>(mMediaDeviceUpdateWorker.getMediaDevices()); in onDeviceListUpdate_sameDeviceList_shouldBeEqual()
162 new ArrayList<>(mMediaDeviceUpdateWorker.getMediaDevices()); in onDeviceListUpdate_add1DeviceToDeviceList_shouldBeEqual()
176 new ArrayList<>(mMediaDeviceUpdateWorker.getMediaDevices()); in onDeviceListUpdate_less1DeviceToDeviceList_shouldBeEqual()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java129 && getWorker().getMediaDevices().size() > 0 in isVisible()
DMediaOutputIndicatorWorker.java155 Collection<MediaDevice> getMediaDevices() { in getMediaDevices() method in MediaOutputIndicatorWorker
DMediaDeviceUpdateWorker.java136 public Collection<MediaDevice> getMediaDevices() { in getMediaDevices() method in MediaDeviceUpdateWorker