Searched refs:Utf16ToUtf8 (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceUtils.cpp | 28 using android::util::Utf16ToUtf8; 79 out += Utf16ToUtf8(StringPiece16(name->type16, name->type_len)); in ResToTypeEntryName() 85 out += Utf16ToUtf8(StringPiece16(name->entry16, name->entry_len)); in ResToTypeEntryName()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 234 attr.namespace_uri = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in CopyAttributes() 239 attr.name = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in CopyAttributes() 249 attr.value = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in CopyAttributes() 299 decl.prefix = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 304 decl.uri = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 328 el->namespace_uri = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 333 el->name = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 354 text->text = android::util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate()
|
/frameworks/base/libs/androidfw/ |
D | ResourceUtils.cpp | 112 result += util::Utf16ToUtf8(StringPiece16(resource_name.type16, resource_name.type_len)); in ToFormattedResourceString() 124 result += util::Utf16ToUtf8(StringPiece16(resource_name.entry16, resource_name.entry_len)); in ToFormattedResourceString()
|
D | Util.cpp | 59 std::string Utf16ToUtf8(StringPiece16 utf16) { in Utf16ToUtf8() function 214 return Utf16ToUtf8(GetString16(pool, idx)); in GetString()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Util.h | 73 std::string Utf16ToUtf8(StringPiece16 utf16);
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 203 table_->FindOrCreatePackage(android::util::Utf16ToUtf8(package_name)); in ParsePackage() 456 android::util::Utf16ToUtf8(StringPiece16(entries.keyAt(i).c_str())); in ParseLibrary() 469 overlayable->name = android::util::Utf16ToUtf8( in ParseOverlayable() 471 overlayable->actor = android::util::Utf16ToUtf8( in ParseOverlayable()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 162 std::string new_substr = android::util::Utf16ToUtf8(substr); in PseudolocalizeStyledString() 189 std::string new_substr = android::util::Utf16ToUtf8(substr); in PseudolocalizeStyledString() 208 localizer.Text(android::util::Utf16ToUtf8(text.substr(cursor, text.size() - cursor))); in PseudolocalizeStyledString()
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 48 converted = android::util::Utf16ToUtf8(StringPiece16(type16, type_len)); in ToResourceNamedType() 68 name_out.package = android::util::Utf16ToUtf8(StringPiece16(name_in.package, name_in.packageLen)); in ToResourceName() 78 name_out.entry = android::util::Utf16ToUtf8(StringPiece16(name_in.name, name_in.nameLen)); in ToResourceName() 103 name_out.entry = android::util::Utf16ToUtf8(StringPiece16(name_in.entry16, name_in.entry_len)); in ToResourceName()
|
/frameworks/base/tools/aapt2/util/ |
D | Util.cpp | 371 std::string Utf16ToUtf8(const StringPiece16& utf16) { in Utf16ToUtf8() function
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 159 EXPECT_THAT(util::Utf16ToUtf8(*type_name16), StrEq("string")); in TEST()
|