Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp258 strcpy16_htod(pkg_header->name, arraysize(pkg_header->name), util::Utf8ToUtf16(package_->name)); in FlattenPackage()
532 util::Utf8ToUtf16(name)); in FlattenOverlayable()
542 util::Utf8ToUtf16(overlayable.actor)); in FlattenOverlayable()
694 util::Utf8ToUtf16(package_->name)); in FlattenLibrarySpec()
701 util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
/frameworks/base/libs/androidfw/
DUtil.cpp45 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
DAssetManager2.cpp967 static bool Utf8ToUtf16(const StringPiece& str, std::u16string* out) { in Utf8ToUtf16() function
1000 if (!Utf8ToUtf16(type, &type16)) { in GetResourceId()
1005 if (!Utf8ToUtf16(entry, &entry16)) { in GetResourceId()
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h115 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()
DResourceParser.cpp1233 std::u16string min_str16 = util::Utf8ToUtf16(min_str); in ParseAttrImpl()
1250 std::u16string max_str16 = util::Utf8ToUtf16(max_str); in ParseAttrImpl()
1383 std::u16string value16 = util::Utf8ToUtf16(maybe_value.value()); in ParseEnumOrFlagItem()
DStringPool.cpp400 const std::u16string encoded = util::Utf8ToUtf16(str); in EncodeString()
/frameworks/base/tools/aapt2/util/
DUtil.h211 std::u16string Utf8ToUtf16(const android::StringPiece& utf8);
DUtil.cpp421 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()