Home
last modified time | relevance | path

Searched refs:getActiveSessions (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/
DMediaSessionManagerTest.java76 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()
/cts/tests/tests/gameservice/src/android/service/games/testing/
DIGameServiceTestService.aidl30 List<String> getActiveSessions(); in getActiveSessions() method
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTestService.java70 public List<String> getActiveSessions() {
71 return ImmutableList.copyOf(TestGameSessionService.getActiveSessions());
DGameServiceTest.java216 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()
DTestGameSessionService.java67 static Set<String> getActiveSessions() { in getActiveSessions() method in TestGameSessionService
/cts/tests/app/src/android/app/cts/
DActivityManagerFgsDelegateTest.java776 List<MediaController> mediaControllers = mediaSessionManager.getActiveSessions( in getMediaControllerForActiveSession()
DActivityManagerFgsBgStartTest.java2466 final List<MediaController> mediaControllers = mediaSessionManager.getActiveSessions( in testStartMediaPlaybackFromBg()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSessionManagerTest.java115 () -> mSessionManager.getActiveSessions(null)); in testGetActiveSessions()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt26736 …method @NonNull public java.util.List<android.media.session.MediaController> getActiveSessions(@Nu…