Home
last modified time | relevance | path

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

/frameworks/ex/variablespeed/jni/
Djni_entry.cc50 const char* utf8 = env->GetStringUTFChars(uri, NULL); in JNI_METHOD() local
51 CHECK(NULL != utf8); in JNI_METHOD()
52 AudioEngine::GetEngine()->PlayUri(utf8); in JNI_METHOD()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp64 unsigned char utf8 = *(bytes++); in isValidUtf8() local
66 switch (utf8 >> 4) { in isValidUtf8()
90 utf8 = *(bytes++); in isValidUtf8()
91 if ((utf8 & 0xc0) != 0x80) { in isValidUtf8()
98 utf8 = *(bytes++); in isValidUtf8()
99 if ((utf8 & 0xc0) != 0x80) { in isValidUtf8()
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c346 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer() local
347 assert(NULL != utf8); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
350 file = fopen(utf8, "rb"); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
352 ALOGE("Failed to open %s", utf8); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
393 (*env)->ReleaseStringUTFChars(env, filename, utf8); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
/frameworks/base/tools/aapt/
DStringPool.h88 explicit StringPool(bool utf8 = false);
DStringPool.cpp124 StringPool::StringPool(bool utf8) : in StringPool() argument
125 mUTF8(utf8), mValues(-1) in StringPool()