Searched refs:childSession (Results 1 – 5 of 5) sorted by relevance
145 final ContentCaptureSession childSession = mainSession in testContentCaptureSessionCache() local147 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() local187 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 …]
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()
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()