Home
last modified time | relevance | path

Searched refs:ToResourceName (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils.h77 std::optional<ResourceName> ToResourceName(const android::ResTable::resource_name& name);
82 std::optional<ResourceName> ToResourceName(const android::AssetManager2::ResourceName& name_in);
DResource.h167 ResourceName ToResourceName() const;
488 inline ResourceName ResourceNameRef::ToResourceName() const { in ToResourceName() function
DResourceTable.cpp691 res_.name = name.ToResourceName(); in NewResourceBuilder()
697 res_.name = ref.ToResourceName(); in NewResourceBuilder()
DResourceUtils.cpp61 std::optional<ResourceName> ToResourceName(const android::ResTable::resource_name& name_in) { in ToResourceName() function
87 std::optional<ResourceName> ToResourceName(const android::AssetManager2::ResourceName& name_in) { in ToResourceName() function
DResourceValues.cpp102 : name(n.ToResourceName()), reference_type(t) {} in Reference()
108 : name(n.ToResourceName()), id(i), reference_type(Type::kResource) {} in Reference()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceUtils.h33 base::expected<AssetManager2::ResourceName, NullOrIOError> ToResourceName(
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp58 out_symbols_->insert(iter, SourcedResourceName{name.ToResourceName(), in Visit()
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp528 out_resource_exclude_list.insert(resource_name.ToResourceName()); in ParseResourceConfig()
530 out_name_collapse_exemptions.insert(resource_name.ToResourceName()); in ParseResourceConfig()
532 out_path_shorten_exemptions.insert(resource_name.ToResourceName()); in ParseResourceConfig()
DLink.cpp757 (*out_id_map)[name.ToResourceName()] = maybe_id.value(); in LoadStableIdMap()
/frameworks/base/libs/androidfw/
DResourceUtils.cpp51 base::expected<AssetManager2::ResourceName, NullOrIOError> ToResourceName( in ToResourceName() function
DAssetManager2.cpp991 auto resource_name = ToResourceName(last_resolution_.type_string_ref, in GetLastResourceResolution()
1074 return ToResourceName(result->type_string_ref, in GetResourceName()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp304 std::optional<ResourceName> parsed_name = ResourceUtils::ToResourceName(*name); in LookupAttributeInTable()
385 return ResourceUtils::ToResourceName(*name); in GetResourceName()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp56 reference->name = cache_iter->second.ToResourceName(); in Visit()
613 out_file->name = name_ref.ToResourceName(); in DeserializeCompiledFileFromPb()
638 out_file->exported_symbols.push_back(SourcedResourceName{name_ref.ToResourceName(), line}); in DeserializeCompiledFileFromPb()
673 out_ref->name = name_ref.ToResourceName(); in DeserializeReferenceFromPb()
/frameworks/base/tools/aapt2/test/
DCommon.h45 return ref.ToResourceName(); in ParseNameOrDie()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp126 std::optional<ResourceName> resName = ResourceUtils::ToResourceName(actual_name); in Exists()