/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MyAutofillCallback.java | 68 public void onAutofillEvent(View view, int childId, int event) { in onAutofillEvent() argument 69 mHandler.post(() -> offer(new MyEvent(view, childId, event))); in onAutofillEvent() 125 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiShownEvent() 136 return event.childId; in assertUiShownEventForVirtualChild() 157 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiHiddenEvent() 179 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiUnavailableEvent() 185 public final int childId; field in MyAutofillCallback.MyEvent 192 MyEvent(View view, int childId, int event) { in MyEvent() argument 194 this.childId = childId; in MyEvent() 200 return callbackEventAsString(event) + ": " + view + " (childId: " + childId + ")"; in toString()
|
D | UiBot.java | 1212 public void assertChild(@NonNull UiObject2 parent, @NonNull String childId, 1214 final UiObject2 child = parent.findObject(By.res(mPackageName, childId)); 1217 assertWithMessage("Didn't find child with id '%s'", childId).that(child) 1222 throw new AssertionError("Error on child '" + childId + "'", t); 1225 assertWithMessage("Shouldn't find child with id '%s'", childId).that(child) 1229 dumpScreen("assertChild(" + childId + ") failed: " + e);
|
D | Helper.java | 266 @NonNull String prefix, int childId) { in dump() argument 269 .append("child #").append(childId).append(':'); in dump()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 257 int childId = Install.single(TestApp.B1).createSession(); in testInvalidStateScenario_AddChildToSingleSessionShouldFail() local 260 parent.addChildSessionId(childId); in testInvalidStateScenario_AddChildToSingleSessionShouldFail() 273 int childId = Install.multi(TestApp.B1).createSession(); in testInvalidStateScenario_MultiSessionAddedAsChildShouldFail() local 276 parent.addChildSessionId(childId); in testInvalidStateScenario_MultiSessionAddedAsChildShouldFail() 289 int childId = Install.single(TestApp.B1).createSession(); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() local 294 parent.addChildSessionId(childId); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() 308 int childId = Install.single(TestApp.B1).createSession(); in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail() local 310 parent.addChildSessionId(childId); in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail() 314 parent.removeChildSessionId(childId); in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail() 328 int childId = Install.single(TestApp.B1).createSession(); in testInvalidStateScenario_RemoveWrongChildShouldDoNothing() local [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | EventsAssertor.java | 208 @NonNull AutofillId parentId, int childId, String expectedText) { in assertVirtualViewAppeared() argument 209 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared() 222 ContentCaptureSession session, int childId) { in assertVirtualViewDisappeared() argument 223 return assertViewDisappeared(session.newAutofillId(parentId, childId)); in assertVirtualViewDisappeared()
|
D | CustomViewActivityTest.java | 177 final AutofillId childId = child.getAutofillId(); in testVirtualView_wrongWay() local 178 assertThat(session.newAutofillId(customViewId, 1)).isEqualTo(childId); in testVirtualView_wrongWay() 179 Log.d(TAG, "nofifying child appeared: " + childId); in testVirtualView_wrongWay() 182 Log.d(TAG, "nofifying child disappeared: " + childId); in testVirtualView_wrongWay() 183 session.notifyViewDisappeared(childId); in testVirtualView_wrongWay()
|
D | Assertions.java | 432 int childId, @Nullable String expectedText) { in assertVirtualViewAppeared() argument 436 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared() 453 long childId) { in assertVirtualViewDisappeared() argument 454 assertViewDisappeared(events, index, session.newAutofillId(parentId, childId)); in assertVirtualViewDisappeared()
|
D | ChildlessActivityTest.java | 392 final AutofillId childId = child.getAutofillId(); in testAddAndRemoveImportantChildOnDifferentSession() local 393 Log.v(TAG, "childId: " + childId); in testAddAndRemoveImportantChildOnDifferentSession()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListViewTest.java | 635 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument
|