Home
last modified time | relevance | path

Searched refs:validators (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/service/autofill/
DValidators.java42 public static Validator and(@NonNull Validator...validators) { in and() argument
43 return new RequiredValidators(getInternalValidators(validators)); in and()
55 public static Validator or(@NonNull Validator...validators) { in or() argument
56 return new OptionalValidators(getInternalValidators(validators)); in or()
74 private static InternalValidator[] getInternalValidators(Validator[] validators) { in getInternalValidators() argument
75 Preconditions.checkArrayElementsNotNull(validators, "validators"); in getInternalValidators()
77 final InternalValidator[] internals = new InternalValidator[validators.length]; in getInternalValidators()
79 for (int i = 0; i < validators.length; i++) { in getInternalValidators()
80 Preconditions.checkArgument((validators[i] instanceof InternalValidator), in getInternalValidators()
81 "element %d not provided by Android System: %s", i, validators[i]); in getInternalValidators() local
[all …]
DRequiredValidators.java44 RequiredValidators(@NonNull InternalValidator[] validators) { in RequiredValidators() argument
45 mValidators = Preconditions.checkArrayElementsNotNull(validators, "validators"); in RequiredValidators()
DOptionalValidators.java44 OptionalValidators(@NonNull InternalValidator[] validators) { in OptionalValidators() argument
45 mValidators = Preconditions.checkArrayElementsNotNull(validators, "validators"); in OptionalValidators()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DAccessibilityShortcutTargetListValidator.java17 package android.provider.settings.validators;
19 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;
20 import static android.provider.settings.validators.SettingsValidators.PACKAGE_NAME_VALIDATOR;
DTTSListValidator.java17 package android.provider.settings.validators;
19 import static android.provider.settings.validators.SettingsValidators.ANY_STRING_VALIDATOR;
20 import static android.provider.settings.validators.SettingsValidators.LOCALE_VALIDATOR;
DSystemSettingsValidators.java17 package android.provider.settings.validators;
19 import static android.provider.settings.validators.SettingsValidators.ANY_INTEGER_VALIDATOR;
20 import static android.provider.settings.validators.SettingsValidators.ANY_STRING_VALIDATOR;
21 import static android.provider.settings.validators.SettingsValidators.BOOLEAN_VALIDATOR;
22 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;
23 import static android.provider.settings.validators.SettingsValidators.FONT_SCALE_VALIDATOR;
24 import static android.provider.settings.validators.SettingsValidators.LENIENT_IP_ADDRESS_VALIDATOR;
25 import static android.provider.settings.validators.SettingsValidators.NON_NEGATIVE_FLOAT_VALIDATOR;
26 import static android.provider.settings.validators.SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATO…
27 import static android.provider.settings.validators.SettingsValidators.URI_VALIDATOR;
[all …]
DSecureSettingsValidators.java17 package android.provider.settings.validators;
19 import static android.provider.settings.validators.SettingsValidators.ACCESSIBILITY_SHORTCUT_TARGET…
20 import static android.provider.settings.validators.SettingsValidators.ANY_INTEGER_VALIDATOR;
21 import static android.provider.settings.validators.SettingsValidators.ANY_LONG_VALIDATOR;
22 import static android.provider.settings.validators.SettingsValidators.ANY_STRING_VALIDATOR;
23 import static android.provider.settings.validators.SettingsValidators.AUTOFILL_SERVICE_VALIDATOR;
24 import static android.provider.settings.validators.SettingsValidators.BOOLEAN_VALIDATOR;
25 import static android.provider.settings.validators.SettingsValidators.COLON_SEPARATED_COMPONENT_LIS…
26 import static android.provider.settings.validators.SettingsValidators.COLON_SEPARATED_PACKAGE_LIST_…
27 import static android.provider.settings.validators.SettingsValidators.COMMA_SEPARATED_COMPONENT_LIS…
[all …]
DTileListValidator.java17 package android.provider.settings.validators;
19 import static android.provider.settings.validators.SettingsValidators.ANY_STRING_VALIDATOR;
DPackageNameListValidator.java17 package android.provider.settings.validators;
19 import static android.provider.settings.validators.SettingsValidators.PACKAGE_NAME_VALIDATOR;
DComponentNameListValidator.java17 package android.provider.settings.validators;
19 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;
DValidator.java17 package android.provider.settings.validators;
DGlobalSettingsValidators.java17 package android.provider.settings.validators;
26 import static android.provider.settings.validators.SettingsValidators.ANY_INTEGER_VALIDATOR;
27 import static android.provider.settings.validators.SettingsValidators.ANY_STRING_VALIDATOR;
28 import static android.provider.settings.validators.SettingsValidators.BOOLEAN_VALIDATOR;
29 import static android.provider.settings.validators.SettingsValidators.NONE_NEGATIVE_LONG_VALIDATOR;
30 import static android.provider.settings.validators.SettingsValidators.NON_NEGATIVE_FLOAT_VALIDATOR;
31 import static android.provider.settings.validators.SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATO…
32 import static android.provider.settings.validators.SettingsValidators.PACKAGE_NAME_VALIDATOR;
33 import static android.provider.settings.validators.SettingsValidators.PERCENTAGE_INTEGER_VALIDATOR;
DDiscreteValueValidator.java17 package android.provider.settings.validators;
DDiscreteValueIntegerListValidator.java17 package android.provider.settings.validators;
DInclusiveIntegerRangeValidator.java17 package android.provider.settings.validators;
DInclusiveFloatRangeValidator.java17 package android.provider.settings.validators;
DListValidator.java17 package android.provider.settings.validators;
DSettingsValidators.java17 package android.provider.settings.validators;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java45 import android.provider.settings.validators.GlobalSettingsValidators;
46 import android.provider.settings.validators.SecureSettingsValidators;
47 import android.provider.settings.validators.SystemSettingsValidators;
48 import android.provider.settings.validators.Validator;
1003 Map<String, Validator> validators = null; in getBackupWhitelist() local
1008 validators = SecureSettingsValidators.VALIDATORS; in getBackupWhitelist()
1012 validators = SystemSettingsValidators.VALIDATORS; in getBackupWhitelist()
1016 validators = GlobalSettingsValidators.VALIDATORS; in getBackupWhitelist()
1021 return new SettingsBackupWhitelist(whitelist, validators); in getBackupWhitelist()
1043 Map<String, Validator> validators) { in isValidSettingValue() argument
[all …]
DSettingsProvider.java110 import android.provider.settings.validators.SystemSettingsValidators;
111 import android.provider.settings.validators.Validator;
/frameworks/base/packages/SettingsProvider/test/src/android/provider/settings/validators/
DSettingsValidatorsTest.java17 package android.provider.settings.validators;
404 private String getOffenders(String[] settingsToBackup, Map<String, Validator> validators) { in getOffenders() argument
407 if (validators.get(setting) == null) { in getOffenders()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsBackupAgentTest.java36 import android.provider.settings.validators.SettingsValidators;
37 import android.provider.settings.validators.Validator;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...