Searched refs:childSession (Results 1 – 4 of 4) sorted by relevance
147 try (PackageInstaller.Session childSession = in testInvalidStateScenarios() argument150 childSession.commit(LocalIntentSender.getIntentSender()); in testInvalidStateScenarios()156 childSession.abandon(); in testInvalidStateScenarios()
137 final ContentCaptureSession childSession = mainSession in testSimpleLifecycle_rootViewSession() local139 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() local168 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()
389 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession() local392 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession()398 child.setContentCaptureSession(childSession); in testAddAndRemoveImportantChildOnDifferentSession()570 final ContentCaptureSession childSession = mainSession in dinamicallyAddOneChildOnAnotherSessionTest() local573 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() local797 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testNestedSessions_simplestScenario()803 final ContentCaptureSession grandChildSession = childSession in testNestedSessions_simplestScenario()
212 try (PackageInstaller.Session childSession in testOpenSessionForMultiPackageSession() argument214 assertThat(childSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()