Searched refs:type16 (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | ResourceUtils.cpp | 70 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()
|
D | AssetManager2.cpp | 1455 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/ |
D | ResourceUtils.cpp | 79 out += Utf16ToUtf8(StringPiece16(name->type16, name->type_len)); in ResToTypeEntryName()
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 43 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/ |
D | Idmap_test.cpp | 188 ASSERT_EQ(std::u16string(u"string"), std::u16string(name->type16)); in TEST_F()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 91 const char16_t* type16 = nullptr; member
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1024 } 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/ |
D | Resource.cpp | 302 String16 type16(resType); in makeFileResources() local 330 type16, in makeFileResources()
|