Home
last modified time | relevance | path

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

/development/ndk/platforms/android-21/samples/native-codec/jni/
Dnative-codec-jni.cpp218 const char *utf8 = env->GetStringUTFChars(filename, NULL); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() local
219 LOGV("opening %s", utf8); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
220 int fd = open(utf8, O_RDONLY); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
221 env->ReleaseStringUTFChars(filename, utf8); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
/development/ndk/platforms/android-9/samples/native-audio/jni/
Dnative-audio-jni.c277 const char *utf8 = (*env)->GetStringUTFChars(env, uri, NULL); in Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer() local
278 assert(NULL != utf8); in Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer()
282 SLDataLocator_URI loc_uri = {SL_DATALOCATOR_URI, (SLchar *) utf8}; in Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer()
301 (*env)->ReleaseStringUTFChars(env, uri, utf8); in Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer()
573 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); in Java_com_example_nativeaudio_NativeAudio_createAssetAudioPlayer() local
574 assert(NULL != utf8); in Java_com_example_nativeaudio_NativeAudio_createAssetAudioPlayer()
579 AAsset* asset = AAssetManager_open(mgr, utf8, AASSET_MODE_UNKNOWN); in Java_com_example_nativeaudio_NativeAudio_createAssetAudioPlayer()
582 (*env)->ReleaseStringUTFChars(env, filename, utf8); in Java_com_example_nativeaudio_NativeAudio_createAssetAudioPlayer()
/development/ndk/platforms/android-14/samples/native-media/jni/
Dnative-media-jni.c335 const char *utf8 = (*env)->GetStringUTFChars(env, filename, NULL); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer() local
336 assert(NULL != utf8); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
339 file = fopen(utf8, "rb"); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
380 (*env)->ReleaseStringUTFChars(env, filename, utf8); in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()