Searched refs:getCastDevices (Results 1 – 8 of 8) sorted by relevance
188 when(mController.getCastDevices()).thenReturn(devices); in testStateActive_wifiEnabledAndCasting()232 when(mController.getCastDevices()).thenReturn(devices); in stateActive_wifiConnectedAndCasting_newPipeline()299 when(mController.getCastDevices()).thenReturn(devices); in testStateActive_hotspotEnabledAndConnectedAndCasting()323 when(mController.getCastDevices()).thenReturn(devices); in testHandleClick_castDevicePresent()341 when(mController.getCastDevices()).thenReturn(devices); in testHandleClick_projectionOnly()359 when(mController.getCastDevices()).thenReturn(devices); in testUpdateState_projectionOnly()382 when(mController.getCastDevices()).thenReturn(devices); in testUpdateState_castingAndProjection()407 when(mController.getCastDevices()).thenReturn(devices); in testUpdateState_connectedAndConnecting()440 when(mController.getCastDevices()).thenReturn(devices); in testExpandView_casting_projection()456 when(mController.getCastDevices()).thenReturn(devices); in testExpandView_connecting_projection()[all …]
27 List<CastDevice> getCastDevices(); in getCastDevices() method
156 public List<CastDevice> getCastDevices() { in getCastDevices() method in CastControllerImpl222 return getCastDevices().stream().anyMatch( in hasConnectedCastDevice()
41 public List<CastDevice> getCastDevices() { in getCastDevices() method in FakeCastController
198 for (CastDevice device : mController.getCastDevices()) { in getActiveDevices()263 final List<CastDevice> devices = mController.getCastDevices(); in handleUpdateState()
429 doReturn(buildFakeCastDevice(true)).when(mCastController).getCastDevices(); in castTileAdded_whenDeviceIsCasting()436 doReturn(buildFakeCastDevice(false)).when(mCastController).getCastDevices(); in castTileNotAdded_whenDeviceIsNotCasting()
430 for (CastDevice device : mCastController.getCastDevices()) {
518 for (CastDevice device : mCast.getCastDevices()) { in updateCast()