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.java172 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_wrongWay() local
173 assertVirtualViewAppeared(events, 5, mainSession, customViewId, 1, "child"); in testVirtualView_wrongWay()
174 assertVirtualViewDisappeared(events, 6, customViewId, mainSession, 1); in testVirtualView_wrongWay()
240 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_oneLevel() local
244 assertVirtualViewAppeared(events, i, mainSession, customViewId, 1, "child1"); in testVirtualView_oneLevel()
245 assertVirtualViewAppeared(events, i + 1, mainSession, customViewId, 2, "child2"); in testVirtualView_oneLevel()
247 assertVirtualViewsDisappeared(events, i + 3, customViewId, mainSession, 2, 1); in testVirtualView_oneLevel()
354 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_multipleLevels() local
358 assertVirtualViewAppeared(events, i, mainSession, customViewId, 1, "c1"); in testVirtualView_multipleLevels()
359 assertVirtualViewAppeared(events, i + 1, mainSession, customViewId, 11, "c1g1"); in testVirtualView_multipleLevels()
[all …]
DChildlessActivityTest.java385 final ContentCaptureSession mainSession = rootView.getContentCaptureSession(); in testAddAndRemoveImportantChildOnDifferentSession() local
386 final ContentCaptureSessionId mainSessionId = mainSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession()
389 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession()
444 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testDinamicallyManageChildlessSiblingSessions() local
445 final ContentCaptureSessionId mainSessionId = mainSession.getContentCaptureSessionId(); in testDinamicallyManageChildlessSiblingSessions()
451 final ContentCaptureSession childSession1 = mainSession in testDinamicallyManageChildlessSiblingSessions()
459 final ContentCaptureSession childSession2 = mainSession in testDinamicallyManageChildlessSiblingSessions()
470 final ContentCaptureSession childSession3 = mainSession in testDinamicallyManageChildlessSiblingSessions()
481 final ContentCaptureSession childSession4 = mainSession in testDinamicallyManageChildlessSiblingSessions()
565 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in dinamicallyAddOneChildOnAnotherSessionTest() local
[all …]
DLoginActivityTest.java135 final ContentCaptureSession mainSession = rootView.getContentCaptureSession(); in testSimpleLifecycle_rootViewSession() local
136 mainSessionRef.set(mainSession); in testSimpleLifecycle_rootViewSession()
137 final ContentCaptureSession childSession = mainSession in testSimpleLifecycle_rootViewSession()
164 final Session mainSession = service.getFinishedSession(mainSessionId); in testSimpleLifecycle_rootViewSession() local
167 assertRightActivity(mainSession, mainSessionId, activity); in testSimpleLifecycle_rootViewSession()
168 assertRightRelationship(mainSession, childSession); in testSimpleLifecycle_rootViewSession()
179 assertMainSessionContext(mainSession, activity); in testSimpleLifecycle_rootViewSession()
182 final List<ContentCaptureEvent> mainEvents = mainSession.getEvents(); in testSimpleLifecycle_rootViewSession()
250 final ContentCaptureSession mainSession = rootView.getContentCaptureSession(); in testSimpleLifecycle_changeContextAfterCreate() local
251 assertThat(mainSession).isNotNull(); in testSimpleLifecycle_changeContextAfterCreate()
[all …]