/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | EventsAssertor.java | 219 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared() local 220 assertNextEvent((event) -> assertVirtualViewEvent(event, expectedId, expectedText), in assertVirtualViewAppeared() 222 String.format("no VIEW_APPEARED event for %s", expectedId.toString())); in assertVirtualViewAppeared() 254 public EventsAssertor assertViewTextChanged(AutofillId expectedId, String expectedText) { in assertViewTextChanged() argument 255 assertNextEvent((event) -> assertTextChangedEvent(event, expectedId, expectedText), in assertViewTextChanged() 258 expectedId, expectedText)); in assertViewTextChanged() 264 @NonNull AutofillId expectedId, @NonNull String expectedText) { in assertTextChangedEvent() argument 266 .isEqualTo(expectedId); in assertTextChangedEvent() 274 @NonNull AutofillId expectedId, @Nullable String expectedText) { in assertVirtualViewEvent() argument 277 if (!node.getAutofillId().equals(expectedId)) { in assertVirtualViewEvent() [all …]
|
D | Assertions.java | 145 @NonNull String expectedId) { in assertChildSessionContext() argument 147 assertThat(session.context.getLocusId()).isEqualTo(new LocusId(expectedId)); in assertChildSessionContext() 405 @NonNull AutofillId expectedId) { in assertViewDisappeared() argument 408 .that(event.getId()).isEqualTo(expectedId); in assertViewDisappeared() 447 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared() local 449 .that(node.getAutofillId()).isEqualTo(expectedId); in assertVirtualViewAppeared() 498 @NonNull AutofillId expectedId, @NonNull String expectedText) { in assertViewTextChanged() argument 501 .isEqualTo(expectedId); in assertViewTextChanged()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | PreCreateUsersHostTest.java | 237 private void convertPreCreatedUser(boolean isGuest, int expectedId) throws Exception { in convertPreCreatedUser() argument 238 assertHasPreCreatedUser(expectedId); in convertPreCreatedUser() 244 if (newUserId == expectedId) { in convertPreCreatedUser() 249 + "id " + expectedId); in convertPreCreatedUser()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AdapterViewTest.java | 415 int expectedId = 1; in testGetSelected() local 416 mAdapterView.setSelection(expectedId); in testGetSelected() 417 assertEquals(expectedId, mAdapterView.getSelectedItemId()); in testGetSelected() 418 assertEquals(expectedId, mAdapterView.getSelectedItemPosition()); in testGetSelected() 419 assertEquals(FRUIT[expectedId], mAdapterView.getSelectedItem()); in testGetSelected() 422 expectedId = -1; in testGetSelected() 423 mAdapterView.setSelection(expectedId); in testGetSelected() 428 expectedId = mAdapterView.getCount(); in testGetSelected() 429 mAdapterView.setSelection(expectedId); in testGetSelected()
|
/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 | 193 String expectedId = component.flattenToShortString(); in assertInfo() local 194 assertEquals(expectedId, info.getId()); in assertInfo()
|
D | InputConnectionEndToEndTest.java | 4162 final int expectedId = android.R.id.selectAll; 4183 final ImeCommand command = session.callPerformContextMenuAction(expectedId); 4188 assertEquals(expectedId, args.getInt("id")); 4246 final int expectedId = android.R.id.selectAll; 4267 final var command = session.callPerformContextMenuAction(expectedId); 4270 assertEquals(expectedId, args.getInt("id"));
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 426 final Long expectedId = expected.getAccessibilityIdForRegion(expectedRegion); in assertEqualsTouchDelegateInfo() local 431 if (expectedRegion.equals(actualRegion) && expectedId.equals(actualId)) { in assertEqualsTouchDelegateInfo()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 668 final AutofillId expectedId = new AutofillId(42); in assertMyClientState() local 670 assertThat(actualId).isEqualTo(expectedId); in assertMyClientState() 672 assertThat(actualMyId).isEqualTo(new MyAutofillId(expectedId)); in assertMyClientState()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 4449 LinkedBlockingQueue<String> unExpectedEventQueue, String expectedId, in verifySingleAvailabilityCbsReceived() argument 4453 assertNotNull("No " + expectedStr + " notice for expected ID " + expectedId, candidateId); in verifySingleAvailabilityCbsReceived() 4455 + expectedId + ", got " + candidateId, expectedId.equals(candidateId)); in verifySingleAvailabilityCbsReceived() 4456 assertTrue("Received > 1 " + expectedStr + " callback for id " + expectedId, in verifySingleAvailabilityCbsReceived()
|