/frameworks/base/tools/aapt2/ |
D | Resource.h | 108 struct ResourceNameRef { struct 113 ResourceNameRef() = default; argument 114 ResourceNameRef(const ResourceNameRef&) = default; 115 ResourceNameRef(ResourceNameRef&&) = default; 116 ResourceNameRef(const ResourceName& rhs); // NOLINT(google-explicit-constructor) 117 ResourceNameRef(const android::StringPiece& p, ResourceType t, const android::StringPiece& e); 118 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default; argument 119 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default; argument 120 ResourceNameRef& operator=(const ResourceName& rhs); argument 208 ResourceNameRef name; [all …]
|
D | ResourceTable.h | 239 bool AddResource(const ResourceNameRef& name, const android::ConfigDescription& config, 243 bool AddResourceWithId(const ResourceNameRef& name, const ResourceId& res_id, 250 bool AddResourceMangled(const ResourceNameRef& name, const android::ConfigDescription& config, 254 bool AddResourceWithIdMangled(const ResourceNameRef& name, const ResourceId& id, 261 bool SetVisibility(const ResourceNameRef& name, const Visibility& visibility, IDiagnostics* diag); 262 bool SetVisibilityWithId(const ResourceNameRef& name, const Visibility& visibility, 264 bool SetVisibilityWithIdMangled(const ResourceNameRef& name, const Visibility& visibility, 267 bool SetOverlayable(const ResourceNameRef& name, const OverlayableItem& overlayable, 270 bool SetAllowNew(const ResourceNameRef& name, const AllowNew& allow_new, IDiagnostics* diag); 271 bool SetAllowNewMangled(const ResourceNameRef& name, const AllowNew& allow_new, [all …]
|
D | ResourceUtils_test.cpp | 45 ResourceNameRef actual; in TEST() 48 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST() 52 EXPECT_THAT(actual, Eq(ResourceNameRef({}, ResourceType::kColor, "foo"))); in TEST() 56 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST() 63 ResourceNameRef actual; in TEST() 67 EXPECT_THAT(actual, Eq(ResourceNameRef({}, ResourceType::kColor, "foo"))); in TEST() 73 ResourceNameRef actual; in TEST() 77 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST() 83 ResourceNameRef actual; in TEST() 87 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST() [all …]
|
D | ResourceTable.cpp | 344 bool ResourceTable::AddResource(const ResourceNameRef& name, in AddResource() 354 bool ResourceTable::AddResourceWithId(const ResourceNameRef& name, const ResourceId& res_id, in AddResourceWithId() 362 bool ResourceTable::AddResourceMangled(const ResourceNameRef& name, const ConfigDescription& config, in AddResourceMangled() 369 bool ResourceTable::AddResourceWithIdMangled(const ResourceNameRef& name, const ResourceId& id, in AddResourceWithIdMangled() 377 bool ResourceTable::ValidateName(NameValidator name_validator, const ResourceNameRef& name, in ValidateName() 388 bool ResourceTable::AddResourceImpl(const ResourceNameRef& name, const ResourceId& res_id, in AddResourceImpl() 481 bool ResourceTable::SetVisibility(const ResourceNameRef& name, const Visibility& visibility, in SetVisibility() 486 bool ResourceTable::SetVisibilityWithId(const ResourceNameRef& name, const Visibility& visibility, in SetVisibilityWithId() 491 bool ResourceTable::SetVisibilityWithIdMangled(const ResourceNameRef& name, in SetVisibilityWithIdMangled() 497 bool ResourceTable::SetVisibilityImpl(const ResourceNameRef& name, const Visibility& visibility, in SetVisibilityImpl() [all …]
|
D | ResourceUtils.h | 42 bool ParseResourceName(const android::StringPiece& str, ResourceNameRef* out_resource, 53 bool ParseReference(const android::StringPiece& str, ResourceNameRef* out_reference, 67 bool ParseAttributeReference(const android::StringPiece& str, ResourceNameRef* out_reference);
|
D | Resource.cpp | 35 return ResourceNameRef(*this).to_string(); in to_string() 38 std::string ResourceNameRef::to_string() const { in to_string()
|
D | ResourceUtils.cpp | 116 bool ParseResourceName(const StringPiece& str, ResourceNameRef* out_ref, in ParseResourceName() 158 bool ParseReference(const StringPiece& str, ResourceNameRef* out_ref, in ParseReference() 174 ResourceNameRef name; in ParseReference() 209 bool ParseAttributeReference(const StringPiece& str, ResourceNameRef* out_ref) { in ParseAttributeReference() 276 ResourceNameRef ref; in ParseStyleParentReference() 334 ResourceNameRef ref; in TryParseReference()
|
D | ResourceValues.h | 163 explicit Reference(const ResourceNameRef& n, Type type = Type::kResource); 165 Reference(const ResourceNameRef& n, const ResourceId& i);
|
D | ResourceValues.cpp | 99 Reference::Reference(const ResourceNameRef& n, Type t) in Reference() 105 Reference::Reference(const ResourceNameRef& n, const ResourceId& i) in Reference()
|
D | ResourceTable_test.cpp | 174 const ResourceNameRef& name, in VisibilityOfResource()
|
D | ResourceParser.cpp | 1393 Reference(ResourceNameRef({}, ResourceType::kId, maybe_name.value())), in ParseEnumOrFlagItem()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.h | 59 std::unique_ptr<Item> ParseValue(const ResourceNameRef& name, 63 std::unique_ptr<Value> ParseMapEntry(const ResourceNameRef& name, 67 std::unique_ptr<Style> ParseStyle(const ResourceNameRef& name, 71 std::unique_ptr<Attribute> ParseAttr(const ResourceNameRef& name, 75 std::unique_ptr<Array> ParseArray(const ResourceNameRef& name, 79 std::unique_ptr<Plural> ParsePlural(const ResourceNameRef& name,
|
D | BinaryResourceParser.cpp | 515 std::unique_ptr<Item> BinaryResourceParser::ParseValue(const ResourceNameRef& name, in ParseValue() 534 std::unique_ptr<Value> BinaryResourceParser::ParseMapEntry(const ResourceNameRef& name, in ParseMapEntry() 561 std::unique_ptr<Style> BinaryResourceParser::ParseStyle(const ResourceNameRef& name, in ParseStyle() 586 std::unique_ptr<Attribute> BinaryResourceParser::ParseAttr(const ResourceNameRef& name, in ParseAttr() 626 std::unique_ptr<Array> BinaryResourceParser::ParseArray(const ResourceNameRef& name, in ParseArray() 636 std::unique_ptr<Plural> BinaryResourceParser::ParsePlural(const ResourceNameRef& name, in ParsePlural()
|
D | TableFlattener.cpp | 353 << ResourceNameRef(package_->name, type->type, flat_entry.entry->name) in FlattenConfig()
|
/frameworks/base/tools/aapt2/compile/ |
D | XmlIdCollector.cpp | 32 static bool cmp_name(const SourcedResourceName& a, const ResourceNameRef& b) { in cmp_name() 46 ResourceNameRef name; in Visit()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.h | 101 void ProcessResource(const ResourceNameRef& name, const ResourceId& id, 108 void ProcessStyleable(const ResourceNameRef& name, const ResourceId& id,
|
D | JavaClassGenerator.cpp | 85 static std::string TransformNestedAttr(const ResourceNameRef& attr_name, in TransformNestedAttr() 230 void JavaClassGenerator::ProcessStyleable(const ResourceNameRef& name, const ResourceId& id, in ProcessStyleable() 438 void JavaClassGenerator::ProcessResource(const ResourceNameRef& name, const ResourceId& id, in ProcessResource() 540 const ResourceNameRef resource_name( in ProcessType()
|
/frameworks/base/tools/aapt2/link/ |
D | ProductFilter.cpp | 25 const ResourceNameRef& name, const ResourceConfigValueIter begin, in SelectProductToKeep() 101 ResourceNameRef name(pkg->name, type->type, entry->name); in Consume()
|
D | Linkers.h | 105 const ResourceNameRef& name, const ResourceConfigValueIter begin,
|
D | TableMerger.cpp | 195 const ResourceNameRef& res_name, in MergeConfigValue() 248 const ResourceNameRef res_name(src_package->name, src_type->type, src_entry->name); in DoMerge()
|
D | XmlReferenceLinker.cpp | 97 ResourceNameRef(maybe_package.value().package, ResourceType::kAttr, attr.name)); in Visit()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 41 explicit ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceNameRef>* mapping) in ReferenceIdToNameVisitor() 61 const std::map<ResourceId, ResourceNameRef>* mapping_; 425 std::map<ResourceId, ResourceNameRef> id_index; in DeserializePackageFromPb() 502 id_index[resid] = ResourceNameRef(pkg->name, type->type, entry->name); in DeserializePackageFromPb() 583 ResourceNameRef name_ref; in DeserializeCompiledFileFromPb() 643 ResourceNameRef name_ref; in DeserializeReferenceFromPb()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 251 ResourceNameRef name(pkg->name, type->type, entry->name); in WriteSplitApk() 335 ResourceNameRef resource_name; in ExtractConfig()
|
D | Link.cpp | 700 ResourceNameRef name; in LoadStableIdMap() 986 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoExternalPackages() 1030 ResourceNameRef res_name(package->name, type->type, entry->name); in VerifyNoIdsSet()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 43 ResourceNameRef ref; in ParseNameOrDie()
|