Searched refs:hints (Results 1 – 5 of 5) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 66 private void checkEditTextNoHint(@Nullable String[] hints) { 67 assertThat(hints).isNull(); 70 private void checkEditTextHintCustom(@Nullable String[] hints) { 71 assertThat(hints).isEqualTo( 75 private void checkEditTextPassword(@Nullable String[] hints) { 76 assertThat(hints).isEqualTo(new String[] {View.AUTOFILL_HINT_PASSWORD}); 79 private void checkEditTextPhoneName(@Nullable String[] hints) { 80 assertThat(hints).isEqualTo( 84 private void checkEditTextHintsFromArray(@Nullable String[] hints) { 85 assertThat(hints).isEqualTo(new String[] {"yesterday", "today", "tomorrow", "never"});
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DataObjectUnitTests.java | 208 StatusHints hints = new StatusHints( in testStatusHints() local 212 assertEquals(label, hints.getLabel()); in testStatusHints() 213 assertEquals(icon.toString(), hints.getIcon().toString()); in testStatusHints() 216 hints.getExtras().getString(TelecomManager.GATEWAY_PROVIDER_PACKAGE)); in testStatusHints() 217 assertEquals(0, hints.describeContents()); in testStatusHints() 222 hints.writeToParcel(p, 0); in testStatusHints()
|
D | ConferenceTest.java | 216 StatusHints hints = new StatusHints("Test", null, null); in testConferenceSetters() local 218 mConferenceObject.setStatusHints(hints); in testConferenceSetters() 219 assertCallStatusHints(conf, hints); in testConferenceSetters() 605 private void assertCallStatusHints(final Call call, final StatusHints hints) { in assertCallStatusHints() argument 610 return hints; in assertCallStatusHints() 619 "Call should have status hints " + hints in assertCallStatusHints()
|
D | RemoteConnectionTest.java | 466 StatusHints hints = new StatusHints("test", null, null); in testRemoteConnectionCallbacks_StatusHints() local 467 mRemoteConnection.setStatusHints(hints); in testRemoteConnectionCallbacks_StatusHints() 470 assertEquals(hints, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_StatusHints()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 1335 public static boolean hasHint(@Nullable String[] hints, @Nullable Object expectedHint) { in hasHint() argument 1336 if (hints == null || expectedHint == null) return false; in hasHint() 1337 for (String actualHint : hints) { in hasHint()
|