Searched refs:COMPONENT_NAME_VALIDATOR (Results 1 – 3 of 3) sorted by relevance
89 public static final Validator COMPONENT_NAME_VALIDATOR = new Validator() { field in SettingsValidators102 return value == null || COMPONENT_NAME_VALIDATOR.validate(value);257 if (!COMPONENT_NAME_VALIDATOR.validate(element)) { in validate()
22 import static android.provider.SettingsValidators.COMPONENT_NAME_VALIDATOR;3913 private static final Validator MEDIA_BUTTON_RECEIVER_VALIDATOR = COMPONENT_NAME_VALIDATOR;7857 COMPONENT_NAME_VALIDATOR;
80 assertTrue(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate( in testComponentNameValidator()82 assertFalse(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate("rectangle")); in testComponentNameValidator()87 assertFalse(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate(null)); in testComponentNameValidator_onNullValue_returnsFalse()