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.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.java385 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession() local
388 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession()
394 child.setContentCaptureSession(childSession); in testAddAndRemoveImportantChildOnDifferentSession()
569 final ContentCaptureSession childSession = mainSession in dinamicallyAddOneChildOnAnotherSessionTest() local
572 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in dinamicallyAddOneChildOnAnotherSessionTest()
575 final TextView child = addChild(activity, childSession, "Sweet O'Mine"); in dinamicallyAddOneChildOnAnotherSessionTest()
577 waitAndClose(childSession); in dinamicallyAddOneChildOnAnotherSessionTest()
797 final ContentCaptureSession childSession = mainSession in testNestedSessions_simplestScenario() local
799 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testNestedSessions_simplestScenario()
805 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()