Searched refs:SettingsValidators (Results 1 – 6 of 6) sorted by relevance
26 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 …]
19 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 …]
37 public class SettingsValidators { class
38 import android.provider.SettingsValidators.Validator;
73 import android.provider.SettingsValidators;370 SettingsValidators.Validator> validators) { in getOffenders()1776 SettingsValidators.Validator validator = Settings.System.VALIDATORS.get(name);
3046 android.provider.SettingsValidators$13047 android.provider.SettingsValidators$23048 android.provider.SettingsValidators$33049 android.provider.SettingsValidators$43050 android.provider.SettingsValidators$53051 android.provider.SettingsValidators$63052 android.provider.SettingsValidators$73053 android.provider.SettingsValidators$83054 android.provider.SettingsValidators$93055 android.provider.SettingsValidators$ComponentNameListValidator[all …]