Searched refs:expectedId (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AdapterViewTest.java | 394 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/hostsidetests/car/src/android/car/cts/ |
D | PreCreateUsersHostTest.java | 262 private void convertPreCreatedUser(boolean isGuest, int expectedId) throws Exception { in convertPreCreatedUser() argument 263 assertHasPreCreatedUser(expectedId); in convertPreCreatedUser() 269 if (newUserId == expectedId) { in convertPreCreatedUser() 274 + "id " + expectedId); in convertPreCreatedUser()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Assertions.java | 138 @NonNull String expectedId) { in assertChildSessionContext() argument 140 assertThat(session.context.getLocusId()).isEqualTo(new LocusId(expectedId)); in assertChildSessionContext() 369 @NonNull AutofillId expectedId) { in assertViewDisappeared() argument 372 .that(event.getId()).isEqualTo(expectedId); in assertViewDisappeared() 411 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared() local 413 .that(node.getAutofillId()).isEqualTo(expectedId); in assertVirtualViewAppeared() 462 @NonNull AutofillId expectedId, @NonNull String expectedText) { in assertViewTextChanged() argument 465 .isEqualTo(expectedId); in assertViewTextChanged()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | DataRemovalRequestTest.java | 140 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/ |
D | InputMethodInfoTest.java | 164 String expectedId = component.flattenToShortString(); in assertInfo() local 165 assertEquals(expectedId, info.getId()); in assertInfo()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 645 LinkedBlockingQueue<String> unExpectedEventQueue, String expectedId, in verifySingleAvailabilityCbsReceived() argument 650 "expected " + expectedId + ", got " + candidateId, expectedId.equals(candidateId)); in verifySingleAvailabilityCbsReceived() 651 assertTrue("Received > 1 " + expectedStr + " callback for id " + expectedId, in verifySingleAvailabilityCbsReceived()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 415 final Long expectedId = expected.getAccessibilityIdForRegion(expectedRegion); in assertEqualsTouchDelegateInfo() local 420 if (expectedRegion.equals(actualRegion) && expectedId.equals(actualId)) { in assertEqualsTouchDelegateInfo()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 666 final AutofillId expectedId = new AutofillId(42); in assertMyClientState() local 668 assertThat(actualId).isEqualTo(expectedId); in assertMyClientState() 670 assertThat(actualMyId).isEqualTo(new MyAutofillId(expectedId)); in assertMyClientState()
|