Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp43 std::optional<ResourceName> ToResourceName(const android::ResTable::resource_name& name_in) { in ToResourceName() argument
46 if (!name_in.package) { in ToResourceName()
51 util::Utf16ToUtf8(StringPiece16(name_in.package, name_in.packageLen)); in ToResourceName()
54 if (name_in.type) { in ToResourceName()
55 type = ParseResourceNamedType(util::Utf16ToUtf8(StringPiece16(name_in.type, name_in.typeLen))); in ToResourceName()
56 } else if (name_in.type8) { in ToResourceName()
57 type = ParseResourceNamedType(StringPiece(name_in.type8, name_in.typeLen)); in ToResourceName()
68 if (name_in.name) { in ToResourceName()
70 util::Utf16ToUtf8(StringPiece16(name_in.name, name_in.nameLen)); in ToResourceName()
71 } else if (name_in.name8) { in ToResourceName()
[all …]
DResourceUtils.h83 std::optional<ResourceName> ToResourceName(const android::AssetManager2::ResourceName& name_in);