Home
last modified time | relevance | path

Searched refs:GetString16 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/
DStringPool_test.cpp273 EXPECT_THAT(util::GetString16(test, 1), Eq(u"hello")); in TEST()
276 EXPECT_THAT(util::GetString16(test, 2), Eq(u"goodbye")); in TEST()
279 EXPECT_THAT(util::GetString16(test, 3), Eq(util::Utf8ToUtf16(sLongString))); in TEST()
285 EXPECT_THAT(util::GetString16(test, 0), Eq(u"style")); in TEST()
290 EXPECT_THAT(util::GetString16(test, span->name.index), Eq(u"b")); in TEST()
297 EXPECT_THAT(util::GetString16(test, span->name.index), Eq(u"i")); in TEST()
357 EXPECT_THAT(util::GetString16(test, 0), Eq(u"aaaaaaaaaa")); in TEST()
383 EXPECT_THAT(util::GetString16(test, 0), Eq(longStr16)); in TEST()
/frameworks/base/tools/aapt2/util/
DUtil.cpp533 StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx) { in GetString16() function
548 return Utf16ToUtf8(GetString16(pool, idx)); in GetString()
DUtil.h145 android::StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx);