/frameworks/base/tools/aapt2/ |
Resource.h | 93 struct ResourceNameRef { 98 ResourceNameRef() = default; 99 ResourceNameRef(const ResourceNameRef&) = default; 100 ResourceNameRef(ResourceNameRef&&) = default; 101 ResourceNameRef(const ResourceName& rhs); 102 ResourceNameRef(const StringPiece16& p, ResourceType t, const StringPiece16& e); 103 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default [all...] |
ResourceUtils_test.cpp | 48 ResourceNameRef actual; 51 EXPECT_EQ(ResourceNameRef(u"android", ResourceType::kColor, u"foo"), actual); 55 EXPECT_EQ(ResourceNameRef({}, ResourceType::kColor, u"foo"), actual); 59 EXPECT_EQ(ResourceNameRef(u"android", ResourceType::kColor, u"foo"), actual); 66 ResourceNameRef expected({}, ResourceType::kColor, u"foo"); 67 ResourceNameRef actual; 77 ResourceNameRef expected(u"android", ResourceType::kColor, u"foo"); 78 ResourceNameRef actual; 89 ResourceNameRef expected(u"android", ResourceType::kColor, u"foo"); 90 ResourceNameRef actual [all...] |
ResourceTable.h | 196 bool addResource(const ResourceNameRef& name, 202 bool addResource(const ResourceNameRef& name, 209 bool addFileReference(const ResourceNameRef& name, 215 bool addFileReferenceAllowMangled(const ResourceNameRef& name, 227 bool addResourceAllowMangled(const ResourceNameRef& name, 233 bool addResourceAllowMangled(const ResourceNameRef& name, 240 bool setSymbolState(const ResourceNameRef& name, 245 bool setSymbolStateAllowMangled(const ResourceNameRef& name, 256 Maybe<SearchResult> findResource(const ResourceNameRef& name); 288 bool addFileReferenceImpl(const ResourceNameRef& name [all...] |
ResourceUtils.h | 48 bool parseResourceName(const StringPiece16& str, ResourceNameRef* outResource, 58 bool tryParseReference(const StringPiece16& str, ResourceNameRef* outReference, 70 bool tryParseAttributeReference(const StringPiece16& str, ResourceNameRef* outReference);
|
ResourceTable.cpp | 267 bool ResourceTable::addResource(const ResourceNameRef& name, 276 bool ResourceTable::addResource(const ResourceNameRef& name, 286 bool ResourceTable::addFileReference(const ResourceNameRef& name, 294 bool ResourceTable::addFileReferenceAllowMangled(const ResourceNameRef& name, 303 bool ResourceTable::addFileReferenceImpl(const ResourceNameRef& name, 318 bool ResourceTable::addResourceAllowMangled(const ResourceNameRef& name, 327 bool ResourceTable::addResourceAllowMangled(const ResourceNameRef& name, 337 bool ResourceTable::addResourceImpl(const ResourceNameRef& name, 429 bool ResourceTable::setSymbolState(const ResourceNameRef& name, const ResourceId resId, 434 bool ResourceTable::setSymbolStateAllowMangled(const ResourceNameRef& name [all...] |
ResourceTable_test.cpp | 35 ResourceNameRef(u"android", ResourceType::kId, u"hey,there"), 41 ResourceNameRef(u"android", ResourceType::kId, u"hey:there"),
|
ResourceUtils.cpp | 53 bool parseResourceName(const StringPiece16& str, ResourceNameRef* outRef, bool* outPrivate) { 93 bool tryParseReference(const StringPiece16& str, ResourceNameRef* outRef, bool* outCreate, 109 ResourceNameRef name; 143 bool tryParseAttributeReference(const StringPiece16& str, ResourceNameRef* outRef) { 209 ResourceNameRef ref; 238 ResourceNameRef ref;
|
ResourceValues.h | 173 explicit Reference(const ResourceNameRef& n, Type type = Type::kResource);
|
ResourceValues.cpp | 70 Reference::Reference(const ResourceNameRef& n, Type t) :
|
/frameworks/base/tools/aapt2/unflatten/ |
BinaryResourceParser.h | 63 std::unique_ptr<Item> parseValue(const ResourceNameRef& name, const ConfigDescription& config, 66 std::unique_ptr<Value> parseMapEntry(const ResourceNameRef& name, 70 std::unique_ptr<Style> parseStyle(const ResourceNameRef& name, const ConfigDescription& config, 73 std::unique_ptr<Attribute> parseAttr(const ResourceNameRef& name, 77 std::unique_ptr<Array> parseArray(const ResourceNameRef& name, const ConfigDescription& config, 80 std::unique_ptr<Plural> parsePlural(const ResourceNameRef& name,
|
BinaryResourceParser.cpp | 380 std::unique_ptr<Item> BinaryResourceParser::parseValue(const ResourceNameRef& name, 443 std::unique_ptr<Value> BinaryResourceParser::parseMapEntry(const ResourceNameRef& name, 464 std::unique_ptr<Style> BinaryResourceParser::parseStyle(const ResourceNameRef& name, 489 std::unique_ptr<Attribute> BinaryResourceParser::parseAttr(const ResourceNameRef& name, 529 std::unique_ptr<Array> BinaryResourceParser::parseArray(const ResourceNameRef& name, 539 std::unique_ptr<Plural> BinaryResourceParser::parsePlural(const ResourceNameRef& name,
|
/frameworks/base/tools/aapt2/link/ |
ProductFilter.h | 34 ResourceConfigValueIter selectProductToKeep(const ResourceNameRef& name,
|
Linkers.h | 37 ResourceNameRef resource;
|
ProductFilter.cpp | 22 ProductFilter::selectProductToKeep(const ResourceNameRef& name, 94 ResourceNameRef name(pkg->name, type->type, entry->name);
|
TableMerger.h | 98 using FileMergeCallback = std::function<bool(const ResourceNameRef&,
|
TableMerger.cpp | 67 callback = [&](const ResourceNameRef& name, const ConfigDescription& config, 112 auto callback = [&](const ResourceNameRef& name, const ConfigDescription& config, 180 << ResourceNameRef(srcPackage->name, 216 ResourceNameRef resName(mMasterPackage->name, dstType->type, dstEntry->name); 226 ResourceNameRef resourceName(srcPackage->name,
|
XmlReferenceLinker.cpp | 90 Reference attrRef(ResourceNameRef(package, ResourceType::kAttr, attr.name));
|
ReferenceLinker.cpp | 312 << ResourceNameRef(package->name, type->type, entry->name) 317 CallSite callSite = { ResourceNameRef(package->name, type->type, entry->name) };
|
Link.cpp | 609 ResourceNameRef resName(package->name, type->type, entry->name); 657 ResourceNameRef resName(package->name, type->type, entry->name); [all...] |
/frameworks/base/tools/aapt2/compile/ |
XmlIdCollector.cpp | 29 static bool cmpName(const SourcedResourceName& a, const ResourceNameRef& b) { 43 ResourceNameRef name;
|
IdAssigner.cpp | 67 ResourceNameRef nameRef(package->name, type->type, entry->name);
|
/frameworks/base/tools/aapt2/proto/ |
TableProtoDeserializer.cpp | 33 ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceNameRef>* mapping) : 51 const std::map<ResourceId, ResourceNameRef>* mMapping; 71 std::map<ResourceId, ResourceNameRef> idIndex; 124 idIndex[resId] = ResourceNameRef(pkg->name, type->type, entry->name); 355 ResourceNameRef nameRef; 446 ResourceNameRef nameRef;
|
/frameworks/base/tools/aapt2/test/ |
Common.h | 66 ResourceNameRef ref;
|
/frameworks/base/tools/aapt2/java/ |
JavaClassGenerator.cpp | 84 static std::string transformNestedAttr(const ResourceNameRef& attrName, 437 ResourceNameRef resourceName(packageNameToGenerate, type->type, unmangledName);
|
/frameworks/base/tools/aapt2/flatten/ |
TableFlattener.cpp | 334 << ResourceNameRef(mPackage->name, type->type, flatEntry.entry->name)
|