Home
last modified time | relevance | path

Searched refs:mainSession (Results 1 – 3 of 3) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCustomViewActivityTest.java206 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_wrongWay() local
215 .assertVirtualViewAppeared(mainSession, customViewId, 1, "child") in testVirtualView_wrongWay()
216 .assertVirtualViewDisappeared(customViewId, mainSession, 1) in testVirtualView_wrongWay()
277 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_oneLevel() local
280 .assertVirtualViewAppeared(mainSession, customViewId, 1, "child1") in testVirtualView_oneLevel()
281 .assertVirtualViewAppeared(mainSession, customViewId, 2, "child2") in testVirtualView_oneLevel()
283 .assertVirtualViewsDisappeared(customViewId, mainSession, 2, 1); in testVirtualView_oneLevel()
388 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_multipleLevels() local
391 .assertVirtualViewAppeared(mainSession, customViewId, 1, "c1") in testVirtualView_multipleLevels()
392 .assertVirtualViewAppeared(mainSession, customViewId, 11, "c1g1") in testVirtualView_multipleLevels()
[all …]
DChildlessActivityTest.java392 final ContentCaptureSession mainSession = rootView.getContentCaptureSession(); in testAddAndRemoveImportantChildOnDifferentSession() local
393 final ContentCaptureSessionId mainSessionId = mainSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession()
396 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession()
457 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testDinamicallyManageChildlessSiblingSessions() local
458 final ContentCaptureSessionId mainSessionId = mainSession.getContentCaptureSessionId(); in testDinamicallyManageChildlessSiblingSessions()
464 final ContentCaptureSession childSession1 = mainSession in testDinamicallyManageChildlessSiblingSessions()
472 final ContentCaptureSession childSession2 = mainSession in testDinamicallyManageChildlessSiblingSessions()
483 final ContentCaptureSession childSession3 = mainSession in testDinamicallyManageChildlessSiblingSessions()
494 final ContentCaptureSession childSession4 = mainSession in testDinamicallyManageChildlessSiblingSessions()
578 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in dinamicallyAddOneChildOnAnotherSessionTest() local
[all …]
DLoginActivityTest.java144 final ContentCaptureSession mainSession = rootView.getContentCaptureSession(); in testContentCaptureSessionCache() local
145 mainSessionRef.set(mainSession); in testContentCaptureSessionCache()
146 final ContentCaptureSession childSession = mainSession in testContentCaptureSessionCache()
154 rootView.setContentCaptureSession(mainSession); in testContentCaptureSessionCache()
155 assertThat(rootView.getContentCaptureSession()).isEqualTo(mainSession); in testContentCaptureSessionCache()
184 final ContentCaptureSession mainSession = rootView.getContentCaptureSession(); in testSimpleLifecycle_rootViewSession() local
185 mainSessionRef.set(mainSession); in testSimpleLifecycle_rootViewSession()
186 final ContentCaptureSession childSession = mainSession in testSimpleLifecycle_rootViewSession()
213 final Session mainSession = service.getFinishedSession(mainSessionId); in testSimpleLifecycle_rootViewSession() local
216 assertRightActivity(mainSession, mainSessionId, activity); in testSimpleLifecycle_rootViewSession()
[all …]