Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp106 android::util::Utf8ToUtf16(package_.name)); in FlattenPackage()
350 android::util::Utf8ToUtf16(name)); in FlattenOverlayable()
359 android::util::Utf8ToUtf16(overlayable.actor)); in FlattenOverlayable()
538 android::util::Utf8ToUtf16(package_.name)); in FlattenLibrarySpec()
545 android::util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h70 std::u16string Utf8ToUtf16(StringPiece utf8);
/frameworks/base/tools/aapt2/
DResourceUtils.cpp495 std::u16string str16 = android::util::Utf8ToUtf16(str); in ParseInt()
506 std::u16string str16 = android::util::Utf8ToUtf16(trimmed_str); in ParseResourceId()
522 std::u16string str16 = android::util::Utf8ToUtf16(trimmed_str); in ParseSdkVersion()
559 std::u16string str16 = android::util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseInt()
572 std::u16string str16 = android::util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseFloat()
681 std::u16string str16 = android::util::Utf8ToUtf16(util::TrimWhitespace(value)); in TryParseItemForAttribute()
DResourceParser.cpp1329 std::u16string min_str16 = android::util::Utf8ToUtf16(min_str); in ParseAttrImpl()
1346 std::u16string max_str16 = android::util::Utf8ToUtf16(max_str); in ParseAttrImpl()
1477 std::u16string value16 = android::util::Utf8ToUtf16(maybe_value.value()); in ParseEnumOrFlagItem()
/frameworks/base/libs/androidfw/
DUtil.cpp45 std::u16string Utf8ToUtf16(StringPiece utf8) { in Utf8ToUtf16() function
DStringPool.cpp398 const std::u16string encoded = util::Utf8ToUtf16(str); in EncodeString()
DAssetManager2.cpp1423 static bool Utf8ToUtf16(StringPiece str, std::u16string* out) { in Utf8ToUtf16() function
1456 if (!Utf8ToUtf16(type, &type16)) { in GetResourceId()
1461 if (!Utf8ToUtf16(entry, &entry16)) { in GetResourceId()
/frameworks/base/tools/aapt2/util/
DUtil.cpp357 std::u16string Utf8ToUtf16(StringPiece utf8) { in Utf8ToUtf16() function
/frameworks/base/libs/androidfw/tests/
DStringPool_test.cpp279 EXPECT_THAT(android::util::GetString16(test, 3), Eq(util::Utf8ToUtf16(sLongString))); in TEST()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp129 const std::u16string text16 = android::util::Utf8ToUtf16(string->value->value); in PseudolocalizeStyledString()