/frameworks/base/core/java/android/service/autofill/ |
D | Validators.java | 42 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 " + i + " not provided by Android System: " + validators[i]); in getInternalValidators() local [all …]
|
D | OptionalValidators.java | 42 OptionalValidators(@NonNull InternalValidator[] validators) { in OptionalValidators() argument 43 mValidators = Preconditions.checkArrayElementsNotNull(validators, "validators"); in OptionalValidators()
|
D | RequiredValidators.java | 42 RequiredValidators(@NonNull InternalValidator[] validators) { in RequiredValidators() argument 43 mValidators = Preconditions.checkArrayElementsNotNull(validators, "validators"); in RequiredValidators()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | SecureSettingsValidators.java | 17 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.BOOLEAN_VALIDATOR; 22 import static android.provider.settings.validators.SettingsValidators.COLON_SEPARATED_COMPONENT_LIS… 23 import static android.provider.settings.validators.SettingsValidators.COLON_SEPARATED_PACKAGE_LIST_… 24 import static android.provider.settings.validators.SettingsValidators.COMMA_SEPARATED_COMPONENT_LIS… 25 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR; 26 import static android.provider.settings.validators.SettingsValidators.JSON_OBJECT_VALIDATOR; 27 import static android.provider.settings.validators.SettingsValidators.LOCALE_VALIDATOR; [all …]
|
D | AccessibilityShortcutTargetListValidator.java | 17 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;
|
D | TTSListValidator.java | 17 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;
|
D | GlobalSettingsValidators.java | 17 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.PACKAGE_NAME_VALIDATOR; 23 import static android.provider.settings.validators.SettingsValidators.PERCENTAGE_INTEGER_VALIDATOR;
|
D | SystemSettingsValidators.java | 17 package android.provider.settings.validators; 19 import static android.provider.settings.validators.SettingsValidators.BOOLEAN_VALIDATOR; 20 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR; 21 import static android.provider.settings.validators.SettingsValidators.DATE_FORMAT_VALIDATOR; 22 import static android.provider.settings.validators.SettingsValidators.LENIENT_IP_ADDRESS_VALIDATOR; 23 import static android.provider.settings.validators.SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATO… 24 import static android.provider.settings.validators.SettingsValidators.URI_VALIDATOR; 25 import static android.provider.settings.validators.SettingsValidators.VIBRATION_INTENSITY_VALIDATOR;
|
D | TileListValidator.java | 17 package android.provider.settings.validators; 19 import static android.provider.settings.validators.SettingsValidators.ANY_STRING_VALIDATOR;
|
D | ComponentNameListValidator.java | 17 package android.provider.settings.validators; 19 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;
|
D | PackageNameListValidator.java | 17 package android.provider.settings.validators; 19 import static android.provider.settings.validators.SettingsValidators.PACKAGE_NAME_VALIDATOR;
|
D | Validator.java | 17 package android.provider.settings.validators;
|
D | DiscreteValueValidator.java | 17 package android.provider.settings.validators;
|
D | InclusiveIntegerRangeValidator.java | 17 package android.provider.settings.validators;
|
D | InclusiveFloatRangeValidator.java | 17 package android.provider.settings.validators;
|
D | ListValidator.java | 17 package android.provider.settings.validators;
|
D | SettingsValidators.java | 17 package android.provider.settings.validators;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 41 import android.provider.settings.validators.GlobalSettingsValidators; 42 import android.provider.settings.validators.SecureSettingsValidators; 43 import android.provider.settings.validators.SystemSettingsValidators; 44 import android.provider.settings.validators.Validator; 848 Map<String, Validator> validators = null; in getBackupWhitelist() local 853 validators = SecureSettingsValidators.VALIDATORS; in getBackupWhitelist() 857 validators = SystemSettingsValidators.VALIDATORS; in getBackupWhitelist() 861 validators = GlobalSettingsValidators.VALIDATORS; in getBackupWhitelist() 866 return new SettingsBackupWhitelist(whitelist, validators); in getBackupWhitelist() 888 Map<String, Validator> validators) { in isValidSettingValue() argument [all …]
|
D | SettingsProvider.java | 81 import android.provider.settings.validators.SystemSettingsValidators; 82 import android.provider.settings.validators.Validator;
|
/frameworks/base/packages/SettingsProvider/test/src/android/provider/settings/validators/ |
D | SettingsValidatorsTest.java | 17 package android.provider.settings.validators; 355 private String getOffenders(String[] settingsToBackup, Map<String, Validator> validators) { in getOffenders() argument 358 if (validators.get(setting) == null) { in getOffenders()
|
/frameworks/base/packages/SettingsProvider/ |
D | Android.bp | 29 "src/android/provider/settings/validators/*",
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsBackupAgentTest.java | 35 import android.provider.settings.validators.SettingsValidators; 36 import android.provider.settings.validators.Validator;
|