Home
last modified time | relevance | path

Searched refs:COMPONENT_NAME_VALIDATOR (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/provider/
DSettingsValidators.java89 public static final Validator COMPONENT_NAME_VALIDATOR = new Validator() { field in SettingsValidators
102 return value == null || COMPONENT_NAME_VALIDATOR.validate(value);
257 if (!COMPONENT_NAME_VALIDATOR.validate(element)) { in validate()
DSettings.java22 import static android.provider.SettingsValidators.COMPONENT_NAME_VALIDATOR;
3913 private static final Validator MEDIA_BUTTON_RECEIVER_VALIDATOR = COMPONENT_NAME_VALIDATOR;
7857 COMPONENT_NAME_VALIDATOR;
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsValidatorsTest.java80 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()