Home
last modified time | relevance | path

Searched refs:expectedSessionId (Results 1 – 5 of 5) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java65 @NonNull ContentCaptureSessionId expectedSessionId, in assertRightActivity() argument
67 assertRightActivity(session, expectedSessionId, activity.getComponentName()); in assertRightActivity()
74 @NonNull ContentCaptureSessionId expectedSessionId, in assertRightActivity() argument
80 assertThat(session.id).isEqualTo(expectedSessionId); in assertRightActivity()
244 @NonNull ContentCaptureSessionId expectedSessionId, in assertViewAppeared() argument
247 assertSessionId(expectedSessionId, expectedView); in assertViewAppeared()
396 @NonNull ContentCaptureSessionId expectedSessionId, @NonNull View expectedView) { in assertViewWithUnknownParentAppeared() argument
398 assertSessionId(expectedSessionId, expectedView); in assertViewWithUnknownParentAppeared()
485 public static void assertSessionId(@NonNull ContentCaptureSessionId expectedSessionId, in assertSessionId() argument
487 assertThat(expectedSessionId).isNotNull(); in assertSessionId()
[all …]
DEventsAssertor.java157 public EventsAssertor assertViewAppeared(@NonNull ContentCaptureSessionId expectedSessionId, in assertViewAppeared() argument
160 assertSessionId(expectedSessionId, expectedView); in assertViewAppeared()
169 public EventsAssertor assertViewAppeared(@NonNull ContentCaptureSessionId expectedSessionId, in assertViewAppeared() argument
172 assertSessionId(expectedSessionId, expectedView); in assertViewAppeared()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DLauncherAppsEnumerationTests.java316 final int expectedSessionId = Install.single(TestApp.A1).setPackageName(TestApp.A) in sessionCallback_sessionOwner_canSeeSession() local
344 if (sessionId != expectedSessionId) { in sessionCallback_sessionOwner_canSeeSession()
356 commitSession(expectedSessionId); in sessionCallback_sessionOwner_canSeeSession()
530 int expectedSessionId) throws Exception { in sendCommandAndWaitForLauncherAppsSessionCallback() argument
532 extra.putInt(EXTRA_ID, expectedSessionId); in sendCommandAndWaitForLauncherAppsSessionCallback()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java1087 int expectedSessionId, long timeoutMs) { in awaitLauncherAppsSessionCallback() argument
1115 if (sessionId != expectedSessionId) { in awaitLauncherAppsSessionCallback()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackTest.java371 final int expectedSessionId = new AudioManager(getContext()).generateAudioSessionId(); in testBuilderSession() local
374 .setSessionId(expectedSessionId) in testBuilderSession()
381 assertEquals(TEST_NAME + ": Assigned track session ID", expectedSessionId, in testBuilderSession()