/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | SettingsValidators.java | 38 public static final Validator BOOLEAN_VALIDATOR = 41 public static final Validator ANY_STRING_VALIDATOR = new Validator() { 48 public static final Validator FONT_SCALE_VALIDATOR = new InclusiveFloatRangeValidator(0.25f, 51 public static final Validator NON_NEGATIVE_INTEGER_VALIDATOR = new Validator() { 65 public static final Validator ANY_INTEGER_VALIDATOR = new Validator() { 80 public static final Validator NON_NEGATIVE_FLOAT_VALIDATOR = new Validator() { 94 public static final Validator URI_VALIDATOR = new Validator() { 114 public static final Validator COMPONENT_NAME_VALIDATOR = new Validator() { 124 public static final Validator NULLABLE_COMPONENT_NAME_VALIDATOR = new Validator() { 131 public static final Validator PACKAGE_NAME_VALIDATOR = new Validator() { [all …]
|
D | Validator.java | 26 public interface Validator { interface
|
D | SystemSettingsValidators.java | 49 public static final Map<String, Validator> VALIDATORS = new ArrayMap<>(); 91 new Validator() { in VALIDATORS.put() 105 new Validator() { in VALIDATORS.put() 161 new Validator() { in VALIDATORS.put() 226 new Validator() { in VALIDATORS.put()
|
D | DiscreteValueValidator.java | 28 public final class DiscreteValueValidator implements Validator {
|
D | InclusiveIntegerRangeValidator.java | 26 final class InclusiveIntegerRangeValidator implements Validator {
|
D | InclusiveFloatRangeValidator.java | 26 final class InclusiveFloatRangeValidator implements Validator {
|
D | ListValidator.java | 26 abstract class ListValidator implements Validator {
|
D | GlobalSettingsValidators.java | 51 public static final Map<String, Validator> VALIDATORS = new ArrayMap<>();
|
/frameworks/base/core/java/android/service/autofill/ |
D | Validators.java | 42 public static Validator and(@NonNull Validator...validators) { in and() 55 public static Validator or(@NonNull Validator...validators) { in or() 68 public static Validator not(@NonNull Validator validator) { in not() 74 private static InternalValidator[] getInternalValidators(Validator[] validators) { in getInternalValidators()
|
D | Validator.java | 23 public interface Validator { interface
|
D | InternalValidator.java | 29 public abstract class InternalValidator implements Validator, Parcelable {
|
D | RegexValidator.java | 36 public final class RegexValidator extends InternalValidator implements Validator, Parcelable {
|
D | LuhnChecksumValidator.java | 38 public final class LuhnChecksumValidator extends InternalValidator implements Validator,
|
D | CustomDescription.java | 276 public Builder batchUpdate(@NonNull Validator condition, @NonNull BatchUpdates updates) { in batchUpdate()
|
D | SaveInfo.java | 721 public @NonNull Builder setValidator(@NonNull Validator validator) { in setValidator()
|
/frameworks/base/packages/SettingsProvider/test/src/android/provider/settings/validators/ |
D | SettingsValidatorsTest.java | 144 Validator v = new DiscreteValueValidator(beerTypes); in testDiscreteValueValidator() 154 Validator v = new DiscreteValueValidator(discreteTypes); in testDiscreteValueValidator_onNullValue_returnsTrue() 161 Validator v = new InclusiveIntegerRangeValidator(0, 5); in testInclusiveIntegerRangeValidator() 171 Validator v = new InclusiveIntegerRangeValidator(0, 5); in testInclusiveIntegerRangeValidator_onNullValue_returnsTrue() 178 Validator v = new InclusiveFloatRangeValidator(0.0f, 5.0f); in testInclusiveFloatRangeValidator() 188 Validator v = new InclusiveFloatRangeValidator(0.0f, 5.0f); in testInclusiveFloatRangeValidator_onNullValue_returnsTrue() 195 Validator v = new ComponentNameListValidator(","); in testComponentNameListValidator() 203 Validator v = new ComponentNameListValidator(","); in testComponentNameListValidator_onNullValue_returnsFalse() 210 Validator v = new PackageNameListValidator(","); in testPackageNameListValidator() 217 Validator v = new PackageNameListValidator(","); in testPackageNameListValidator_onNullValue_returnsFalse() [all …]
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
D | LargeAssetTest.java | 39 Validator mValidateThread; 55 mValidateThread = new Validator(); 63 class Validator extends AsyncTask<AssetManager, Integer, Boolean> { class in LargeAssetTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
D | AndroidPackageParsingValidationTest.kt | 19 import android.content.res.Validator in <lambda>() 590 val validator = Validator() in <lambda>() 632 val validator = Validator() in <lambda>() 666 val validator = Validator() in <lambda>() 698 val validator = Validator() in <lambda>() 750 val validator = Validator() in <lambda>() 759 val validator = Validator() in <lambda>() 773 val validator = Validator() in <lambda>()
|
/frameworks/base/core/java/android/content/res/ |
D | Validator.java | 35 public class Validator { class
|
D | XmlBlock.java | 102 public XmlResourceParser newParser(@AnyRes int resId, Validator validator) { in newParser() 123 Validator mValidator; 131 Parser(long parseState, XmlBlock block, Validator validator) { in Parser()
|
/frameworks/ex/common/java/com/android/common/ |
D | Rfc822Validator.java | 41 public class Rfc822Validator implements AutoCompleteTextView.Validator {
|
/frameworks/base/core/java/android/widget/ |
D | AutoCompleteTextView.java | 137 private Validator mValidator = null; 1389 public void setValidator(Validator validator) { in setValidator() 1400 public Validator getValidator() { in getValidator() 1476 public interface Validator { interface in AutoCompleteTextView
|
D | MultiAutoCompleteTextView.java | 141 Validator v = getValidator(); in performValidation()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsBackupAgentTest.java | 37 import android.provider.settings.validators.Validator; 74 private static final Map<String, Validator> TEST_VALUES_VALIDATORS = new HashMap<>();
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 48 import android.provider.settings.validators.Validator; 1003 Map<String, Validator> validators = null; in getBackupWhitelist() 1043 Map<String, Validator> validators) { in isValidSettingValue() 1047 Validator validator = validators.get(key); in isValidSettingValue() 1591 final Map<String, Validator> mSettingsValidators; 1595 Map<String, Validator> settingsValidators) { in SettingsBackupWhitelist()
|