Home
last modified time | relevance | path

Searched refs:session1 (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp138 hidl_vec<uint8_t> session1; in main() local
141 session1 = sessionId; in main()
149 FAIL_CHECK(cas->processEcm(session1, ecm) == Status::OK); in main()
161 FAIL_CHECK(descrambler->setMediaCasSession(session1) == Status::OK); in main()
162 FAIL_CHECK(cas->closeSession(session1) == Status::OK); in main()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DImeSwitchingTest.java60 try (var session1 = MockImeSession.create( in testSwitchingIme() argument
69 var stream1 = session1.openEventStream(); in testSwitchingIme()
87 expectCommand(stream2, session2.callSwitchInputMethod(session1.getImeId()), TIMEOUT); in testSwitchingIme()
103 try (var session1 = MockImeSession.create( in testImeRemainsVisibleAfterSwitchingIme() argument
112 var stream1 = session1.openEventStream(); in testImeRemainsVisibleAfterSwitchingIme()
143 expectCommand(stream2, session2.callSwitchInputMethod(session1.getImeId()), TIMEOUT); in testImeRemainsVisibleAfterSwitchingIme()
/cts/tests/tests/hardware/src/android/hardware/lights/cts/
DLightsManagerTest.java156 try (LightsManager.LightsSession session1 = mManager.openSession(HIGH_PRIORITY); in testControlLights_firstCallerWinsContention() argument
160 session1.requestLights(new Builder().addLight(mLights.get(0), STATE_TAN).build()); in testControlLights_firstCallerWinsContention()
166 session1.close(); in testControlLights_firstCallerWinsContention()
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DMultiUserMockImeTest.java112 try (var session1 = MockImeSession.create(context, uiAutomation, in testProfileSwitching() argument
116 var stream1 = session1.openEventStream(); in testProfileSwitching()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplaySecurityTests.java384 final ActivitySession session1 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() local
388 isUidAccessibleOnDisplay(session1), in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay()
417 final ActivitySession session1 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay() local
421 isUidAccessibleOnDisplay(session1), in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmMockTest.java502 byte[] session1 = openSession(md); in testMultipleSessions()
506 assertFalse(Arrays.equals(session1, session2)); in testMultipleSessions()
509 md.closeSession(session1); in testMultipleSessions()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DChildlessActivityTest.java173 final Session session1 = service.getFinishedSession(sessionId1); in testLaunchAnotherActivity() local
174 activity1.assertDefaultEvents(session1); in testLaunchAnotherActivity()
225 final Session session1 = service.getFinishedSession(sessionId1); in testLaunchAnotherActivity_onTopOfIt() local
226 final List<ContentCaptureEvent> events1 = removeUnexpectedEvents(session1.getEvents()); in testLaunchAnotherActivity_onTopOfIt()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSessionManagerTest.java507 try (MediaSession2 session1 = new MediaSession2.Builder(context) in testGetSession2TokensWithTwoSessions() argument
513 Session2Token session1Token = session1.getToken(); in testGetSession2TokensWithTwoSessions()
DMediaSession2Test.java157 MediaSession2 session1 = builder.build(); in testBuilder_createSessionWithDupId()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java2111 var session1 = packageInstaller.getSessionInfo(packageInstaller.createSession(params1)); in testInvalidInstallSessionParamsPackageNames() local
2112 assertThat(session1.getAppPackageName()).isNull(); in testInvalidInstallSessionParamsPackageNames()
2113 assertThat(session1.getInstallerPackageName()).isEqualTo(mContext.getPackageName()); in testInvalidInstallSessionParamsPackageNames()
2114 packageInstaller.openSession(session1.sessionId).abandon(); in testInvalidInstallSessionParamsPackageNames()