/frameworks/ex/common/tests/src/com/android/common/ |
D | Rfc822ValidatorTest.java | 82 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/startop/view_compiler/ |
D | tinyxml_layout_parser.cc | 23 LayoutValidationVisitor validator; in CanCompileLayout() local 24 TinyXmlVisitorAdapter adapter{&validator}; in CanCompileLayout() 28 *message = validator.message(); in CanCompileLayout() 31 return validator.can_compile(); in CanCompileLayout()
|
/frameworks/base/core/java/android/service/autofill/ |
D | Validators.java | 68 public static Validator not(@NonNull Validator validator) { in not() argument 69 Preconditions.checkArgument(validator instanceof InternalValidator, in not() 70 "validator not provided by Android System: " + validator); in not() 71 return new NegationValidator((InternalValidator) validator); in not()
|
D | OptionalValidators.java | 48 for (InternalValidator validator : mValidators) { in isValid() 49 final boolean valid = validator.isValid(finder); in isValid() 50 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid); in isValid()
|
D | RequiredValidators.java | 48 for (InternalValidator validator : mValidators) { in isValid() 49 final boolean valid = validator.isValid(finder); in isValid() 50 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid); in isValid()
|
D | SaveInfo.java | 596 public @NonNull Builder setValidator(@NonNull Validator validator) { in setValidator() argument 598 Preconditions.checkArgument((validator instanceof InternalValidator), in setValidator() 599 "not provided by Android System: " + validator); in setValidator() local 600 mValidator = (InternalValidator) validator; in setValidator() 802 final InternalValidator validator = parcel.readParcelable(null); 803 if (validator != null) { 804 builder.setValidator(validator);
|
D | NegationValidator.java | 35 NegationValidator(@NonNull InternalValidator validator) { in NegationValidator() argument 36 mValidator = Preconditions.checkNotNull(validator); in NegationValidator()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | CertificateVerifier.java | 47 CertPathValidator validator = in verifyCaCert() local 55 validator.validate(path, params); in verifyCaCert()
|
/frameworks/opt/gamesdk/samples/tuningfork/tfvalidate/ |
D | main.cpp | 35 tf::ApkValidator validator(zipFile, asset_path, debug); in validateApk() local 36 return validator.Validate(enforce_enums_in_annotations, in validateApk()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessageValidator.java | 57 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/av/media/codec2/sfplugin/ |
D | CCodecConfig.h | 168 LocalParamValidator validator; member 170 validator = [validator_](std::unique_ptr<C2Param>& p){ 182 mLocalParams.emplace(index, validator);
|
D | CCodecConfig.cpp | 1560 LocalParamValidator validator = mLocalParams.find(param->index())->second; in setParameters() local 1563 if (validator) { in setParameters() 1564 err = validator(copy); in setParameters()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 90 ValidateNotificationPeople validator, int contactsTimeoutMs, float timeoutAffinity) { in matchesCallFilter() argument 99 if (validator != null) { in matchesCallFilter() 100 final float contactAffinity = validator.getContactAffinity(userHandle, extras, in matchesCallFilter()
|
D | ZenModeHelper.java | 157 ValidateNotificationPeople validator, int contactsTimeoutMs, float timeoutAffinity) { in matchesCallFilter() argument 160 userHandle, extras, validator, contactsTimeoutMs, timeoutAffinity); in matchesCallFilter()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/ |
D | conformance_test.h | 140 const Validator& validator);
|
D | conformance_test.cc | 410 const Validator& validator) { in RunValidJsonTestWithValidator() argument 439 if (!validator(value)) { in RunValidJsonTestWithValidator()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 671 Validator validator = validators.get(key); in isValidSettingValue() local 672 return (validator != null) && validator.validate(value); in isValidSettingValue()
|
D | SettingsProvider.java | 1776 SettingsValidators.Validator validator = Settings.System.VALIDATORS.get(name); 1777 if (validator != null && !validator.validate(value)) {
|
/frameworks/base/core/java/android/widget/ |
D | AutoCompleteTextView.java | 1370 public void setValidator(Validator validator) { in setValidator() argument 1371 mValidator = validator; in setValidator()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 322 bool ValidateName(NameValidator validator, const ResourceNameRef& name, const Source& source,
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1666 AccountAuthorityValidator validator = new AccountAuthorityValidator(mContext); in readAccountInfoLocked() local 1672 authority = parseAuthority(parser, version, validator); in readAccountInfoLocked() 1802 AccountAuthorityValidator validator) { in parseAuthority() argument 1846 if (validator.isAccountValid(info.account, userId) in parseAuthority() 1847 && validator.isAuthorityValid(authorityName, userId)) { in parseAuthority()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Session.java | 1800 final InternalValidator validator = saveInfo.getValidator(); in showSaveLocked() local 1801 if (validator != null) { in showSaveLocked() 1805 isValid = validator.isValid(this); in showSaveLocked() 1806 if (sDebug) Slog.d(TAG, validator + " returned " + isValid); in showSaveLocked()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1563 public void setValidator(Validator validator) { in setValidator() argument 1564 mValidator = validator; in setValidator() 1565 super.setValidator(validator); in setValidator()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 2082 CertPathValidator validator = in verifyCert() local 2090 validator.validate(path, params); in verifyCert()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 4850 // Result of the validation on save when an autofill service provided a validator
|