Home
last modified time | relevance | path

Searched refs:JNIEnv (Results 1 – 25 of 28) sorted by relevance

12

/development/ndk/platforms/android-3/include/
Djni.h154 typedef _JNIEnv JNIEnv; typedef
157 typedef const struct JNINativeInterface* JNIEnv; typedef
170 jint (*GetVersion)(JNIEnv *);
172 jclass (*DefineClass)(JNIEnv*, const char*, jobject, const jbyte*,
174 jclass (*FindClass)(JNIEnv*, const char*);
176 jmethodID (*FromReflectedMethod)(JNIEnv*, jobject);
177 jfieldID (*FromReflectedField)(JNIEnv*, jobject);
179 jobject (*ToReflectedMethod)(JNIEnv*, jclass, jmethodID, jboolean);
181 jclass (*GetSuperclass)(JNIEnv*, jclass);
182 jboolean (*IsAssignableFrom)(JNIEnv*, jclass, jclass);
[all …]
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dapp-android.c48 Java_com_example_SanAngeles_DemoRenderer_nativeInit( JNIEnv* env ) in Java_com_example_SanAngeles_DemoRenderer_nativeInit()
56 Java_com_example_SanAngeles_DemoRenderer_nativeResize( JNIEnv* env, jobject thiz, jint w, jint h ) in Java_com_example_SanAngeles_DemoRenderer_nativeResize()
65 Java_com_example_SanAngeles_DemoRenderer_nativeDone( JNIEnv* env ) in Java_com_example_SanAngeles_DemoRenderer_nativeDone()
93 Java_com_example_SanAngeles_DemoGLSurfaceView_nativeTogglePauseResume( JNIEnv* env ) in Java_com_example_SanAngeles_DemoGLSurfaceView_nativeTogglePauseResume()
103 Java_com_example_SanAngeles_DemoGLSurfaceView_nativePause( JNIEnv* env ) in Java_com_example_SanAngeles_DemoGLSurfaceView_nativePause()
109 Java_com_example_SanAngeles_DemoGLSurfaceView_nativeResume( JNIEnv* env ) in Java_com_example_SanAngeles_DemoGLSurfaceView_nativeResume()
116 Java_com_example_SanAngeles_DemoRenderer_nativeRender( JNIEnv* env ) in Java_com_example_SanAngeles_DemoRenderer_nativeRender()
/development/samples/SimpleJNI/jni/
Dnative.cpp25 add(JNIEnv *env, jobject thiz, jint a, jint b) { in add()
40 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods()
63 static int registerNatives(JNIEnv* env) in registerNatives()
81 JNIEnv* env;
90 JNIEnv* env = NULL; in JNI_OnLoad()
/development/ndk/platforms/android-8/include/android/
Dbitmap.h55 int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap,
71 int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr);
76 int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap);
/development/ndk/platforms/android-18/include/android/
Dbitmap.h55 int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap,
71 int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr);
76 int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap);
/development/ndk/platforms/android-9/include/android/
Dbitmap.h54 int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap,
70 int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr);
75 int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap);
Dnative_window_jni.h34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
Dasset_manager_jni.h34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
Dnative_activity.h60 JNIEnv* env;
/development/ndk/platforms/android-13/include/android/
Dnative_window_jni.h34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
42 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
Dnative_activity.h60 JNIEnv* env;
/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()
198 void Java_com_example_nativeaudio_NativeAudio_createBufferQueueAudioPlayer(JNIEnv* env, 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()
338 void Java_com_example_nativeaudio_NativeAudio_setPlayingUriAudioPlayer(JNIEnv* env, in Java_com_example_nativeaudio_NativeAudio_setPlayingUriAudioPlayer()
357 void Java_com_example_nativeaudio_NativeAudio_setLoopingUriAudioPlayer(JNIEnv* env, in Java_com_example_nativeaudio_NativeAudio_setLoopingUriAudioPlayer()
387 void Java_com_example_nativeaudio_NativeAudio_setChannelMuteUriAudioPlayer(JNIEnv* env, in Java_com_example_nativeaudio_NativeAudio_setChannelMuteUriAudioPlayer()
399 void Java_com_example_nativeaudio_NativeAudio_setChannelSoloUriAudioPlayer(JNIEnv* env, 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/tutorials/MoarRam/jni/
Dbar.c31 JNIEnv* env, in Java_com_android_benchmark_moarram_MainActivity_add2MByteBlocksNative()
44 JNIEnv* env, in Java_com_android_benchmark_moarram_MainActivity_free2MByteBlocksNative()
Dfoo.c31 JNIEnv* env, in Java_com_android_benchmark_moarram_MainActivity_add32ByteBlocksNative()
44 JNIEnv* env, in Java_com_android_benchmark_moarram_MainActivity_free32ByteBlocksNative()
Dbaz.c33 JNIEnv* env, in Java_com_android_benchmark_moarram_MainActivity_addVariableSizedBlocksNative()
57 JNIEnv* env, in Java_com_android_benchmark_moarram_MainActivity_freeVariableSizedBlocksNative()
Ddf.c28 JNIEnv* env, in Java_com_android_benchmark_moarram_MainActivity_forceDoubleFreeNative()
/development/ndk/sources/android/ndk_helper/
DJNIHelper.cpp56 JNIEnv *env; in ~JNIHelper()
78 JNIEnv *env; in Init()
117 JNIEnv *env; in ReadFile()
191 JNIEnv *env; in GetExternalFilesDir()
216 JNIEnv *env; in LoadTexture()
260 JNIEnv *env; in ConvertString()
300 JNIEnv *env; in GetNativeAudioBufferSize()
322 JNIEnv *env; in GetNativeAudioSampleRate()
339 jclass JNIHelper::RetrieveClass( JNIEnv *jni, in RetrieveClass()
356 jstring JNIHelper::GetExternalFilesDirJString( JNIEnv *env ) in GetExternalFilesDirJString()
DJNIHelper.h58 jstring GetExternalFilesDirJString( JNIEnv *env );
59 jclass RetrieveClass( JNIEnv *jni,
/development/ndk/platforms/android-5/samples/hello-gl2/jni/
Dgl_code.cpp172 …JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint wid…
173 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_step(JNIEnv * env, jobject obj);
176 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint widt… in Java_com_android_gl2jni_GL2JNILib_init()
181 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_step(JNIEnv * env, jobject obj) in Java_com_android_gl2jni_GL2JNILib_step()
/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgles3jni.cpp239 JNIEXPORT void JNICALL Java_com_android_gles3jni_GLES3JNILib_init(JNIEnv* env, jobject obj);
240 …JNIEXPORT void JNICALL Java_com_android_gles3jni_GLES3JNILib_resize(JNIEnv* env, jobject obj, jint…
241 JNIEXPORT void JNICALL Java_com_android_gles3jni_GLES3JNILib_step(JNIEnv* env, jobject obj);
251 Java_com_android_gles3jni_GLES3JNILib_init(JNIEnv* env, jobject obj) { in Java_com_android_gles3jni_GLES3JNILib_init()
273 Java_com_android_gles3jni_GLES3JNILib_resize(JNIEnv* env, jobject obj, jint width, jint height) { in Java_com_android_gles3jni_GLES3JNILib_resize()
280 Java_com_android_gles3jni_GLES3JNILib_step(JNIEnv* env, jobject obj) { in Java_com_android_gles3jni_GLES3JNILib_step()
/development/ndk/platforms/android-16/include/android/
Dnative_window_jni.h34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
/development/ndk/samples/two-libs/jni/
Dsecond.c21 Java_com_example_twolibs_TwoLibs_add( JNIEnv* env, in Java_com_example_twolibs_TwoLibs_add()
/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()
329 jboolean Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer(JNIEnv* env, in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
437 void Java_com_example_nativemedia_NativeMedia_setPlayingStreamingMediaPlayer(JNIEnv* env, 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/ndk/samples/hello-jni/jni/
Dhello-jni.c27 Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env, in Java_com_example_hellojni_HelloJni_stringFromJNI()
/development/ndk/samples/hello-neon/jni/
Dhelloneon.c80 Java_com_example_neon_HelloNeon_stringFromJNI( JNIEnv* env, in Java_com_example_neon_HelloNeon_stringFromJNI()

12