Searched refs:mainSession (Results 1 – 3 of 3) sorted by relevance
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomViewActivityTest.java | 208 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_wrongWay() local 217 .assertVirtualViewAppeared(mainSession, customViewId, 1, "child") in testVirtualView_wrongWay() 218 .assertVirtualViewDisappeared(customViewId, mainSession, 1) in testVirtualView_wrongWay() 279 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_oneLevel() local 283 assertVirtualViewAppeared(events, i, mainSession, customViewId, 1, "child1"); in testVirtualView_oneLevel() 284 assertVirtualViewAppeared(events, i + 1, mainSession, customViewId, 2, "child2"); in testVirtualView_oneLevel() 286 assertVirtualViewsDisappeared(events, i + 3, customViewId, mainSession, 2, 1); in testVirtualView_oneLevel() 393 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_multipleLevels() local 397 assertVirtualViewAppeared(events, i, mainSession, customViewId, 1, "c1"); in testVirtualView_multipleLevels() 398 assertVirtualViewAppeared(events, i + 1, mainSession, customViewId, 11, "c1g1"); in testVirtualView_multipleLevels() [all …]
|
D | ChildlessActivityTest.java | 381 final ContentCaptureSession mainSession = rootView.getContentCaptureSession(); in testAddAndRemoveImportantChildOnDifferentSession() local 382 final ContentCaptureSessionId mainSessionId = mainSession.getContentCaptureSessionId(); in testAddAndRemoveImportantChildOnDifferentSession() 385 final ContentCaptureSession childSession = mainSession in testAddAndRemoveImportantChildOnDifferentSession() 443 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in testDinamicallyManageChildlessSiblingSessions() local 444 final ContentCaptureSessionId mainSessionId = mainSession.getContentCaptureSessionId(); in testDinamicallyManageChildlessSiblingSessions() 450 final ContentCaptureSession childSession1 = mainSession in testDinamicallyManageChildlessSiblingSessions() 458 final ContentCaptureSession childSession2 = mainSession in testDinamicallyManageChildlessSiblingSessions() 469 final ContentCaptureSession childSession3 = mainSession in testDinamicallyManageChildlessSiblingSessions() 480 final ContentCaptureSession childSession4 = mainSession in testDinamicallyManageChildlessSiblingSessions() 564 final ContentCaptureSession mainSession = activity.getRootView().getContentCaptureSession(); in dinamicallyAddOneChildOnAnotherSessionTest() local [all …]
|
D | LoginActivityTest.java | 144 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 …]
|