Home
last modified time | relevance | path

Searched refs:sessions (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaSession2ServiceTest.java320 List<MediaSession2> sessions = service.getSessions(); in testGetSessions() local
321 assertTrue(sessions.contains(session)); in testGetSessions()
322 assertEquals(2, sessions.size()); in testGetSessions()
325 sessions = service.getSessions(); in testGetSessions()
326 assertFalse(sessions.contains(session)); in testGetSessions()
339 List<MediaSession2> sessions = service.getSessions(); in testAddSessions_removedWhenClose() local
340 assertTrue(sessions.contains(session)); in testAddSessions_removedWhenClose()
341 assertEquals(2, sessions.size()); in testAddSessions_removedWhenClose()
344 sessions = service.getSessions(); in testAddSessions_removedWhenClose()
345 assertFalse(sessions.contains(session)); in testAddSessions_removedWhenClose()
DStubMediaSession2Service.java73 List<MediaSession2> sessions = getSessions(); in onDestroy() local
74 for (MediaSession2 session : sessions) { in onDestroy()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DPackageInstallerSessionInfoSubject.java37 PackageInstaller.SessionInfo> sessions() { in sessions() method in PackageInstallerSessionInfoSubject
50 return Truth.assertAbout(sessions()).that(session);
DStagedInstallTest.java739 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getStagedSessions(); in assertSessionState() local
741 for (PackageInstaller.SessionInfo session : sessions) { in assertSessionState()