Home
last modified time | relevance | path

Searched refs:SettingsValidators (Results 1 – 8 of 8) 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 …]
Dhiddenapi-greylist-max-o.txt60196 …ngs$Global;->APP_AUTO_RESTRICTION_ENABLED_VALIDATOR:Landroid/provider/SettingsValidators$Validator;
60202 Landroid/provider/Settings$Global;->AUTO_TIME_VALIDATOR:Landroid/provider/SettingsValidators$Valida…
60203 Landroid/provider/Settings$Global;->AUTO_TIME_ZONE_VALIDATOR:Landroid/provider/SettingsValidators$V…
60234 Landroid/provider/Settings$Global;->BLUETOOTH_ON_VALIDATOR:Landroid/provider/SettingsValidators$Val…
60239 …Settings$Global;->BUGREPORT_IN_POWER_MENU_VALIDATOR:Landroid/provider/SettingsValidators$Validator;
60241 Landroid/provider/Settings$Global;->CALL_AUTO_RETRY_VALIDATOR:Landroid/provider/SettingsValidators$…
60265 …Settings$Global;->CHARGING_SOUNDS_ENABLED_VALIDATOR:Landroid/provider/SettingsValidators$Validator;
60268 …tings$Global;->CHARGING_VIBRATION_ENABLED_VALIDATOR:Landroid/provider/SettingsValidators$Validator;
60304 …ettings$Global;->DOCK_AUDIO_MEDIA_ENABLED_VALIDATOR:Landroid/provider/SettingsValidators$Validator;
60306 …der/Settings$Global;->DOCK_SOUNDS_ENABLED_VALIDATOR:Landroid/provider/SettingsValidators$Validator;
[all …]
Dboot-image-profile.txt12827 HSPLandroid/provider/SettingsValidators$1;-><init>()V
12828 HSPLandroid/provider/SettingsValidators$2;-><init>()V
12829 HSPLandroid/provider/SettingsValidators$2;->validate(Ljava/lang/String;)Z
12830 HSPLandroid/provider/SettingsValidators$3;-><init>()V
12831 HSPLandroid/provider/SettingsValidators$4;-><init>()V
12832 HSPLandroid/provider/SettingsValidators$5;-><init>()V
12833 HSPLandroid/provider/SettingsValidators$6;-><init>()V
12834 HSPLandroid/provider/SettingsValidators$7;-><init>()V
12835 HSPLandroid/provider/SettingsValidators$8;-><init>()V
12836 HSPLandroid/provider/SettingsValidators$9;-><init>()V
[all …]