Home
last modified time | relevance | path

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

/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java147 try (PackageInstaller.Session childSession = in testInvalidStateScenarios() argument
150 childSession.commit(LocalIntentSender.getIntentSender()); in testInvalidStateScenarios()
156 childSession.abandon(); in testInvalidStateScenarios()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java137 final ContentCaptureSession childSession = mainSession in testSimpleLifecycle_rootViewSession() local
139 childSessionRef.set(childSession); in testSimpleLifecycle_rootViewSession()
140 Log.i(TAG, "Setting root view (" + rootView + ") session to " + childSession); in testSimpleLifecycle_rootViewSession()
141 rootView.setContentCaptureSession(childSession); in testSimpleLifecycle_rootViewSession()
165 final Session childSession = service.getFinishedSession(childSessionId); in testSimpleLifecycle_rootViewSession() local
168 assertRightRelationship(mainSession, childSession); in testSimpleLifecycle_rootViewSession()
216 assertChildSessionContext(childSession, "file://dev/null"); in testSimpleLifecycle_rootViewSession()
218 assertContentCaptureContext(childSession.context); in testSimpleLifecycle_rootViewSession()
221 final List<ContentCaptureEvent> childEvents = childSession.getEvents(); in testSimpleLifecycle_rootViewSession()
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/util/src/android/util/cts/
DInstallUtilTest.java212 try (PackageInstaller.Session childSession in testOpenSessionForMultiPackageSession() argument
214 assertThat(childSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()