Searched defs:utf8 (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 129 StringPool::StringPool(bool utf8) : argument 130 mUTF8(utf8), mValues(-1)
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.cpp | 297 bool StringPool::flatten(BigBuffer* out, const StringPool& pool, bool utf8) { argument 303 if (utf8) { 322 if (utf8) {
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 424 std::u16string utf8ToUtf16(const StringPiece& utf8) { argument 425 ssize_t utf16Length = utf8_to_utf16_length(reinterpret_cast<const uint8_t*>(utf8.data()), 426 utf8.length()); 433 utf8_to_utf16(reinterpret_cast<const uint8_t*>(utf8.data()), utf8.length(), &*utf16.begin()); 443 std::string utf8; local 444 utf8.resize(utf8Length); 445 utf16_to_utf8(utf16.data(), utf16.length(), &*utf8.begin()); 446 return utf8;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | SupplicantBridge.java | 210 private static String escapeString(String s, boolean utf8) { argument 224 byte[] octets = s.getBytes(utf8 ? StandardCharsets.UTF_8 : StandardCharsets.ISO_8859_1);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 64 unsigned char utf8 = *(bytes++); local 66 switch (utf8 >> 4) { 90 utf8 = *(bytes++); 91 if ((utf8 & 0xc0) != 0x80) { 98 utf8 = *(bytes++); 99 if ((utf8 & 0xc0) != 0x80) {
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 346 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); local 347 assert(NULL != utf8); 350 file = fopen(utf8, "rb"); 352 ALOGE("Failed to open %s", utf8); 393 (*env)->ReleaseStringUTFChars(env, filename, utf8);
|
Completed in 523 milliseconds