Home
last modified time | relevance | path

Searched refs:childSession (Results 1 – 7 of 7) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java146 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 …]
DChildlessActivityTest.java396 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/
DPreapprovalInstallTest.kt463 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()
DPackageInstallerTestBase.kt340 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/
DAtomicInstallTest.java349 try (PackageInstaller.Session childSession = in testInvalidStateScenarios() argument
353 childSession.commit(sender.getIntentSender()); in testInvalidStateScenarios()
359 childSession.abandon(); in testInvalidStateScenarios()
DSessionAbandonBehaviorTest.java470 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/
DInstallUtilTest.java220 try (PackageInstaller.Session childSession in testOpenSessionForMultiPackageSession() argument
222 assertThat(childSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()