Home
last modified time | relevance | path

Searched refs:name_validator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceTable.cpp377 bool ResourceTable::ValidateName(NameValidator name_validator, const ResourceNameRef& name, in ValidateName() argument
379 const StringPiece bad_char = name_validator(name.entry); in ValidateName()
390 std::unique_ptr<Value> value, NameValidator name_validator, in AddResourceImpl() argument
397 if (!ValidateName(name_validator, name, source, diag)) { in AddResourceImpl()
498 const ResourceId& res_id, NameValidator name_validator, in SetVisibilityImpl() argument
503 if (!ValidateName(name_validator, name, source, diag)) { in SetVisibilityImpl()
584 NameValidator name_validator, IDiagnostics* diag) { in SetAllowNewImpl() argument
587 if (!ValidateName(name_validator, name, allow_new.source, diag)) { in SetAllowNewImpl()
605 NameValidator name_validator, IDiagnostics *diag) { in SetOverlayableImpl() argument
608 if (!ValidateName(name_validator, name, overlayable.source, diag)) { in SetOverlayableImpl()
DResourceTable.h328 NameValidator name_validator, const CollisionResolverFunc& conflict_resolver,
332 const ResourceId& res_id, NameValidator name_validator,
336 NameValidator name_validator, IDiagnostics* diag);
339 NameValidator name_validator, IDiagnostics *diag);