/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/ml/nn/runtime/ |
D | Memory.h | 187 void setValidator(std::unique_ptr<MemoryValidatorBase> validator) { in setValidator() argument 188 mValidator = std::move(validator); in setValidator() 203 Memory(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator); 326 MemoryAHWB(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator) in MemoryAHWB() argument 327 : Memory(std::move(memory), std::move(validator)) {} in MemoryAHWB()
|
D | Memory.cpp | 190 Memory::Memory(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator) in Memory() argument 191 : kHidlMemory(std::move(memory)), mValidator(std::move(validator)) {} in Memory() 516 auto validator = in allocate() local 518 memory->setValidator(std::move(validator)); in allocate() 590 std::unique_ptr<MemoryValidatorBase> validator; in create() local 593 validator = std::make_unique<SizedMemoryValidator>(bufferDesc.width); in create() 597 validator = std::make_unique<AHardwareBufferNonBlobValidator>(); in create() 599 auto memory = std::make_unique<MemoryAHWB>(std::move(hidlMemory), std::move(validator)); in create()
|
/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 | 170 LocalParamValidator validator; member 172 validator = [validator_](std::unique_ptr<C2Param>& p){ 184 mLocalParams.emplace(index, validator);
|
D | CCodecConfig.cpp | 1577 LocalParamValidator validator = mLocalParams.find(param->index())->second; in setParameters() local 1580 if (validator) { in setParameters() 1581 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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 690 Validator validator = validators.get(key); in isValidSettingValue() local 691 return (validator != null) && validator.validate(value); in isValidSettingValue()
|
D | SettingsProvider.java | 1784 SettingsValidators.Validator validator = Settings.System.VALIDATORS.get(name); 1785 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 | 1566 public void setValidator(Validator validator) { in setValidator() argument 1567 mValidator = validator; in setValidator() 1568 super.setValidator(validator); in setValidator()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 2129 CertPathValidator validator = in verifyCert() local 2137 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
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 102649 Lcom/android/org/conscrypt/TrustManagerImpl;->validator:Ljava/security/cert/CertPathValidator;
|