Home
last modified time | relevance | path

Searched refs:SettingsValidators (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsValidatorsTest.java26 import android.provider.SettingsValidators.Validator;
49 assertTrue(SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR.validate("1")); in testNonNegativeIntegerValidator()
50 assertTrue(SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR.validate("0")); in testNonNegativeIntegerValidator()
51 assertFalse(SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR.validate("-1")); in testNonNegativeIntegerValidator()
52 assertFalse(SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR.validate("rectangle")); in testNonNegativeIntegerValidator()
57 assertFalse(SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR.validate(null)); in testNonNegativeIntegerValidator_onNullValue_returnsFalse()
62 assertTrue(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("1")); in testAnyIntegerValidator()
63 assertTrue(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("0")); in testAnyIntegerValidator()
64 assertTrue(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("-1")); in testAnyIntegerValidator()
65 assertFalse(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("rectangle")); in testAnyIntegerValidator()
[all …]
/frameworks/base/core/java/android/provider/
DSettings.java19 import static android.provider.SettingsValidators.ANY_INTEGER_VALIDATOR;
20 import static android.provider.SettingsValidators.ANY_STRING_VALIDATOR;
21 import static android.provider.SettingsValidators.BOOLEAN_VALIDATOR;
22 import static android.provider.SettingsValidators.COMPONENT_NAME_VALIDATOR;
23 import static android.provider.SettingsValidators.LENIENT_IP_ADDRESS_VALIDATOR;
24 import static android.provider.SettingsValidators.LOCALE_VALIDATOR;
25 import static android.provider.SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR;
26 import static android.provider.SettingsValidators.NULLABLE_COMPONENT_NAME_VALIDATOR;
27 import static android.provider.SettingsValidators.PACKAGE_NAME_VALIDATOR;
28 import static android.provider.SettingsValidators.URI_VALIDATOR;
[all …]
DSettingsValidators.java37 public class SettingsValidators { class
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java38 import android.provider.SettingsValidators.Validator;
DSettingsProvider.java73 import android.provider.SettingsValidators;
370 SettingsValidators.Validator> validators) { in getOffenders()
1776 SettingsValidators.Validator validator = Settings.System.VALIDATORS.get(name);
/frameworks/base/config/
Dpreloaded-classes3046 android.provider.SettingsValidators$1
3047 android.provider.SettingsValidators$2
3048 android.provider.SettingsValidators$3
3049 android.provider.SettingsValidators$4
3050 android.provider.SettingsValidators$5
3051 android.provider.SettingsValidators$6
3052 android.provider.SettingsValidators$7
3053 android.provider.SettingsValidators$8
3054 android.provider.SettingsValidators$9
3055 android.provider.SettingsValidators$ComponentNameListValidator
[all …]