Home
last modified time | relevance | path

Searched refs:Validator (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSettingsValidators.java38 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 …]
DValidator.java26 public interface Validator { interface
DSystemSettingsValidators.java49 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()
DDiscreteValueValidator.java28 public final class DiscreteValueValidator implements Validator {
DInclusiveIntegerRangeValidator.java26 final class InclusiveIntegerRangeValidator implements Validator {
DInclusiveFloatRangeValidator.java26 final class InclusiveFloatRangeValidator implements Validator {
DListValidator.java26 abstract class ListValidator implements Validator {
DGlobalSettingsValidators.java51 public static final Map<String, Validator> VALIDATORS = new ArrayMap<>();
/frameworks/base/core/java/android/service/autofill/
DValidators.java42 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()
DValidator.java23 public interface Validator { interface
DInternalValidator.java29 public abstract class InternalValidator implements Validator, Parcelable {
DRegexValidator.java36 public final class RegexValidator extends InternalValidator implements Validator, Parcelable {
DLuhnChecksumValidator.java38 public final class LuhnChecksumValidator extends InternalValidator implements Validator,
DCustomDescription.java276 public Builder batchUpdate(@NonNull Validator condition, @NonNull BatchUpdates updates) { in batchUpdate()
DSaveInfo.java721 public @NonNull Builder setValidator(@NonNull Validator validator) { in setValidator()
/frameworks/base/packages/SettingsProvider/test/src/android/provider/settings/validators/
DSettingsValidatorsTest.java144 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/
DLargeAssetTest.java39 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/
DAndroidPackageParsingValidationTest.kt19 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/
DValidator.java35 public class Validator { class
DXmlBlock.java102 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/
DRfc822Validator.java41 public class Rfc822Validator implements AutoCompleteTextView.Validator {
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java137 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
DMultiAutoCompleteTextView.java141 Validator v = getValidator(); in performValidation()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsBackupAgentTest.java37 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/
DSettingsBackupAgent.java48 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()

12