Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceTable.cpp375 bool ResourceTable::ValidateName(NameValidator name_validator, const ResourceNameRef& name, in ValidateName() argument
377 const StringPiece bad_char = name_validator(name.entry); in ValidateName()
388 std::unique_ptr<Value> value, NameValidator name_validator, in AddResourceImpl() argument
395 if (!ValidateName(name_validator, name, source, diag)) { in AddResourceImpl()
496 const ResourceId& res_id, NameValidator name_validator, in SetVisibilityImpl() argument
501 if (!ValidateName(name_validator, name, source, diag)) { in SetVisibilityImpl()
582 NameValidator name_validator, IDiagnostics* diag) { in SetAllowNewImpl() argument
585 if (!ValidateName(name_validator, name, allow_new.source, diag)) { in SetAllowNewImpl()
603 NameValidator name_validator, IDiagnostics *diag) { in SetOverlayableImpl() argument
606 if (!ValidateName(name_validator, name, overlayable.source, diag)) { in SetOverlayableImpl()
DResourceTable.h302 NameValidator name_validator, const CollisionResolverFunc& conflict_resolver,
306 const ResourceId& res_id, NameValidator name_validator,
310 NameValidator name_validator, IDiagnostics* diag);
313 NameValidator name_validator, IDiagnostics *diag);