/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ImeSwitchingTest.java | 63 var session2 = MockImeSession.create( in testSwitchingIme() 70 var stream2 = session2.openEventStream(); in testSwitchingIme() 87 expectCommand(stream2, session2.callSwitchInputMethod(session1.getImeId()), TIMEOUT); in testSwitchingIme() 106 var session2 = MockImeSession.create( in testImeRemainsVisibleAfterSwitchingIme() 113 var stream2 = session2.openEventStream(); in testImeRemainsVisibleAfterSwitchingIme() 143 expectCommand(stream2, session2.callSwitchInputMethod(session1.getImeId()), TIMEOUT); in testImeRemainsVisibleAfterSwitchingIme()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/ |
D | poc.cpp | 151 hidl_vec<uint8_t> session2; in main() local 154 session2 = sessionId; in main() 180 FAIL_CHECK(descrambler->setMediaCasSession(session2) == Status::OK); in main() 192 FAIL_CHECK(cas->closeSession(session2) == Status::OK); in main()
|
/cts/tests/tests/hardware/src/android/hardware/lights/cts/ |
D | LightsManagerTest.java | 157 LightsManager.LightsSession session2 = mManager.openSession(HIGH_PRIORITY)) { in testControlLights_firstCallerWinsContention() 161 session2.requestLights(new Builder().addLight(mLights.get(0), STATE_RED).build()); in testControlLights_firstCallerWinsContention() 171 session2.close(); in testControlLights_firstCallerWinsContention()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaCommunicationManagerTest.java | 150 MediaSession2 session2 = new MediaSession2.Builder(mContext) in testManagerSessionCallback() local 156 Session2Token token2 = session2.getToken(); in testManagerSessionCallback() 162 session2.close(); in testManagerSessionCallback()
|
D | MediaSessionManagerTest.java | 520 try (MediaSession2 session2 = new MediaSession2.Builder(context) in testGetSession2TokensWithTwoSessions() argument 527 session2Token = session2.getToken(); in testGetSession2TokensWithTwoSessions()
|
D | MediaSession2Test.java | 158 MediaSession2 session2 = builder.build(); in testBuilder_createSessionWithDupId()
|
D | MediaSessionTest.java | 1073 try (MediaSession2 session2 = new MediaSession2.Builder(mContext).build()) { in testSessionCreationLimitWithMediaSession2Release() argument
|
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/ |
D | MultiUserMockImeTest.java | 114 var session2 = MockImeSession.create(instrumentation.getContext(), uiAutomation, in testProfileSwitching() 117 var stream2 = session2.openEventStream(); in testProfileSwitching()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplaySecurityTests.java | 395 final ActivitySession session2 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() local 403 isUidAccessibleOnDisplay(session2), in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() 429 final ActivitySession session2 = virtualDisplayLauncher.launchActivityOnDisplay( in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay() local 434 isUidAccessibleOnDisplay(session2), in testDisplayHasAccess_NoAccessWhenUIDNotPresentOnPrivateDisplay()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmMockTest.java | 503 byte[] session2 = openSession(md); in testMultipleSessions() 506 assertFalse(Arrays.equals(session1, session2)); in testMultipleSessions() 507 assertFalse(Arrays.equals(session2, session3)); in testMultipleSessions() 510 md.closeSession(session2); in testMultipleSessions()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ChildlessActivityTest.java | 176 final Session session2 = service.getFinishedSession(sessionId2); in testLaunchAnotherActivity() local 177 activity2.assertDefaultEvents(session2); in testLaunchAnotherActivity() 234 final Session session2 = service.getFinishedSession(sessionId2); in testLaunchAnotherActivity_onTopOfIt() local 235 activity2.assertDefaultEvents(session2); in testLaunchAnotherActivity_onTopOfIt()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 2119 var session2 = packageInstaller.getSessionInfo(packageInstaller.createSession(params2)); in testInvalidInstallSessionParamsPackageNames() local 2120 assertThat(session2.getAppPackageName()).isEqualTo("android.com"); in testInvalidInstallSessionParamsPackageNames() 2121 assertThat(session2.getInstallerPackageName()).isEqualTo(mContext.getPackageName()); in testInvalidInstallSessionParamsPackageNames() 2122 packageInstaller.openSession(session2.sessionId).abandon(); in testInvalidInstallSessionParamsPackageNames()
|