Home
last modified time | relevance | path

Searched refs:ANY_INTEGER_VALIDATOR (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/android/provider/settings/validators/
DSettingsValidatorsTest.java65 assertTrue(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("1")); in testAnyIntegerValidator()
66 assertTrue(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("0")); in testAnyIntegerValidator()
67 assertTrue(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("-1")); in testAnyIntegerValidator()
68 assertFalse(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("rectangle")); in testAnyIntegerValidator()
73 assertFalse(SettingsValidators.ANY_INTEGER_VALIDATOR.validate(null)); in testAnyIntegerValidator_onNullValue_returnsFalse()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSecureSettingsValidators.java20 import static android.provider.settings.validators.SettingsValidators.ANY_INTEGER_VALIDATOR;
90 VALIDATORS.put(Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
91 VALIDATORS.put(Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
95 VALIDATORS.put(Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
103 VALIDATORS.put(Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
192 VALIDATORS.put(Secure.ZEN_DURATION, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
DGlobalSettingsValidators.java19 import static android.provider.settings.validators.SettingsValidators.ANY_INTEGER_VALIDATOR;
139 VALIDATORS.put(Global.ZEN_DURATION, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
150 VALIDATORS.put(Global.CUSTOM_BUGREPORT_HANDLER_USER, ANY_INTEGER_VALIDATOR); in VALIDATORS.put() argument
DSettingsValidators.java59 public static final Validator ANY_INTEGER_VALIDATOR = new Validator() { field in SettingsValidators
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt56996 Landroid/provider/SettingsValidators;->ANY_INTEGER_VALIDATOR:Landroid/provider/SettingsValidators$V…