Home
last modified time | relevance | path

Searched refs:type16 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/androidfw/
DResourceUtils.cpp70 name.type16 = type16_str->data(); in ToResourceName()
104 if (resource_name.type != nullptr || resource_name.type16 != nullptr) { in ToFormattedResourceString()
112 result += util::Utf16ToUtf8(StringPiece16(resource_name.type16, resource_name.type_len)); in ToFormattedResourceString()
DAssetManager2.cpp1455 std::u16string type16; in GetResourceId() local
1456 if (!Utf8ToUtf16(type, &type16)) { in GetResourceId()
1476 base::expected<uint32_t, NullOrIOError> resid = package->FindEntryByName(type16, entry16); in GetResourceId()
1481 if (!resid.has_value() && kAttr16 == type16) { in GetResourceId()
/frameworks/base/cmds/idmap2/libidmap2/
DResourceUtils.cpp79 out += Utf16ToUtf8(StringPiece16(name->type16, name->type_len)); in ResToTypeEntryName()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp43 static std::optional<ResourceNamedType> ToResourceNamedType(const char16_t* type16, in ToResourceNamedType() argument
47 if (type16) { in ToResourceNamedType()
48 converted = android::util::Utf16ToUtf8(StringPiece16(type16, type_len)); in ToResourceNamedType()
96 ToResourceNamedType(name_in.type16, name_in.type, name_in.type_len); in ToResourceName()
/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp188 ASSERT_EQ(std::u16string(u"string"), std::u16string(name->type16)); in TEST_F()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h91 const char16_t* type16 = nullptr; member
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1024 } else if (name->type16 != nullptr) { in NativeGetResourceTypeName()
1025 return env->NewString(reinterpret_cast<const jchar*>(name->type16), name->type_len); in NativeGetResourceTypeName()
/frameworks/base/tools/aapt/
DResource.cpp302 String16 type16(resType); in makeFileResources() local
330 type16, in makeFileResources()