Home
last modified time | relevance | path

Searched refs:validator (Results 1 – 13 of 13) 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DCertificateVerifier.java47 CertPathValidator validator = in verifyCaCert() local
55 validator.validate(path, params); in verifyCaCert()
/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/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp39 …alidatingBakedOpRenderer(RenderState& renderState, std::function<void(const Glop& glop)> validator) in ValidatingBakedOpRenderer() argument
41 , mValidator(validator) { in ValidatingBakedOpRenderer()
197 std::function<void(const Glop& glop)> validator) { in validateLayerDraw() argument
217 ValidatingBakedOpRenderer renderer(renderThread.renderState(), validator); in validateLayerDraw()
DBakedOpStateTests.cpp95 const std::function<void(const ResolvedRenderState&)> validator; member
174 testCase.validator(state); in TEST()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java79 UserHandle userHandle, Bundle extras, ValidateNotificationPeople validator, in matchesCallFilter() argument
88 if (validator != null) { in matchesCallFilter()
89 final float contactAffinity = validator.getContactAffinity(userHandle, extras, in matchesCallFilter()
DZenModeHelper.java144 ValidateNotificationPeople validator, int contactsTimeoutMs, float timeoutAffinity) { in matchesCallFilter() argument
147 extras, validator, contactsTimeoutMs, timeoutAffinity); in matchesCallFilter()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUSocketFactory.java243 CertPathValidator validator = in checkServerTrusted() local
273 validator.validate(path, params); in checkServerTrusted()
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java1270 public void setValidator(Validator validator) { in setValidator() argument
1271 mValidator = validator; in setValidator()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1551 AccountAuthorityValidator validator = new AccountAuthorityValidator(mContext); in readAccountInfoLocked() local
1557 authority = parseAuthority(parser, version, validator); in readAccountInfoLocked()
1687 AccountAuthorityValidator validator) { in parseAuthority() argument
1731 if (validator.isAccountValid(info.account, userId) in parseAuthority()
1732 && validator.isAuthorityValid(authorityName, userId)) { in parseAuthority()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1563 public void setValidator(Validator validator) { in setValidator() argument
1564 mValidator = validator; in setValidator()
1565 super.setValidator(validator); in setValidator()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1455 Settings.System.Validator validator = Settings.System.VALIDATORS.get(name);
1456 if (validator != null && !validator.validate(value)) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1597 CertPathValidator validator = in verifyCert() local
1605 validator.validate(path, params); in verifyCert()