Searched refs:jclass (Results 1 – 9 of 9) sorted by relevance
/development/ndk/platforms/android-3/include/ |
D | jni.h | 77 typedef _jclass* jclass; typedef 99 typedef jobject jclass; typedef 172 jclass (*DefineClass)(JNIEnv*, const char*, jobject, const jbyte*, 174 jclass (*FindClass)(JNIEnv*, const char*); 179 jobject (*ToReflectedMethod)(JNIEnv*, jclass, jmethodID, jboolean); 181 jclass (*GetSuperclass)(JNIEnv*, jclass); 182 jboolean (*IsAssignableFrom)(JNIEnv*, jclass, jclass); 185 jobject (*ToReflectedField)(JNIEnv*, jclass, jfieldID, jboolean); 188 jint (*ThrowNew)(JNIEnv *, jclass, const char *); 205 jobject (*AllocObject)(JNIEnv*, jclass); [all …]
|
/development/ndk/sources/android/ndk_helper/ |
D | JNIHelper.cpp | 82 jclass android_content_Context = env->GetObjectClass( helper.activity_->clazz ); in Init() 91 jclass cls = helper.RetrieveClass( env, helper_class_name ); in Init() 92 helper.jni_helper_java_class_ = (jclass) env->NewGlobalRef( cls ); in Init() 272 jclass cls = env->FindClass( "java/lang/String" ); in ConvertString() 339 jclass JNIHelper::RetrieveClass( JNIEnv *jni, in RetrieveClass() 342 jclass activity_class = jni->FindClass( CLASS_NAME ); in RetrieveClass() 346 jclass class_loader = jni->FindClass( "java/lang/ClassLoader" ); in RetrieveClass() 351 jclass class_retrieved = (jclass) jni->CallObjectMethod( cls, find_class, str_class_name ); in RetrieveClass() 365 jclass cls_Env = env->FindClass( CLASS_NAME ); in GetExternalFilesDirJString() 369 jclass cls_File = env->FindClass( "java/io/File" ); in GetExternalFilesDirJString()
|
D | JNIHelper.h | 51 jclass jni_helper_java_class_; 59 jclass RetrieveClass( JNIEnv *jni,
|
/development/ndk/platforms/android-9/samples/native-audio/jni/ |
D | native-audio-jni.c | 150 void Java_com_example_nativeaudio_NativeAudio_createEngine(JNIEnv* env, jclass clazz) in Java_com_example_nativeaudio_NativeAudio_createEngine() 199 jclass clazz) in Java_com_example_nativeaudio_NativeAudio_createBufferQueueAudioPlayer() 271 jboolean Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer(JNIEnv* env, jclass clazz, in Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer() 339 jclass clazz, jboolean isPlaying) in Java_com_example_nativeaudio_NativeAudio_setPlayingUriAudioPlayer() 358 jclass clazz, jboolean isLooping) in Java_com_example_nativeaudio_NativeAudio_setLoopingUriAudioPlayer() 388 jclass clazz, jint chan, jboolean mute) in Java_com_example_nativeaudio_NativeAudio_setChannelMuteUriAudioPlayer() 400 jclass clazz, jint chan, jboolean solo) in Java_com_example_nativeaudio_NativeAudio_setChannelSoloUriAudioPlayer() 411 int Java_com_example_nativeaudio_NativeAudio_getNumChannelsUriAudioPlayer(JNIEnv* env, jclass clazz) in Java_com_example_nativeaudio_NativeAudio_getNumChannelsUriAudioPlayer() 442 void Java_com_example_nativeaudio_NativeAudio_setVolumeUriAudioPlayer(JNIEnv* env, jclass clazz, in Java_com_example_nativeaudio_NativeAudio_setVolumeUriAudioPlayer() 454 void Java_com_example_nativeaudio_NativeAudio_setMuteUriAudioPlayer(JNIEnv* env, jclass clazz, in Java_com_example_nativeaudio_NativeAudio_setMuteUriAudioPlayer() [all …]
|
/development/ndk/platforms/android-21/samples/native-codec/jni/ |
D | native-codec-jni.cpp | 213 jclass clazz, jstring filename) in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 278 jclass clazz, jboolean isPlaying) in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer() 292 void Java_com_example_nativecodec_NativeCodec_shutdown(JNIEnv* env, jclass clazz) in Java_com_example_nativecodec_NativeCodec_shutdown() 309 void Java_com_example_nativecodec_NativeCodec_setSurface(JNIEnv *env, jclass clazz, jobject surface) in Java_com_example_nativecodec_NativeCodec_setSurface() 322 void Java_com_example_nativecodec_NativeCodec_rewindStreamingMediaPlayer(JNIEnv *env, jclass clazz) in Java_com_example_nativecodec_NativeCodec_rewindStreamingMediaPlayer()
|
/development/ndk/platforms/android-14/samples/native-media/jni/ |
D | native-media-jni.c | 245 void Java_com_example_nativemedia_NativeMedia_createEngine(JNIEnv* env, jclass clazz) in Java_com_example_nativemedia_NativeMedia_createEngine() 330 jclass clazz, jstring filename) in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer() 438 jclass clazz, jboolean isPlaying) in Java_com_example_nativemedia_NativeMedia_setPlayingStreamingMediaPlayer() 456 void Java_com_example_nativemedia_NativeMedia_shutdown(JNIEnv* env, jclass clazz) in Java_com_example_nativemedia_NativeMedia_shutdown() 496 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) in Java_com_example_nativemedia_NativeMedia_setSurface() 504 void Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer(JNIEnv *env, jclass clazz) in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()
|
/development/samples/SimpleJNI/jni/ |
D | native.cpp | 43 jclass clazz; in registerNativeMethods()
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsNativeActivity.cpp | 415 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in ShowUI() 429 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in UpdateFPS()
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotNativeActivity.cpp | 404 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in ShowUI() 418 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in UpdateFPS()
|