Home
last modified time | relevance | path

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

/development/ndk/platforms/android-3/include/
Djni.h530 jclass GetSuperclass(jclass clazz) in GetSuperclass()
531 { return functions->GetSuperclass(this, clazz); } in GetSuperclass()
542 jint ThrowNew(jclass clazz, const char* message) in ThrowNew()
543 { return functions->ThrowNew(this, clazz, message); } in ThrowNew()
581 jobject AllocObject(jclass clazz) in AllocObject()
582 { return functions->AllocObject(this, clazz); } in AllocObject()
584 jobject NewObject(jclass clazz, jmethodID methodID, ...) in NewObject()
588 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject()
593 jobject NewObjectV(jclass clazz, jmethodID methodID, va_list args) in NewObjectV()
594 { return functions->NewObjectV(this, clazz, methodID, args); } in NewObjectV()
[all …]
/development/samples/SimpleJNI/jni/
Dnative.cpp43 jclass clazz; in registerNativeMethods() local
45 clazz = env->FindClass(className); in registerNativeMethods()
46 if (clazz == NULL) { in registerNativeMethods()
50 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) { in registerNativeMethods()
/development/ndk/platforms/android-9/samples/native-audio/jni/
Dnative-audio-jni.c150 void Java_com_example_nativeaudio_NativeAudio_createEngine(JNIEnv* env, jclass clazz) in Java_com_example_nativeaudio_NativeAudio_createEngine() argument
199 jclass clazz) in Java_com_example_nativeaudio_NativeAudio_createBufferQueueAudioPlayer() argument
271 jboolean Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer(JNIEnv* env, jclass clazz, in Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer() argument
339 jclass clazz, jboolean isPlaying) in Java_com_example_nativeaudio_NativeAudio_setPlayingUriAudioPlayer() argument
358 jclass clazz, jboolean isLooping) in Java_com_example_nativeaudio_NativeAudio_setLoopingUriAudioPlayer() argument
388 jclass clazz, jint chan, jboolean mute) in Java_com_example_nativeaudio_NativeAudio_setChannelMuteUriAudioPlayer() argument
400 jclass clazz, jint chan, jboolean solo) in Java_com_example_nativeaudio_NativeAudio_setChannelSoloUriAudioPlayer() argument
411 int Java_com_example_nativeaudio_NativeAudio_getNumChannelsUriAudioPlayer(JNIEnv* env, jclass clazz) in Java_com_example_nativeaudio_NativeAudio_getNumChannelsUriAudioPlayer() argument
442 void Java_com_example_nativeaudio_NativeAudio_setVolumeUriAudioPlayer(JNIEnv* env, jclass clazz, in Java_com_example_nativeaudio_NativeAudio_setVolumeUriAudioPlayer() argument
454 void Java_com_example_nativeaudio_NativeAudio_setMuteUriAudioPlayer(JNIEnv* env, jclass clazz, in Java_com_example_nativeaudio_NativeAudio_setMuteUriAudioPlayer() argument
[all …]
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsNativeActivity.cpp415 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in ShowUI() local
416 jmethodID methodID = jni->GetMethodID( clazz, "showUI", "()V" ); in ShowUI()
417 jni->CallVoidMethod( app_->activity->clazz, methodID ); in ShowUI()
429 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in UpdateFPS() local
430 jmethodID methodID = jni->GetMethodID( clazz, "updateFPS", "(F)V" ); in UpdateFPS()
431 jni->CallVoidMethod( app_->activity->clazz, methodID, fps ); in UpdateFPS()
/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotNativeActivity.cpp404 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in ShowUI() local
405 jmethodID methodID = jni->GetMethodID( clazz, "showUI", "()V" ); in ShowUI()
406 jni->CallVoidMethod( app_->activity->clazz, methodID ); in ShowUI()
418 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in UpdateFPS() local
419 jmethodID methodID = jni->GetMethodID( clazz, "updateFPS", "(F)V" ); in UpdateFPS()
420 jni->CallVoidMethod( app_->activity->clazz, methodID, fFPS ); in UpdateFPS()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessor.java66 Class<? extends ContactAccessor> clazz = in getInstance() local
68 sInstance = clazz.newInstance(); in getInstance()
/development/ndk/platforms/android-21/samples/native-codec/jni/
Dnative-codec-jni.cpp213 jclass clazz, jstring filename) in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() argument
278 jclass clazz, jboolean isPlaying) in Java_com_example_nativecodec_NativeCodec_setPlayingStreamingMediaPlayer() argument
292 void Java_com_example_nativecodec_NativeCodec_shutdown(JNIEnv* env, jclass clazz) in Java_com_example_nativecodec_NativeCodec_shutdown() argument
309 void Java_com_example_nativecodec_NativeCodec_setSurface(JNIEnv *env, jclass clazz, jobject surface) in Java_com_example_nativecodec_NativeCodec_setSurface() argument
322 void Java_com_example_nativecodec_NativeCodec_rewindStreamingMediaPlayer(JNIEnv *env, jclass clazz) in Java_com_example_nativecodec_NativeCodec_rewindStreamingMediaPlayer() argument
/development/ndk/platforms/android-14/samples/native-media/jni/
Dnative-media-jni.c245 void Java_com_example_nativemedia_NativeMedia_createEngine(JNIEnv* env, jclass clazz) in Java_com_example_nativemedia_NativeMedia_createEngine() argument
330 jclass clazz, jstring filename) in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer() argument
438 jclass clazz, jboolean isPlaying) in Java_com_example_nativemedia_NativeMedia_setPlayingStreamingMediaPlayer() argument
456 void Java_com_example_nativemedia_NativeMedia_shutdown(JNIEnv* env, jclass clazz) in Java_com_example_nativemedia_NativeMedia_shutdown() argument
496 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) in Java_com_example_nativemedia_NativeMedia_setSurface() argument
504 void Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer(JNIEnv *env, jclass clazz) in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer() argument
/development/ndk/sources/android/ndk_helper/
DJNIHelper.cpp82 jclass android_content_Context = env->GetObjectClass( helper.activity_->clazz ); in Init()
86 jstring packageName = (jstring) env->CallObjectMethod( helper.activity_->clazz, in Init()
345 jobject cls = jni->CallObjectMethod( activity_->clazz, get_class_loader ); in RetrieveClass()
368 jobject obj_File = env->CallObjectMethod( activity_->clazz, mid, NULL ); in GetExternalFilesDirJString()
/development/ndk/platforms/android-9/include/android/
Dnative_activity.h72 jobject clazz; member
/development/ndk/platforms/android-13/include/android/
Dnative_activity.h72 jobject clazz; member