Home
last modified time | relevance | path

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

/system/libbase/
Dutf8_test.cpp343 static std::string SysWideToUTF8(const std::wstring& utf16) { in SysWideToUTF8() function
363 TEST(SysStrings, SysWideToUTF8) { in TEST() argument
364 EXPECT_EQ("Hello, world", SysWideToUTF8(L"Hello, world")); in TEST()
365 EXPECT_EQ("\xe4\xbd\xa0\xe5\xa5\xbd", SysWideToUTF8(L"\x4f60\x597d")); in TEST()
368 EXPECT_EQ("\xF0\x90\x8C\x80", SysWideToUTF8(kSysWideOldItalicLetterA)); in TEST()
388 EXPECT_EQ(expected_null, SysWideToUTF8(wide_null)); in TEST()