Searched refs:mRouteInfo (Results 1 – 8 of 8) sorted by relevance
39 private TestableRouteInfo mRouteInfo; field in MediaRouteInfoTest67 mRouteInfo = new TestableRouteInfo(); in setUp()75 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_notLiveVideo()85 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_includesLiveVideo()92 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_noPresentationDisplay()101 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_wifiDisplayOnly()110 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_externalDisplayOnly()119 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_internalDisplayOnly()129 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_addressNotMatch()138 mRouteInfo.updatePresentationDisplay(); in testGetPresentationDisplay_containsWifiAndExternalDisplays_returnWifiDisplay()[all …]
56 private MediaRoute2Info mRouteInfo; field in InfoMediaDeviceTest72 when(mRouteInfo.getName()).thenReturn(TEST_NAME); in getName_shouldReturnName()79 when(mRouteInfo.getClientPackageName()).thenReturn(null); in getSummary_clientPackageNameIsNull_returnNull()86 when(mRouteInfo.getClientPackageName()).thenReturn(TEST_PACKAGE_NAME); in getSummary_clientPackageNameIsNotNull_returnActive()94 when(mRouteInfo.getId()).thenReturn(TEST_ID); in getId_shouldReturnId()101 when(mRouteInfo.getType()).thenReturn(TYPE_REMOTE_TV); in getDrawableResId_returnCorrectResId()106 when(mRouteInfo.getType()).thenReturn(TYPE_REMOTE_SPEAKER); in getDrawableResId_returnCorrectResId()111 when(mRouteInfo.getType()).thenReturn(TYPE_GROUP); in getDrawableResId_returnCorrectResId()120 when(mRouteInfo.getFeatures()).thenReturn(features); in getDrawableResIdByFeature_returnCorrectResId()127 when(mRouteInfo.getFeatures()).thenReturn(features); in getDrawableResIdByFeature_returnCorrectResId()[all …]
46 private MediaRoute2Info mRouteInfo; field in MediaDeviceUtilsTest73 when(mRouteInfo.getId()).thenReturn(TEST_ROUTE_ID); in getId_returnRouteInfoId()75 final String id = MediaDeviceUtils.getId(mRouteInfo); in getId_returnRouteInfoId()
86 protected final MediaRoute2Info mRouteInfo; field in MediaDevice93 mRouteInfo = info; in MediaDevice()204 if (mRouteInfo == null) { in requestSetVolume()217 if (mRouteInfo == null) { in getMaxVolume()221 return mRouteInfo.getVolumeMax(); in getMaxVolume()230 if (mRouteInfo == null) { in getCurrentVolume()234 return mRouteInfo.getVolume(); in getCurrentVolume()243 if (mRouteInfo == null) { in getClientPackageName()265 if (mRouteInfo == null) { in connect()383 if (mRouteInfo == null) { in getFeatures()[all …]
51 return mRouteInfo.getName().toString(); in getName()56 return mRouteInfo.getClientPackageName() != null in getSummary()75 switch (mRouteInfo.getType()) { in getDrawableResId()93 final List<String> features = mRouteInfo.getFeatures(); in getDrawableResIdByFeature()107 return MediaDeviceUtils.getId(mRouteInfo); in getId()
61 switch (mRouteInfo.getType()) { in getName()71 name = mRouteInfo.getName(); in getName()101 switch (mRouteInfo.getType()) { in getDrawableResId()122 switch (mRouteInfo.getType()) { in getId()
122 mRouterManager.transfer(info, device.mRouteInfo); in connectDeviceWithoutPackageName()142 if (info != null && info.getSelectableRoutes().contains(device.mRouteInfo.getId())) { in addDeviceToPlayMedia()143 mRouterManager.selectRoute(info, device.mRouteInfo); in addDeviceToPlayMedia()180 if (info != null && info.getSelectedRoutes().contains(device.mRouteInfo.getId())) { in removeDeviceFromPlayMedia()181 mRouterManager.deselectRoute(info, device.mRouteInfo); in removeDeviceFromPlayMedia()
123 private final RouteInfo mRouteInfo; in testMatches() field in RouteInfoTest.PatchedRouteInfo126 mRouteInfo = new RouteInfo(destination, gateway, iface); in testMatches()130 return mRouteInfo.matches(destination); in testMatches()