/libcore/luni/src/main/java/javax/xml/validation/ |
Schema.java | 44 * One is {@link Validator}, which provides highly-level validation 74 * Creates a new {@link Validator} for this {@link Schema}. 77 * A validator enforces/checks the set of constraints this object 83 public abstract Validator newValidator();
|
Validator.java | 17 // $Id: Validator.java 888884 2009-12-09 17:36:46Z mrglavas $ 34 * A validator is a thread-unsafe and non-reentrant object. 36 * sure that one {@link Validator} object is not used from 50 public abstract class Validator { 59 * Derived classes must create {@link Validator} objects that have 63 protected Validator() { 67 * <p>Reset this <code>Validator</code> to its original configuration.</p> 69 * <p><code>Validator</code> is reset to the same state as when it was created with 71 * <code>reset()</code> is designed to allow the reuse of existing <code>Validator</code>s 72 * thus saving resources associated with the creation of new <code>Validator</code>s.</p [all...] |
/packages/apps/Email/src/com/android/email/ |
EmailAddressValidator.java | 19 import android.widget.AutoCompleteTextView.Validator; 23 public class EmailAddressValidator implements Validator {
|
/external/chromium-trace/trace-viewer/third_party/python_gflags/ |
gflags_validators.py | 34 A validator represents an invariant, enforced over a one or more flags. 42 """Thrown If validator constraint is not satisfied.""" 45 class Validator(object): 52 # Used to assign each validator an unique insertion_index 66 Validator.validators_count += 1 68 self.insertion_index = Validator.validators_count 73 flags library calls this method to verify Validator's constraint. 84 """Return the names of the flags checked by this validator. 100 Return type depends on the specific validator. 105 class SimpleValidator(Validator) [all...] |
/external/chromium_org/third_party/python_gflags/ |
gflags_validators.py | 34 A validator represents an invariant, enforced over a one or more flags. 42 """Thrown If validator constraint is not satisfied.""" 45 class Validator(object): 52 # Used to assign each validator an unique insertion_index 66 Validator.validators_count += 1 68 self.insertion_index = Validator.validators_count 73 flags library calls this method to verify Validator's constraint. 84 """Return the names of the flags checked by this validator. 100 Return type depends on the specific validator. 105 class SimpleValidator(Validator) [all...] |
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
LargeAssetTest.java | 39 Validator mValidateThread; 55 mValidateThread = new Validator(); 63 class Validator extends AsyncTask<AssetManager, Integer, Boolean> { 64 static final String TAG = "Validator";
|
/external/chromium_org/chromeos/tools/onc_validator/ |
onc_validator.cc | 124 chromeos::onc::Validator validator( 131 validator.SetOncSource(chromeos::onc::ONC_SOURCE_USER_POLICY); 133 validator.SetOncSource(chromeos::onc::ONC_SOURCE_DEVICE_POLICY); 135 validator.SetOncSource(chromeos::onc::ONC_SOURCE_USER_IMPORT); 150 chromeos::onc::Validator::Result result; 151 validator.ValidateAndRepairObject(signature, *onc_object, &result); 154 case chromeos::onc::Validator::VALID: 156 case chromeos::onc::Validator::VALID_WITH_WARNINGS: 158 case chromeos::onc::Validator::INVALID [all...] |
/external/chromium_org/chromeos/network/onc/ |
onc_validator.cc | 48 Validator::Validator( 60 Validator::~Validator() { 63 scoped_ptr<base::DictionaryValue> Validator::ValidateAndRepairObject( 91 scoped_ptr<base::Value> Validator::MapValue( 111 scoped_ptr<base::DictionaryValue> Validator::MapObject( 156 scoped_ptr<base::Value> Validator::MapField( 183 scoped_ptr<base::ListValue> Validator::MapArray( 201 scoped_ptr<base::Value> Validator::MapEntry(int index [all...] |
onc_validator_unittest.cc | 25 // to be managed if |managed_onc| is true. A strict validator is used if 34 scoped_ptr<Validator> validator; local 36 // Create a strict validator that complains about every error. 37 validator.reset(new Validator(true, true, true, managed_onc)); 39 // Create a liberal validator that ignores or repairs non-critical errors. 40 validator.reset(new Validator(false, false, false, managed_onc)); 42 validator->SetOncSource(onc_source) [all...] |
onc_validator.h | 26 // The ONC Validator searches for the following invalid cases: 55 class CHROMEOS_EXPORT Validator : public Mapper { 64 Validator(bool error_on_unknown_field, 69 virtual ~Validator(); 237 DISALLOW_COPY_AND_ASSIGN(Validator);
|
onc_utils.cc | 383 Validator validator(false, // Ignore unknown fields. 387 validator.SetOncSource(onc_source); 389 Validator::Result validation_result; 390 toplevel_onc = validator.ValidateAndRepairObject( 397 validation_result == Validator::VALID); 401 if (validation_result == Validator::VALID_WITH_WARNINGS) { 405 } else if (validation_result == Validator::INVALID || toplevel_onc == NULL) {
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
configuration_policy_handler_chromeos.cc | 74 onc::Validator validator(false, // Ignore unknown fields. 78 validator.SetOncSource(onc_source_); 81 onc::Validator::Result validation_result; 82 root_dict = validator.ValidateAndRepairObject( 84 if (validation_result == onc::Validator::VALID_WITH_WARNINGS) 86 else if (validation_result == onc::Validator::INVALID)
|
/frameworks/ex/common/java/com/android/common/ |
Rfc822Validator.java | 27 * This class works as a Validator for AutoCompleteTextView for 40 public class Rfc822Validator implements AutoCompleteTextView.Validator { 55 * Constructs a new validator that uses the specified domain name as 74 * Specify if the validator should remove invalid tokens instead of trying
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AutoCompleteTextViewTest.java | 43 import android.widget.AutoCompleteTextView.Validator; 71 Validator mValidator = new Validator() { 277 final MockValidator validator = new MockValidator(); local 278 mAutoCompleteTextView.setValidator(validator); 349 final MockValidator validator = new MockValidator(); local 352 mAutoCompleteTextView.setValidator(validator); 353 assertSame(validator, mAutoCompleteTextView.getValidator()); 669 private class MockValidator implements AutoCompleteTextView.Validator {
|
MultiAutoCompleteTextViewTest.java | 253 private class MockValidator implements MultiAutoCompleteTextView.Validator {
|
/frameworks/base/core/java/android/widget/ |
AutoCompleteTextView.java | 116 private Validator mValidator = null; [all...] |
MultiAutoCompleteTextView.java | 138 Validator v = getValidator();
|
/external/clang/lib/Sema/ |
SemaOpenMP.cpp | 60 VarDeclFilterCCC Validator(*this); 62 0, Validator);
|
SemaExprMember.cpp | 622 RecordMemberExprValidatorCCC Validator; 625 &SS, Validator, DC); [all...] |
SemaCXXScopeSpec.cpp | 491 NestedNameSpecifierValidatorCCC Validator(*this); 495 Found.getLookupKind(), S, &SS, Validator, [all...] |
SemaLambda.cpp | 706 DeclFilterCCC<VarDecl> Validator; 707 if (DiagnoseEmptyLookup(CurScope, ScopeSpec, R, Validator)) [all...] |
SemaTemplateVariadic.cpp | 811 ParameterPackValidatorCCC Validator; 821 Validator)) { [all...] |
SemaDeclObjC.cpp | 512 ObjCInterfaceValidatorCCC Validator(IDecl); 515 NULL, Validator)) { 747 DeclFilterCCC<ObjCProtocolDecl> Validator; 750 LookupObjCProtocolName, TUScope, NULL, Validator); [all...] |
/external/chromium_org/chromeos/network/ |
managed_network_configuration_handler.cc | 539 onc::Validator validator(false, // Ignore unknown fields. 544 onc::Validator::Result validation_result; 546 validator.ValidateAndRepairObject( 551 if (validation_result == onc::Validator::INVALID) { 558 if (validation_result == onc::Validator::VALID_WITH_WARNINGS) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
RecipientsEditor.java | 59 /** A noop validator that does not munge invalid texts and claims any address is valid */ 60 private class AddressValidator implements Validator {
|