Home
last modified time | relevance | path

Searched refs:sessionIds (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierServiceSwapTest.java120 final List<TextClassificationSessionId> sessionIds = in multipleActiveSessions() local
122 assertThat(sessionIds).hasSize(2); in multipleActiveSessions()
123 assertThat(sessionIds.get(0).getValue()).isNotEqualTo(sessionIds.get(1).getValue()); in multipleActiveSessions()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DChildlessActivityTest.java166 final List<ContentCaptureSessionId> sessionIds = service.getAllSessionIds(); in testLaunchAnotherActivity() local
167 assertThat(sessionIds).hasSize(2); in testLaunchAnotherActivity()
168 final ContentCaptureSessionId sessionId1 = sessionIds.get(0); in testLaunchAnotherActivity()
170 final ContentCaptureSessionId sessionId2 = sessionIds.get(1); in testLaunchAnotherActivity()
218 final List<ContentCaptureSessionId> sessionIds = service.getAllSessionIds(); in testLaunchAnotherActivity_onTopOfIt() local
219 assertThat(sessionIds).hasSize(2); in testLaunchAnotherActivity_onTopOfIt()
220 final ContentCaptureSessionId sessionId1 = sessionIds.get(0); in testLaunchAnotherActivity_onTopOfIt()
222 final ContentCaptureSessionId sessionId2 = sessionIds.get(1); in testLaunchAnotherActivity_onTopOfIt()
404 final List<ContentCaptureSessionId> sessionIds = service.getAllSessionIds(); in testAddAndRemoveImportantChildOnDifferentSession() local
405 assertThat(sessionIds).containsExactly(mainSessionId, childSessionId).inOrder(); in testAddAndRemoveImportantChildOnDifferentSession()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DSessionAbandonBehaviorTest.java96 AbandonSessionCallBack(CountDownLatch countDownLatch, int[] sessionIds) { in AbandonSessionCallBack() argument
99 for (int sessionId : sessionIds) { in AbandonSessionCallBack()
211 private static List<PackageInstaller.SessionInfo> getAllChildSessions(int[] sessionIds) { in getAllChildSessions() argument
213 for (int sessionId : sessionIds) { in getAllChildSessions()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java967 List<Integer> sessionIds = retrieveLastSessionIds(); in testMultipleStagedInstall_ApkOnly_VerifyPostReboot() local
968 for (int sessionId: sessionIds) { in testMultipleStagedInstall_ApkOnly_VerifyPostReboot()
995 List<Integer> sessionIds = retrieveLastSessionIds(); in testInstallMultipleStagedSession_PartialFail_ApkOnly_VerifyPostReboot() local
996 for (int sessionId: sessionIds) { in testInstallMultipleStagedSession_PartialFail_ApkOnly_VerifyPostReboot()
1034 List<Integer> sessionIds = retrieveLastSessionIds(); in testFailureReasonPersists_MultipleSession_VerifyPostReboot() local
1035 int failingSessionId = sessionIds.get(0); in testFailureReasonPersists_MultipleSession_VerifyPostReboot()
1036 for (int sessionId: sessionIds) { in testFailureReasonPersists_MultipleSession_VerifyPostReboot()
1365 private void storeSessionIds(List<Integer> sessionIds) throws Exception { in storeSessionIds() argument
1367 writer.write(sessionIds.toString()); in storeSessionIds()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp943 std::list<AMediaDrmSessionId> sessionIds; in Java_android_media_cts_NativeMediaDrmClearkeyTest_testFindSessionIdNative() local
959 sessionIds.push_back(sessionId); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testFindSessionIdNative()
962 for (auto sessionId : sessionIds) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testFindSessionIdNative()