Home
last modified time | relevance | path

Searched refs:selectedRoutes (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java187 final List<String> selectedRoutes = new ArrayList<>(); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice() local
188 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() local
243 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() local
280 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 …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java638 List<MediaRoute2Info> selectedRoutes = getSelectedRoutes(activeSession); in getAvailableRoutes() local
639 availableRoutes.addAll(selectedRoutes); in getAvailableRoutes()
661 availableRoutes = Api34Impl.arrangeRouteListByPreference(selectedRoutes, in getAvailableRoutes()
805 List<MediaRoute2Info> selectedRoutes, in arrangeRouteListByPreference() argument
811 for (MediaRoute2Info selectedRoute : selectedRoutes) { in arrangeRouteListByPreference()
824 Stream.concat(selectedRoutes.stream(), availableRoutes.stream()) in arrangeRouteListByPreference()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManager.kt220 val selectedRoutes = routingSession?.let { mr2manager.get().getSelectedRoutes(it) } in <lambda>() constant
228 println(" selectedRoutes=$selectedRoutes") in <lambda>()
449 val selectedRoutes = routingSession?.let { mr2manager.get().getSelectedRoutes(it) } in <lambda>() constant
476 selectedRoutes?.firstOrNull()?.let { in <lambda>()
/frameworks/base/services/core/java/com/android/server/media/
DSystemMediaRoute2Provider.java561 List<String> selectedRoutes = sessionInfo.getSelectedRoutes(); in containsSelectedRouteWithId() local
563 if (selectedRoutes.size() != 1) { in containsSelectedRouteWithId()
567 String oldSelectedRouteId = MediaRouter2Utils.getOriginalId(selectedRoutes.get(0)); in containsSelectedRouteWithId()
/frameworks/base/media/java/android/media/
DRoutingSessionInfo.java214 List<String> selectedRoutes, in defineVolumeHandling() argument
218 && selectedRoutes.size() > 1) { in defineVolumeHandling()
DMediaRouter2.java1986 List<MediaRoute2Info> selectedRoutes = getSelectedRoutes(); in selectRoute() local
1987 if (containsRouteInfoWithId(selectedRoutes, route.getId())) { in selectRoute()
2025 List<MediaRoute2Info> selectedRoutes = getSelectedRoutes(); in deselectRoute() local
2026 if (!containsRouteInfoWithId(selectedRoutes, route.getId())) { in deselectRoute()
2182 List<String> selectedRoutes = in toString() local
2201 .append(selectedRoutes) in toString()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java926 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()