Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.h78 std::optional<ResourceName> ToResourceName(const android::ResTable::resource_name& name);
83 std::optional<ResourceName> ToResourceName(const android::AssetManager2::ResourceName& name_in);
DResource.h169 ResourceName ToResourceName() const;
492 inline ResourceName ResourceNameRef::ToResourceName() const { in ToResourceName() function
DResourceTable.cpp680 res_.name = name.ToResourceName(); in NewResourceBuilder()
686 res_.name = ref.ToResourceName(); in NewResourceBuilder()
DResourceUtils.cpp43 std::optional<ResourceName> ToResourceName(const android::ResTable::resource_name& name_in) { in ToResourceName() function
79 std::optional<ResourceName> ToResourceName(const android::AssetManager2::ResourceName& name_in) { in ToResourceName() function
DResourceValues.cpp101 : name(n.ToResourceName()), reference_type(t) {} in Reference()
107 : 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.cpp57 out_symbols_->insert(iter, SourcedResourceName{name.ToResourceName(), in Visit()
/frameworks/base/libs/androidfw/
DResourceUtils.cpp51 base::expected<AssetManager2::ResourceName, NullOrIOError> ToResourceName( in ToResourceName() function
DAssetManager2.cpp865 auto resource_name = ToResourceName(last_resolution_.type_string_ref, in GetLastResourceResolution()
934 return ToResourceName(result->type_string_ref, in GetResourceName()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp331 options->resources_exclude_list.insert(resource_name.ToResourceName()); in ParseConfig()
334 resource_name.ToResourceName()); in ParseConfig()
DLink.cpp751 (*out_id_map)[name.ToResourceName()] = maybe_id.value(); in LoadStableIdMap()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp309 std::optional<ResourceName> parsed_name = ResourceUtils::ToResourceName(*name); in LookupAttributeInTable()
390 return ResourceUtils::ToResourceName(*name); in GetResourceName()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp56 reference->name = cache_iter->second.ToResourceName(); in Visit()
607 out_file->name = name_ref.ToResourceName(); in DeserializeCompiledFileFromPb()
632 out_file->exported_symbols.push_back(SourcedResourceName{name_ref.ToResourceName(), line}); in DeserializeCompiledFileFromPb()
667 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()