Searched refs:getCastDevices (Results 1 – 8 of 8) sorted by relevance
179 when(mController.getCastDevices()).thenReturn(devices); in testStateActive_wifiEnabledAndCasting()239 when(mController.getCastDevices()).thenReturn(devices); in stateActive_wifiConnectedAndCasting_newPipeline()255 when(mController.getCastDevices()).thenReturn(devices); in stateActive_ethernetConnectedAndCasting_newPipeline()293 when(mController.getCastDevices()).thenReturn(devices); in testStateActive_hotspotEnabledAndConnectedAndCasting()317 when(mController.getCastDevices()).thenReturn(devices); in testHandleClick_castDevicePresent()335 when(mController.getCastDevices()).thenReturn(devices); in testHandleClick_projectionOnly()353 when(mController.getCastDevices()).thenReturn(devices); in testUpdateState_projectionOnly()376 when(mController.getCastDevices()).thenReturn(devices); in testUpdateState_castingAndProjection()401 when(mController.getCastDevices()).thenReturn(devices); in testUpdateState_connectedAndConnecting()434 when(mController.getCastDevices()).thenReturn(devices); in testExpandView_casting_projection()[all …]
27 List<CastDevice> getCastDevices(); in getCastDevices() method
155 public List<CastDevice> getCastDevices() { in getCastDevices() method in CastControllerImpl221 return getCastDevices().stream().anyMatch( in hasConnectedCastDevice()
41 public List<CastDevice> getCastDevices() { in getCastDevices() method in FakeCastController
201 for (CastDevice device : mController.getCastDevices()) { in getActiveDevices()274 final List<CastDevice> devices = mController.getCastDevices(); in handleUpdateState()
432 doReturn(buildFakeCastDevice(true)).when(mCastController).getCastDevices(); in castTileAdded_whenDeviceIsCasting()439 doReturn(buildFakeCastDevice(false)).when(mCastController).getCastDevices(); in castTileNotAdded_whenDeviceIsNotCasting()
432 for (CastDevice device : mCastController.getCastDevices()) {
523 for (CastDevice device : mCast.getCastDevices()) { in updateCast()