Searched refs:COMPONENT_NAME_VALIDATOR (Results 1 – 6 of 6) sorted by relevance
19 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;38 return COMPONENT_NAME_VALIDATOR.validate(item); in isItemValid()
19 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;44 return (COMPONENT_NAME_VALIDATOR.validate(item) || PACKAGE_NAME_VALIDATOR.validate(item)); in isItemValid()
88 public static final Validator COMPONENT_NAME_VALIDATOR = new Validator() { field in SettingsValidators101 return value == null || COMPONENT_NAME_VALIDATOR.validate(value);
20 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;179 VALIDATORS.put(System.MEDIA_BUTTON_RECEIVER, COMPONENT_NAME_VALIDATOR); in VALIDATORS.put() argument
25 import static android.provider.settings.validators.SettingsValidators.COMPONENT_NAME_VALIDATOR;153 VALIDATORS.put(Secure.NFC_PAYMENT_DEFAULT_COMPONENT, COMPONENT_NAME_VALIDATOR); in VALIDATORS.put() argument
83 assertTrue(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate( in testComponentNameValidator()85 assertFalse(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate("rectangle")); in testComponentNameValidator()90 assertFalse(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate(null)); in testComponentNameValidator_onNullValue_returnsFalse()