Searched refs:getRoutingSessions (Results 1 – 8 of 8) sorted by relevance
415 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()
171 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()
71 protected List<RoutingSessionInfo> getRoutingSessions(String packageName) { in getRoutingSessions() method in ShadowRouter2Manager
241 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 MediaRouter2Manager484 List<RoutingSessionInfo> sessionInfos = getRoutingSessions(packageName); in transfer()
2712 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
149 return mRouterManager.getRoutingSessions(mPackageName); in getRoutingSessionsForPackage()
1365 mRouter2Manager.getRoutingSessions(packageName);
673 List<RoutingSessionInfo> sessions = mRouter2Manager.getRoutingSessions(mPackageName); in canHandleVolumeKey()