Home
last modified time | relevance | path

Searched refs:expectedId (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DAdapterViewTest.java394 int expectedId = 1; in testGetSelected() local
395 mAdapterView.setSelection(expectedId); in testGetSelected()
396 assertEquals(expectedId, mAdapterView.getSelectedItemId()); in testGetSelected()
397 assertEquals(expectedId, mAdapterView.getSelectedItemPosition()); in testGetSelected()
398 assertEquals(FRUIT[expectedId], mAdapterView.getSelectedItem()); in testGetSelected()
401 expectedId = -1; in testGetSelected()
402 mAdapterView.setSelection(expectedId); in testGetSelected()
407 expectedId = mAdapterView.getCount(); in testGetSelected()
408 mAdapterView.setSelection(expectedId); in testGetSelected()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java124 @NonNull String expectedId) { in assertChildSessionContext() argument
126 assertThat(session.context.getLocusId()).isEqualTo(new LocusId(expectedId)); in assertChildSessionContext()
350 @NonNull AutofillId expectedId) { in assertViewDisappeared() argument
353 .that(event.getId()).isEqualTo(expectedId); in assertViewDisappeared()
392 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared() local
394 .that(node.getAutofillId()).isEqualTo(expectedId); in assertVirtualViewAppeared()
443 @NonNull AutofillId expectedId, @NonNull String expectedText) { in assertViewTextChanged() argument
446 .isEqualTo(expectedId); in assertViewTextChanged()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DDataRemovalRequestTest.java140 private void assertRequest(List<LocusIdRequest> requests, int index, String expectedId, in assertRequest() argument
147 .isEqualTo(expectedId); in assertRequest()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java155 String expectedId = component.flattenToShortString(); in assertInfo() local
156 assertEquals(expectedId, info.getId()); in assertInfo()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfoTest.java315 final Long expectedId = expected.getAccessibilityIdForRegion(expectedRegion); in assertEqualsTouchDelegateInfo() local
320 if (expectedRegion.equals(actualRegion) && expectedId.equals(actualId)) { in assertEqualsTouchDelegateInfo()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSimpleSaveActivityTest.java562 final AutofillId expectedId = new AutofillId(42); in assertMyClientState() local
564 assertThat(actualId).isEqualTo(expectedId); in assertMyClientState()
566 assertThat(actualMyId).isEqualTo(new MyAutofillId(expectedId)); in assertMyClientState()