Searched refs:childSession (Results 1 – 5 of 5) sorted by relevance
146 final ContentCaptureSession childSession = mainSession in testContentCaptureSessionCache() local148 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() local188 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 …]
385 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession() local388 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession()394 child.setContentCaptureSession(childSession); in testAddAndRemoveImportantChildOnDifferentSession()569 final ContentCaptureSession childSession = mainSession in dinamicallyAddOneChildOnAnotherSessionTest() local572 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() local799 final ContentCaptureSessionId childSessionId = childSession.getContentCaptureSessionId(); in testNestedSessions_simplestScenario()805 final ContentCaptureSession grandChildSession = childSession in testNestedSessions_simplestScenario()
349 try (PackageInstaller.Session childSession = in testInvalidStateScenarios() argument353 childSession.commit(sender.getIntentSender()); in testInvalidStateScenarios()359 childSession.abandon(); in testInvalidStateScenarios()
470 final PackageInstaller.Session childSession = openSession(firstChildSession); in abandon_stagedParentSession_openedChildSession_getNamesShouldReturnEmptyList() local483 names = childSession.getNames(); in abandon_stagedParentSession_openedChildSession_getNamesShouldReturnEmptyList()498 final PackageInstaller.Session childSession = openSession(firstChildSession); in abandon_nonStagedParentSession_openedChildSession_canNotGetNames() local509 childSession.getNames(); in abandon_nonStagedParentSession_openedChildSession_canNotGetNames()
213 try (PackageInstaller.Session childSession in testOpenSessionForMultiPackageSession() argument215 assertThat(childSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()