Searched refs:getActiveSessions (Results 1 – 9 of 9) sorted by relevance
76 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper()91 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper()110 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_noMediaSession()
30 List<String> getActiveSessions(); in getActiveSessions() method
70 public List<String> getActiveSessions() {71 return ImmutableList.copyOf(TestGameSessionService.getActiveSessions());
216 assertThat(getTestService().getActiveSessions()).containsExactly( in gameService_startsGameSessionsForGames()235 assertThat(getTestService().getActiveSessions()).containsExactly( in gameService_multipleGames_startsGameSessionsForGames()270 assertThat(getTestService().getActiveSessions()).containsExactly( in gameService_multipleGamesIncludingStops_startsGameSessionsForGames()578 assertThat(getTestService().getActiveSessions()).containsExactly( in gamePutInBackgroundAndRestoredViaRecentsUi_gameSessionRestarted()589 return getTestService().getActiveSessions().isEmpty(); in gamePutInBackgroundAndRestoredViaRecentsUi_gameSessionRestarted()612 return getTestService().getActiveSessions().size() == 1 in gamePutInBackgroundAndRestoredViaRecentsUi_gameSessionRestarted()613 && getTestService().getActiveSessions().get(0).equals( in gamePutInBackgroundAndRestoredViaRecentsUi_gameSessionRestarted()
67 static Set<String> getActiveSessions() { in getActiveSessions() method in TestGameSessionService
776 List<MediaController> mediaControllers = mediaSessionManager.getActiveSessions( in getMediaControllerForActiveSession()
2466 final List<MediaController> mediaControllers = mediaSessionManager.getActiveSessions( in testStartMediaPlaybackFromBg()
115 () -> mSessionManager.getActiveSessions(null)); in testGetActiveSessions()
26736 …method @NonNull public java.util.List<android.media.session.MediaController> getActiveSessions(@Nu…