Searched refs:validator (Results 1 – 8 of 8) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LuhnChecksumValidatorTest.java | 55 LuhnChecksumValidator validator = new LuhnChecksumValidator(id, id); in duplicateFields() local 61 assertThat(validator.isValid(finder)).isTrue(); in duplicateFields() 65 assertThat(validator.isValid(finder)).isFalse(); in duplicateFields() 72 LuhnChecksumValidator validator = new LuhnChecksumValidator(id); in leadingZerosAreIgnored() local 77 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored() 80 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored() 87 LuhnChecksumValidator validator = new LuhnChecksumValidator(id); in onlyOneChecksumValid() local 93 assertThat(validator.isValid(finder)).isEqualTo(i == 3); in onlyOneChecksumValid() 103 LuhnChecksumValidator validator = new LuhnChecksumValidator(id1, id2, id3); in nullAutofillValuesCauseFailure() local 111 assertThat(validator.isValid(finder)).isFalse(); in nullAutofillValuesCauseFailure() [all …]
|
D | RegexValidatorTest.java | 61 RegexValidator validator = new RegexValidator(unknownId, Pattern.compile(".*")); in unknownField() local 66 assertThat(validator.isValid(finder)).isFalse(); in unknownField() 72 RegexValidator validator = new RegexValidator(creditCardFieldId, in singleFieldValid() local 78 assertThat(validator.isValid(finder)).isTrue(); in singleFieldValid() 81 assertThat(validator.isValid(finder)).isFalse(); in singleFieldValid() 87 RegexValidator validator = new RegexValidator(id, Pattern.compile("\\d*")); in singleFieldInvalid() local 94 assertThat(validator.isValid(finder)).isFalse(); in singleFieldInvalid()
|
D | ValidatorTest.java | 71 final LuhnChecksumValidator validator = new LuhnChecksumValidator(usernameId); in integrationTest() local 73 assertValidator(validator, usernameId, username, willSaveBeShown); in integrationTest() 78 .setValidator(validator) in integrationTest() 100 private void assertValidator(InternalValidator validator, AutofillId id, String text, in assertValidator() argument 104 assertThat(validator.isValid(valueFinder)).isEqualTo(valid); in assertValidator()
|
D | CannedFillResponse.java | 302 public Builder setValidator(Validator validator) { in setValidator() argument 303 mValidator = validator; in setValidator()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 140 final AutoCompleteTextView.Validator validator = mock(AutoCompleteTextView.Validator.class); in testPerformValidation() local 141 when(validator.isValid(any(CharSequence.class))).thenReturn(true); in testPerformValidation() 142 when(validator.fixText(any(CharSequence.class))).thenAnswer( in testPerformValidation() 151 mMultiAutoCompleteTextView_country.setValidator(validator); in testPerformValidation() 159 when(validator.isValid(any(CharSequence.class))).thenReturn(false); in testPerformValidation()
|
D | AutoCompleteTextViewTest.java | 350 final MockValidator validator = new MockValidator(); in testPopupWindow() local 351 mAutoCompleteTextView.setValidator(validator); in testPopupWindow() 485 final MockValidator validator = new MockValidator(); in testAccessValidater() local 488 mAutoCompleteTextView.setValidator(validator); in testAccessValidater() 489 assertSame(validator, mAutoCompleteTextView.getValidator()); in testAccessValidater()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 93 void testCompleted(MultiNetworkValidator validator); in testCompleted() argument 134 public void testCompleted(MultiNetworkValidator validator) { 135 if (validator == mMultiNetworkValidators[mMultiNetworkValidators.length 144 } else if (!validator.mTestResult) { 148 if (mMultiNetworkValidators[i] == validator) { 372 for (MultiNetworkValidator validator : mMultiNetworkValidators) { in rerunMultinetworkTests() 373 validator.reset(); in rerunMultinetworkTests() 488 TestConnectivityState(MultiNetworkValidator validator) { in TestConnectivityState() argument 489 mMultiNetworkValidator = validator; in TestConnectivityState()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |