Searched refs:childSession (Results 1 – 7 of 7) sorted by relevance
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 146 final ContentCaptureSession childSession = mainSession in testContentCaptureSessionCache() local 148 childSessionRef.set(childSession); in testContentCaptureSessionCache() 150 rootView.setContentCaptureSession(childSession); in testContentCaptureSessionCache() 152 assertThat(rootView.getContentCaptureSession()).isEqualTo(childSession); in testContentCaptureSessionCache() 157 rootView.setContentCaptureSession(childSession); in testContentCaptureSessionCache() 158 assertThat(rootView.getContentCaptureSession()).isEqualTo(childSession); in testContentCaptureSessionCache() 186 final ContentCaptureSession childSession = mainSession in testSimpleLifecycle_rootViewSession() local 188 childSessionRef.set(childSession); in testSimpleLifecycle_rootViewSession() 189 Log.i(TAG, "Setting root view (" + rootView + ") session to " + childSession); in testSimpleLifecycle_rootViewSession() 190 rootView.setContentCaptureSession(childSession); in testSimpleLifecycle_rootViewSession() [all …]
|
D | ChildlessActivityTest.java | 396 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession() local 399 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession() 405 child.setContentCaptureSession(childSession); in testAddAndRemoveImportantChildOnDifferentSession() 583 final ContentCaptureSession childSession = mainSession in dinamicallyAddOneChildOnAnotherSessionTest() local 586 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in dinamicallyAddOneChildOnAnotherSessionTest() 589 final TextView child = addChild(activity, childSession, "Sweet O'Mine"); in dinamicallyAddOneChildOnAnotherSessionTest() 591 waitAndClose(childSession); in dinamicallyAddOneChildOnAnotherSessionTest() 812 final ContentCaptureSession childSession = mainSession in testNestedSessions_simplestScenario() local 814 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testNestedSessions_simplestScenario() 820 final ContentCaptureSession grandChildSession = childSession in testNestedSessions_simplestScenario()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PreapprovalInstallTest.kt | 463 val (childSessionId, childSession) = createSession( in requestUserPreapproval_childSession_statusSuccess() constant 467 startRequestUserPreapproval(childSession, preparePreapprovalDetails()) in requestUserPreapproval_childSession_statusSuccess() 484 val (childSessionId, childSession) = createSession( in commitPreapprovalSession_multiPackage_successWithoutUserAction() constant 487 startRequestUserPreapproval(childSession, preparePreapprovalDetails()) in commitPreapprovalSession_multiPackage_successWithoutUserAction() 494 writeSession(childSession, TEST_APK_NAME) in commitPreapprovalSession_multiPackage_successWithoutUserAction()
|
D | PackageInstallerTestBase.kt | 340 val (childSessionId, childSession) = createSession(installFlags, false, null) in <lambda>() constant 341 writeSession(childSession, apkName) in <lambda>()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 349 try (PackageInstaller.Session childSession = in testInvalidStateScenarios() argument 353 childSession.commit(sender.getIntentSender()); in testInvalidStateScenarios() 359 childSession.abandon(); in testInvalidStateScenarios()
|
D | SessionAbandonBehaviorTest.java | 470 final PackageInstaller.Session childSession = openSession(firstChildSession); in abandon_stagedParentSession_openedChildSession_getNamesShouldReturnEmptyList() local 483 names = childSession.getNames(); in abandon_stagedParentSession_openedChildSession_getNamesShouldReturnEmptyList() 498 final PackageInstaller.Session childSession = openSession(firstChildSession); in abandon_nonStagedParentSession_openedChildSession_canNotGetNames() local 509 childSession.getNames(); in abandon_nonStagedParentSession_openedChildSession_canNotGetNames()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 220 try (PackageInstaller.Session childSession in testOpenSessionForMultiPackageSession() argument 222 assertThat(childSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()
|