Home
last modified time | relevance | path

Searched refs:Utf8ToUtf16 (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/androidfw/
DUtil.cpp45 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
DAssetManager2.cpp1219 static bool Utf8ToUtf16(const StringPiece& str, std::u16string* out) { in Utf8ToUtf16() function
1252 if (!Utf8ToUtf16(type, &type16)) { in GetResourceId()
1257 if (!Utf8ToUtf16(entry, &entry16)) { in GetResourceId()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp264 strcpy16_htod(pkg_header->name, arraysize(pkg_header->name), util::Utf8ToUtf16(package_.name)); in FlattenPackage()
509 util::Utf8ToUtf16(name)); in FlattenOverlayable()
519 util::Utf8ToUtf16(overlayable.actor)); in FlattenOverlayable()
677 util::Utf8ToUtf16(package_.name)); in FlattenLibrarySpec()
684 util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h123 std::u16string Utf8ToUtf16(const StringPiece& utf8);
/frameworks/base/tools/aapt2/
DResourceUtils.cpp503 std::u16string str16 = util::Utf8ToUtf16(str); in ParseInt()
514 std::u16string str16 = util::Utf8ToUtf16(trimmed_str); in ParseResourceId()
530 std::u16string str16 = util::Utf8ToUtf16(trimmed_str); in ParseSdkVersion()
567 std::u16string str16 = util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseInt()
580 std::u16string str16 = util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseFloat()
DStringPool_test.cpp279 EXPECT_THAT(util::GetString16(test, 3), Eq(util::Utf8ToUtf16(sLongString))); in TEST()
DStringPool.cpp400 const std::u16string encoded = util::Utf8ToUtf16(str); in EncodeString()
DResourceParser.cpp1320 std::u16string min_str16 = util::Utf8ToUtf16(min_str); in ParseAttrImpl()
1337 std::u16string max_str16 = util::Utf8ToUtf16(max_str); in ParseAttrImpl()
1470 std::u16string value16 = util::Utf8ToUtf16(maybe_value.value()); in ParseEnumOrFlagItem()
/frameworks/base/tools/aapt2/util/
DUtil.h221 std::u16string Utf8ToUtf16(const android::StringPiece& utf8);
DUtil.cpp438 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp124 const std::u16string text16 = util::Utf8ToUtf16(string->value->value); in PseudolocalizeStyledString()