Searched refs:Utf16ToUtf8 (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 231 attr.namespace_uri = util::Utf16ToUtf8(StringPiece16(str16, len)); in CopyAttributes() 236 attr.name = util::Utf16ToUtf8(StringPiece16(str16, len)); in CopyAttributes() 246 attr.value = util::Utf16ToUtf8(StringPiece16(str16, len)); in CopyAttributes() 295 decl.prefix = util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 300 decl.uri = util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 322 el->namespace_uri = util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 327 el->name = util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate() 348 text->text = util::Utf16ToUtf8(StringPiece16(str16, len)); in Inflate()
|
/frameworks/base/libs/androidfw/ |
D | Util.cpp | 58 std::string Utf16ToUtf8(const StringPiece16& utf16) { in Utf16ToUtf8() function
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 156 std::string new_substr = util::Utf16ToUtf8(substr); in PseudolocalizeStyledString() 183 std::string new_substr = util::Utf16ToUtf8(substr); in PseudolocalizeStyledString() 201 new_string += localizer.Text(util::Utf16ToUtf8(text.substr(cursor, text.size() - cursor))); in PseudolocalizeStyledString()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Util.h | 117 std::string Utf16ToUtf8(const StringPiece16& utf16);
|
/frameworks/base/tools/aapt2/util/ |
D | Util.cpp | 314 std::string Utf16ToUtf8(const StringPiece16& utf16) { in Utf16ToUtf8() function 427 return Utf16ToUtf8(GetString16(pool, idx)); in GetString()
|
D | Util.h | 202 std::string Utf16ToUtf8(const android::StringPiece16& utf16);
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 187 table_->CreatePackage(util::Utf16ToUtf8(package_name), static_cast<uint8_t>(package_id)); in ParsePackage() 428 util::Utf16ToUtf8(StringPiece16(entries.keyAt(i).string())); in ParseLibrary()
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 49 util::Utf16ToUtf8(StringPiece16(name_in.package, name_in.packageLen)); in ToResourceName() 54 util::Utf16ToUtf8(StringPiece16(name_in.type, name_in.typeLen))); in ToResourceName() 69 util::Utf16ToUtf8(StringPiece16(name_in.name, name_in.nameLen)); in ToResourceName()
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 177 EXPECT_THAT(util::Utf16ToUtf8(StringPiece16(type_name16, len)), StrEq("string")); in TEST()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 225 util::Utf16ToUtf8(android::StringPiece16(table.getBasePackageName(i).string())); in GetAssignedPackageIds()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 910 result += util::Utf16ToUtf8(StringPiece16(name.type16, name.type_len)); in NativeGetResourceName() 922 result += util::Utf16ToUtf8(StringPiece16(name.entry16, name.entry_len)); in NativeGetResourceName()
|