Searched refs:jni (Results 1 – 11 of 11) sorted by relevance
/development/ndk/samples/hello-jni/jni/ |
D | Android.mk | 19 LOCAL_MODULE := hello-jni 20 LOCAL_SRC_FILES := hello-jni.c
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsNativeActivity.cpp | 411 JNIEnv *jni; in ShowUI() local 412 app_->activity->vm->AttachCurrentThread( &jni, NULL ); in ShowUI() 415 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in ShowUI() 416 jmethodID methodID = jni->GetMethodID( clazz, "showUI", "()V" ); in ShowUI() 417 jni->CallVoidMethod( app_->activity->clazz, methodID ); in ShowUI() 425 JNIEnv *jni; in UpdateFPS() local 426 app_->activity->vm->AttachCurrentThread( &jni, NULL ); in UpdateFPS() 429 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in UpdateFPS() 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/ |
D | TeapotNativeActivity.cpp | 400 JNIEnv *jni; in ShowUI() local 401 app_->activity->vm->AttachCurrentThread( &jni, NULL ); in ShowUI() 404 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in ShowUI() 405 jmethodID methodID = jni->GetMethodID( clazz, "showUI", "()V" ); in ShowUI() 406 jni->CallVoidMethod( app_->activity->clazz, methodID ); in ShowUI() 414 JNIEnv *jni; in UpdateFPS() local 415 app_->activity->vm->AttachCurrentThread( &jni, NULL ); in UpdateFPS() 418 jclass clazz = jni->GetObjectClass( app_->activity->clazz ); in UpdateFPS() 419 jmethodID methodID = jni->GetMethodID( clazz, "updateFPS", "(F)V" ); in UpdateFPS() 420 jni->CallVoidMethod( app_->activity->clazz, methodID, fFPS ); in UpdateFPS()
|
/development/ndk/platforms/android-9/samples/native-audio/jni/ |
D | Android.mk | 19 LOCAL_MODULE := native-audio-jni 20 LOCAL_SRC_FILES := native-audio-jni.c
|
/development/ndk/platforms/android-14/samples/native-media/jni/ |
D | Android.mk | 19 LOCAL_MODULE := native-media-jni 20 LOCAL_SRC_FILES := native-media-jni.c
|
/development/ndk/platforms/android-21/samples/native-codec/jni/ |
D | Android.mk | 19 LOCAL_MODULE := native-codec-jni 20 LOCAL_SRC_FILES := native-codec-jni.cpp looper.cpp
|
/development/ndk/sources/android/ndk_helper/ |
D | JNIHelper.cpp | 339 jclass JNIHelper::RetrieveClass( JNIEnv *jni, in RetrieveClass() argument 342 jclass activity_class = jni->FindClass( CLASS_NAME ); in RetrieveClass() 343 jmethodID get_class_loader = jni->GetMethodID( activity_class, "getClassLoader", in RetrieveClass() 345 jobject cls = jni->CallObjectMethod( activity_->clazz, get_class_loader ); in RetrieveClass() 346 jclass class_loader = jni->FindClass( "java/lang/ClassLoader" ); in RetrieveClass() 347 jmethodID find_class = jni->GetMethodID( class_loader, "loadClass", in RetrieveClass() 350 jstring str_class_name = jni->NewStringUTF( class_name ); in RetrieveClass() 351 jclass class_retrieved = (jclass) jni->CallObjectMethod( cls, find_class, str_class_name ); in RetrieveClass() 352 jni->DeleteLocalRef( str_class_name ); in RetrieveClass()
|
D | JNIHelper.h | 59 jclass RetrieveClass( JNIEnv *jni,
|
/development/ndk/platforms/android-5/samples/hello-gl2/ |
D | Android.mk | 1 LOCAL_PATH:= $(LOCAL_PATH)/jni
|
/development/ndk/platforms/android-9/samples/native-activity/ |
D | Android.mk | 39 jni/main.c \
|
/development/ndk/platforms/android-18/samples/gles3jni/ |
D | README | 11 $ ln -s Android-$N.mk jni/Android.mk
|