Searched refs:selectedRoutes (Results 1 – 7 of 7) sorted by relevance
187 final List<String> selectedRoutes = new ArrayList<>(); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice() local188 selectedRoutes.add(TEST_ID); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()189 when(sessionInfo.getSelectedRoutes()).thenReturn(selectedRoutes); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice()242 final List<String> selectedRoutes = new ArrayList<>(); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice() local243 selectedRoutes.add(TEST_ID); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice()244 when(sessionInfo.getSelectedRoutes()).thenReturn(selectedRoutes); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice()279 final List<String> selectedRoutes = new ArrayList<>(); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice() local280 selectedRoutes.add(TEST_ID); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice()281 when(sessionInfo.getSelectedRoutes()).thenReturn(selectedRoutes); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice()312 final List<String> selectedRoutes = new ArrayList<>(); in onRoutesChanged_getAvailableRoutes_shouldFilterDevice() local[all …]
638 List<MediaRoute2Info> selectedRoutes = getSelectedRoutes(activeSession); in getAvailableRoutes() local639 availableRoutes.addAll(selectedRoutes); in getAvailableRoutes()661 availableRoutes = Api34Impl.arrangeRouteListByPreference(selectedRoutes, in getAvailableRoutes()805 List<MediaRoute2Info> selectedRoutes, in arrangeRouteListByPreference() argument811 for (MediaRoute2Info selectedRoute : selectedRoutes) { in arrangeRouteListByPreference()824 Stream.concat(selectedRoutes.stream(), availableRoutes.stream()) in arrangeRouteListByPreference()
220 val selectedRoutes = routingSession?.let { mr2manager.get().getSelectedRoutes(it) } in <lambda>() constant228 println(" selectedRoutes=$selectedRoutes") in <lambda>()449 val selectedRoutes = routingSession?.let { mr2manager.get().getSelectedRoutes(it) } in <lambda>() constant476 selectedRoutes?.firstOrNull()?.let { in <lambda>()
561 List<String> selectedRoutes = sessionInfo.getSelectedRoutes(); in containsSelectedRouteWithId() local563 if (selectedRoutes.size() != 1) { in containsSelectedRouteWithId()567 String oldSelectedRouteId = MediaRouter2Utils.getOriginalId(selectedRoutes.get(0)); in containsSelectedRouteWithId()
214 List<String> selectedRoutes, in defineVolumeHandling() argument218 && selectedRoutes.size() > 1) { in defineVolumeHandling()
1986 List<MediaRoute2Info> selectedRoutes = getSelectedRoutes(); in selectRoute() local1987 if (containsRouteInfoWithId(selectedRoutes, route.getId())) { in selectRoute()2025 List<MediaRoute2Info> selectedRoutes = getSelectedRoutes(); in deselectRoute() local2026 if (!containsRouteInfoWithId(selectedRoutes, route.getId())) { in deselectRoute()2182 List<String> selectedRoutes = in toString() local2201 .append(selectedRoutes) in toString()
926 List<String> selectedRoutes = mManager.getSelectedRoutes(newSessionInfo).stream() in testGetSelectableRoutes_notReturnsSelectedRoutes()931 assertThat(selectedRoutes).doesNotContain(selectableRoute.getId()); in testGetSelectableRoutes_notReturnsSelectedRoutes()935 assertThat(selectedRoutes).contains(deselectableRoute.getId()); in testGetSelectableRoutes_notReturnsSelectedRoutes()