Searched refs:sessions (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaSession2ServiceTest.java | 320 List<MediaSession2> sessions = service.getSessions(); in testGetSessions() local 321 assertThat(sessions).contains(session); in testGetSessions() 322 assertThat(sessions).hasSize(2); in testGetSessions() 325 sessions = service.getSessions(); in testGetSessions() 326 assertThat(sessions.contains(session)).isFalse(); in testGetSessions() 339 List<MediaSession2> sessions = service.getSessions(); in testAddSessions_removedWhenClose() local 340 assertThat(sessions.contains(session)).isTrue(); in testAddSessions_removedWhenClose() 341 assertThat(sessions).hasSize(2); in testAddSessions_removedWhenClose() 344 sessions = service.getSessions(); in testAddSessions_removedWhenClose() 345 assertThat(sessions.contains(session)).isFalse(); in testAddSessions_removedWhenClose()
|
D | StubMediaSession2Service.java | 73 List<MediaSession2> sessions = getSessions(); in onDestroy() local 74 for (MediaSession2 session : sessions) { in onDestroy()
|
D | MediaSessionTest.java | 1017 List<MediaSession> sessions = new ArrayList<>(); in testSessionCreationLimit() local 1020 sessions.add(new MediaSession(mContext, "testSessionCreationLimit")); in testSessionCreationLimit() 1026 for (MediaSession session : sessions) { in testSessionCreationLimit() 1038 List<MediaSession> sessions = new ArrayList<>(); in testSessionCreationLimitWithMediaSessionRelease() local 1044 sessions.add(new MediaSession( in testSessionCreationLimitWithMediaSessionRelease() 1053 for (MediaSession session : sessions) { in testSessionCreationLimitWithMediaSessionRelease() 1067 List<MediaSession> sessions = new ArrayList<>(); in testSessionCreationLimitWithMediaSession2Release() local 1070 sessions.add(new MediaSession( in testSessionCreationLimitWithMediaSession2Release() 1081 for (MediaSession session : sessions) { in testSessionCreationLimitWithMediaSession2Release()
|
/cts/tests/mediapc/requirements/ |
D | requirements.txtpb | 20 description: "- Concurrent video codec sessions" 25 …specification: "MUST advertise the maximum number of hardware video decoder sessions that can be r… 59 description: "- Concurrent video codec sessions\n- AV1 hardware decoder" 64 …specification: "MUST support 6 instances of hardware video decoder sessions (AVC or HEVC) in any c… 71 …specification: "MUST support 6 instances of hardware video decoder sessions (AVC, HEVC, VP9* or la… 78 …specification: "MUST support 6 instances of hardware video decoder sessions (AVC, HEVC, VP9, AV1 o… 85 …oder sessions (AVC, HEVC, VP9, AV1 or later) in any codec combination running concurrently with 3 … 92 …sessions (AVC, HEVC, VP9, AV1, or later) in any codec combination running concurrently with 3 sess… 98 description: "- Concurrent video codec sessions" 103 …specification: "MUST advertise the maximum number of hardware video encoder sessions that can be r… [all …]
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | PackageInstallerSessionInfoSubject.java | 37 PackageInstaller.SessionInfo> sessions() { in sessions() method in PackageInstallerSessionInfoSubject 50 return Truth.assertAbout(sessions()).that(session);
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | ArchiveTest.java | 451 List<PackageInstaller.SessionInfo> sessions = mPackageInstaller.getAllSessions(); in abandonPendingUnarchivalSessions() local 452 for (PackageInstaller.SessionInfo session : sessions) { in abandonPendingUnarchivalSessions() 466 List<PackageInstaller.SessionInfo> sessions = mPackageInstaller.getAllSessions(); in getUnarchivalSessionId() local 467 for (PackageInstaller.SessionInfo session : sessions) { in getUnarchivalSessionId()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 420 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getActiveStagedSessions(); in testGetActiveStagedSessionsNoSessionActive() local 421 assertThat(sessions).isEmpty(); in testGetActiveStagedSessionsNoSessionActive() 1494 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getStagedSessions(); in assertSessionState() local 1496 for (PackageInstaller.SessionInfo session : sessions) { in assertSessionState()
|