Home
last modified time | relevance | path

Searched refs:getRoutingSessions (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java415 assertThat(mManager.getRoutingSessions(mPackageName)).hasSize(1); in testGetRoutingSessions()
422 List<RoutingSessionInfo> sessions = mManager.getRoutingSessions(mPackageName); in testGetRoutingSessions()
430 assertThat(mManager.getRoutingSessions(mPackageName)).hasSize(1); in testGetRoutingSessions()
493 assertThat(mManager.getRoutingSessions(mPackageName)).hasSize(1); in testRouterRelease_managerGetRoutingSessions()
497 mManager.getRoutingSessions(mPackageName).get(0), in testRouterRelease_managerGetRoutingSessions()
503 assertThat(mManager.getRoutingSessions(mPackageName)).hasSize(2); in testRouterRelease_managerGetRoutingSessions()
510 assertThat(mManager.getRoutingSessions(mPackageName)).hasSize(1); in testRouterRelease_managerGetRoutingSessions()
542 List<RoutingSessionInfo> sessions = mManager.getRoutingSessions(mPackageName); in testSelectAndTransferAndRelease()
659 List<RoutingSessionInfo> sessions = mManager.getRoutingSessions(mPackageName); in testTransfer_ignored_fails()
742 List<RoutingSessionInfo> sessions = mManager.getRoutingSessions(mPackageName); in testSetSessionVolume()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java171 when(mRouterManager.getRoutingSessions(anyString())) in stopScan_startFirst_callsUnregister()
217 when(mRouterManager.getRoutingSessions(anyString())) in onSessionReleased_shouldUpdateConnectedDevice()
229 when(mRouterManager.getRoutingSessions(anyString())) in onSessionReleased_shouldUpdateConnectedDevice()
339 when(mRouterManager.getRoutingSessions(TEST_PACKAGE_NAME)).thenReturn(routingSessionInfos); in onRouteChanged_getAvailableRoutesWithPreferenceListExit_ordersRoutes()
366 when(mRouterManager.getRoutingSessions(TEST_PACKAGE_NAME)).thenReturn(routingSessionInfos); in onRouteChanged_preferenceListUpdateWithDifferentPkg_notOrdersRoutes()
761 when(mRouterManager.getRoutingSessions(anyString())) in onTransferred_getAvailableRoutes_shouldAddMediaDevice()
772 when(mRouterManager.getRoutingSessions(anyString())) in onTransferred_getAvailableRoutes_shouldAddMediaDevice()
790 when(mRouterManager.getRoutingSessions(anyString())) in onSessionUpdated_shouldDispatchDeviceListAdded()
877 when(mRouterManager.getRoutingSessions(TEST_PACKAGE_NAME)) in onRoutesUpdated_setsFirstSelectedRouteAsCurrentConnectedDevice()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowRouter2Manager.java71 protected List<RoutingSessionInfo> getRoutingSessions(String packageName) { in getRoutingSessions() method in ShadowRouter2Manager
/frameworks/base/media/java/android/media/
DMediaRouter2Manager.java241 List<RoutingSessionInfo> sessions = getRoutingSessions(packageName); in getAvailableRoutes()
254 List<RoutingSessionInfo> sessions = getRoutingSessions(packageName); in getTransferableRoutes()
424 public List<RoutingSessionInfo> getRoutingSessions(@NonNull String packageName) { in getRoutingSessions() method in MediaRouter2Manager
484 List<RoutingSessionInfo> sessionInfos = getRoutingSessions(packageName); in transfer()
DMediaRouter2.java2712 List<RoutingSessionInfo> sessionInfos = getRoutingSessions(); in transferTo()
2719 List<RoutingSessionInfo> sessionInfos = getRoutingSessions(); in stop()
2861 List<RoutingSessionInfo> sessions = getRoutingSessions(); in getControllers()
3103 private List<RoutingSessionInfo> getRoutingSessions() { in getRoutingSessions() method in MediaRouter2.ProxyMediaRouter2Impl
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DManagerInfoMediaManager.java149 return mRouterManager.getRoutingSessions(mPackageName); in getRoutingSessionsForPackage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java1365 mRouter2Manager.getRoutingSessions(packageName);
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java673 List<RoutingSessionInfo> sessions = mRouter2Manager.getRoutingSessions(mPackageName); in canHandleVolumeKey()