Home
last modified time | relevance | path

Searched refs:validator (Results 1 – 11 of 11) sorted by relevance

/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java82 Rfc822Validator validator = new Rfc822Validator("gmail.com"); in testEmailValidator() local
85 assertTrue(email + " should be a valid email address", validator.isValid(email)); in testEmailValidator()
89 assertFalse(email + " should not be a valid email address", validator.isValid(email)); in testEmailValidator()
99 assertEquals(e.getValue(), validator.fixText(e.getKey()).toString()); in testEmailValidator()
105 Rfc822Validator validator = new Rfc822Validator(null); in testEmailValidatorNullDomain() local
114 assertEquals(e.getValue(), validator.fixText(e.getKey()).toString()); in testEmailValidatorNullDomain()
120 Rfc822Validator validator = new Rfc822Validator("google.com"); in testEmailValidatorRemoveInvalid() local
121 validator.setRemoveInvalid(true); in testEmailValidatorRemoveInvalid()
130 assertEquals(e.getValue(), validator.fixText(e.getKey()).toString()); in testEmailValidatorRemoveInvalid()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageValidator.java57 public ValidationInfo(ParameterValidator validator, int type) { in ValidationInfo() argument
58 parameterValidator = validator; in ValidationInfo()
189 private void addValidationInfo(int opcode, ParameterValidator validator, int addrType) { in addValidationInfo() argument
190 mValidationInfo.append(opcode, new ValidationInfo(validator, addrType)); in addValidationInfo()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java79 UserHandle userHandle, Bundle extras, ValidateNotificationPeople validator, in matchesCallFilter() argument
86 if (validator != null) { in matchesCallFilter()
87 final float contactAffinity = validator.getContactAffinity(userHandle, extras, in matchesCallFilter()
DZenModeHelper.java119 ValidateNotificationPeople validator, int contactsTimeoutMs, float timeoutAffinity) { in matchesCallFilter() argument
121 validator, contactsTimeoutMs, timeoutAffinity); in matchesCallFilter()
/frameworks/base/docs/html/guide/webapps/
Dbest-practices.jd69 validator, such as the one available at
70 <a href="http://validator.w3.org/">http://validator.w3.org</a>.</p>
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java1159 public void setValidator(Validator validator) { in setValidator() argument
1160 mValidator = validator; in setValidator()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java958 Settings.System.Validator validator = Settings.System.VALIDATORS.get(name); in validateSystemSettingValue() local
959 if (validator != null && !validator.validate(value)) { in validateSystemSettingValue()
/frameworks/base/tools/aapt2/
DMain.cpp587 ManifestValidator validator(table); in compileManifest() local
588 if (!validator.validate(options.manifest, &tree)) { in compileManifest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java877 CertPathValidator validator = in verifyCert() local
885 validator.validate(path, params); in verifyCert()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1326 public void setValidator(Validator validator) { in setValidator() argument
1327 mValidator = validator; in setValidator()
1328 super.setValidator(validator); in setValidator()
/frameworks/base/docs/html/google/play/licensing/
Dadding-licensing.jd567 {@link android.content.SharedPreferences} and notifies the validator, which then calls the
569 <li>If the license not valid, the {@code Policy} notifies the validator, which calls