Home
last modified time | relevance | path

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

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java145 final ContentCaptureSession childSession = mainSession in testContentCaptureSessionCache() local
147 childSessionRef.set(childSession); in testContentCaptureSessionCache()
149 rootView.setContentCaptureSession(childSession); in testContentCaptureSessionCache()
151 assertThat(rootView.getContentCaptureSession()).isEqualTo(childSession); in testContentCaptureSessionCache()
156 rootView.setContentCaptureSession(childSession); in testContentCaptureSessionCache()
157 assertThat(rootView.getContentCaptureSession()).isEqualTo(childSession); in testContentCaptureSessionCache()
185 final ContentCaptureSession childSession = mainSession in testSimpleLifecycle_rootViewSession() local
187 childSessionRef.set(childSession); in testSimpleLifecycle_rootViewSession()
188 Log.i(TAG, "Setting root view (" + rootView + ") session to " + childSession); in testSimpleLifecycle_rootViewSession()
189 rootView.setContentCaptureSession(childSession); in testSimpleLifecycle_rootViewSession()
[all …]
DChildlessActivityTest.java389 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession() local
392 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession()
398 child.setContentCaptureSession(childSession); in testAddAndRemoveImportantChildOnDifferentSession()
570 final ContentCaptureSession childSession = mainSession in dinamicallyAddOneChildOnAnotherSessionTest() local
573 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in dinamicallyAddOneChildOnAnotherSessionTest()
576 final TextView child = addChild(activity, childSession, "Sweet O'Mine"); in dinamicallyAddOneChildOnAnotherSessionTest()
578 waitAndClose(childSession); in dinamicallyAddOneChildOnAnotherSessionTest()
795 final ContentCaptureSession childSession = mainSession in testNestedSessions_simplestScenario() local
797 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testNestedSessions_simplestScenario()
803 final ContentCaptureSession grandChildSession = childSession in testNestedSessions_simplestScenario()
/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.java213 try (PackageInstaller.Session childSession in testOpenSessionForMultiPackageSession() argument
215 assertThat(childSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()