/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/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | LayoutValidator.java | 17 package com.android.tools.idea.validator; 19 import com.android.tools.idea.validator.ValidatorData.Level; 20 import com.android.tools.idea.validator.ValidatorData.Policy; 21 import com.android.tools.idea.validator.ValidatorData.Type; 22 import com.android.tools.idea.validator.accessibility.AccessibilityValidator;
|
D | ValidatorResult.java | 17 package com.android.tools.idea.validator; 19 import com.android.tools.idea.validator.ValidatorData.Issue; 20 import com.android.tools.idea.validator.ValidatorData.Level;
|
D | ValidatorData.java | 17 package com.android.tools.idea.validator;
|
/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: %s", validator); in not() 71 return new NegationValidator((InternalValidator) validator); in not()
|
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 | 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 | SaveInfo.java | 687 public @NonNull Builder setValidator(@NonNull Validator validator) { in setValidator() argument 689 Preconditions.checkArgument((validator instanceof InternalValidator), in setValidator() 690 "not provided by Android System: %s", validator); in setValidator() local 691 mValidator = (InternalValidator) validator; in setValidator() 897 final InternalValidator validator = parcel.readParcelable(null); 898 if (validator != null) { 899 builder.setValidator(validator);
|
D | NegationValidator.java | 35 NegationValidator(@NonNull InternalValidator validator) { in NegationValidator() argument 36 mValidator = Preconditions.checkNotNull(validator); in NegationValidator()
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/accessibility/ |
D | AccessibilityValidator.java | 17 package com.android.tools.idea.validator.accessibility; 19 import com.android.tools.idea.validator.ValidatorData; 20 import com.android.tools.idea.validator.ValidatorData.Fix; 21 import com.android.tools.idea.validator.ValidatorData.Issue.IssueBuilder; 22 import com.android.tools.idea.validator.ValidatorData.Level; 23 import com.android.tools.idea.validator.ValidatorData.Type; 24 import com.android.tools.idea.validator.ValidatorResult; 25 import com.android.tools.idea.validator.ValidatorResult.Metric;
|
D | AtfBufferedImage.java | 17 package com.android.tools.idea.validator.accessibility; 19 import com.android.tools.idea.validator.ValidatorResult.Metric;
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/ |
D | WaitUtils.kt | 25 val (success, _) = waitForResult(extractor = condition, validator = { it }) in wait() 33 validator: (R) -> Boolean = { it != null } in waitForResult() 38 if (validator(result)) {
|
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/accessibility/ |
D | AccessibilityValidatorTests.java | 17 package com.android.tools.idea.validator.accessibility; 26 import com.android.tools.idea.validator.LayoutValidator; 27 import com.android.tools.idea.validator.ValidatorData; 28 import com.android.tools.idea.validator.ValidatorData.Issue; 29 import com.android.tools.idea.validator.ValidatorData.Level; 30 import com.android.tools.idea.validator.ValidatorData.Policy; 31 import com.android.tools.idea.validator.ValidatorData.Type; 32 import com.android.tools.idea.validator.ValidatorResult;
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | Main.java | 25 import com.android.tools.idea.validator.LayoutValidatorTests; 26 import com.android.tools.idea.validator.accessibility.AccessibilityValidatorTests;
|
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/ |
D | LayoutValidatorTests.java | 17 package com.android.tools.idea.validator; 24 import com.android.tools.idea.validator.ValidatorData.Issue; 25 import com.android.tools.idea.validator.ValidatorData.Level; 26 import com.android.tools.idea.validator.ValidatorData.Type;
|
/frameworks/layoutlib/bridge/ |
D | Android.bp | 38 "layoutlib-validator", 67 "layoutlib-validator",
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.h | 181 LocalParamValidator validator; member 183 validator = [validator_](std::unique_ptr<C2Param>& p){ 195 mLocalParams.emplace(index, validator);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 91 ValidateNotificationPeople validator, int contactsTimeoutMs, float timeoutAffinity) { in matchesCallFilter() argument 100 if (validator != null) { in matchesCallFilter() 101 final float contactAffinity = validator.getContactAffinity(userHandle, extras, in matchesCallFilter()
|
/frameworks/layoutlib/validator/ |
D | Android.bp | 22 name: "layoutlib-validator",
|
/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() 253 private void addValidationInfo(int opcode, ParameterValidator validator, int addrType) { in addValidationInfo() argument 254 mValidationInfo.append(opcode, new ValidationInfo(validator, addrType)); in addValidationInfo()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 49 import com.android.tools.idea.validator.LayoutValidator; 50 import com.android.tools.idea.validator.ValidatorResult; 51 import com.android.tools.idea.validator.ValidatorResult.Builder;
|
/frameworks/base/core/java/android/widget/ |
D | AutoCompleteTextView.java | 1371 public void setValidator(Validator validator) { in setValidator() argument 1372 mValidator = validator; in setValidator()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 906 Validator validator = validators.get(key); in isValidSettingValue() local 907 return (validator != null) && validator.validate(value); in isValidSettingValue()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1670 AccountAuthorityValidator validator = new AccountAuthorityValidator(mContext); in readAccountInfoLocked() local 1676 authority = parseAuthority(parser, version, validator); in readAccountInfoLocked() 1802 AccountAuthorityValidator validator) throws XmlPullParserException { in parseAuthority() argument 1843 if (validator.isAccountValid(info.account, userId) in parseAuthority() 1844 && validator.isAuthorityValid(authorityName, userId)) { in parseAuthority()
|