Searched refs:session1 (Results 1 – 10 of 10) sorted by relevance
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/ |
D | poc.cpp | 138 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/ |
D | ImeSwitchingTest.java | 60 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/ |
D | LightsManagerTest.java | 156 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/ |
D | MultiUserMockImeTest.java | 112 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/ |
D | MultiDisplaySecurityTests.java | 384 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/ |
D | MediaDrmMockTest.java | 502 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/ |
D | ChildlessActivityTest.java | 173 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/ |
D | MediaSessionManagerTest.java | 507 try (MediaSession2 session1 = new MediaSession2.Builder(context) in testGetSession2TokensWithTwoSessions() argument 513 Session2Token session1Token = session1.getToken(); in testGetSession2TokensWithTwoSessions()
|
D | MediaSession2Test.java | 157 MediaSession2 session1 = builder.build(); in testBuilder_createSessionWithDupId()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 2111 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()
|