Home | History | Annotate | Download | only in runtime

Lines Matching defs:JNI

38 #include "jni.h"
82 // Section 12.3.2 of the JNI spec describes JNI class descriptors. They're
99 LOG(WARNING) << "Call to JNI FindClass with dots in name: "
332 LOG(ERROR) << "Bad JNI version passed to "
391 VLOG(jni) << "[" << *self << " waiting for \"" << path_ << "\" " << "JNI_OnLoad...]";
396 VLOG(jni) << "[Earlier JNI_OnLoad for \"" << path_ << "\" "
506 // See section 11.3 "Linking Native Methods" of the JNI spec.
532 VLOG(jni) << "[Found native code for " << PrettyMethod(m)
578 class JNI {
585 LOG(WARNING) << "JNI DefineClass is not supported";
680 // Note: JNI is different from regular Java instanceof in this respect
745 LOG(WARNING) << "JNI WARNING: no printStackTrace()V in "
750 LOG(WARNING) << "JNI WARNING: " << PrettyTypeOf(soa.Self()->GetException(nullptr))
769 LOG(FATAL) << "JNI FatalError called: " << msg;
819 LOG(WARNING) << "JNI WARNING: DeleteGlobalRef(" << obj << ") "
860 LOG(WARNING) << "JNI WARNING: DeleteLocalRef(" << obj << ") "
2378 LOG(WARNING) << "JNI RegisterNativeMethods: attempt to register 0 native methods for "
2422 VLOG(jni) << "[Registering JNI native method " << PrettyMethod(m) << "]";
2434 VLOG(jni) << "[Unregistering JNI native methods for " << PrettyClass(c) << "]";
2453 LOG(WARNING) << "JNI UnregisterNatives: attempt to unregister native methods of class '"
2724 JNI::GetVersion,
2725 JNI::DefineClass,
2726 JNI::FindClass,
2727 JNI::FromReflectedMethod,
2728 JNI::FromReflectedField,
2729 JNI::ToReflectedMethod,
2730 JNI::GetSuperclass,
2731 JNI::IsAssignableFrom,
2732 JNI::ToReflectedField,
2733 JNI::Throw,
2734 JNI::ThrowNew,
2735 JNI::ExceptionOccurred,
2736 JNI::ExceptionDescribe,
2737 JNI::ExceptionClear,
2738 JNI::FatalError,
2739 JNI::PushLocalFrame,
2740 JNI::PopLocalFrame,
2741 JNI::NewGlobalRef,
2742 JNI::DeleteGlobalRef,
2743 JNI::DeleteLocalRef,
2744 JNI::IsSameObject,
2745 JNI::NewLocalRef,
2746 JNI::EnsureLocalCapacity,
2747 JNI::AllocObject,
2748 JNI::NewObject,
2749 JNI::NewObjectV,
2750 JNI::NewObjectA,
2751 JNI::GetObjectClass,
2752 JNI::IsInstanceOf,
2753 JNI::GetMethodID,
2754 JNI::CallObjectMethod,
2755 JNI::CallObjectMethodV,
2756 JNI::CallObjectMethodA,
2757 JNI::CallBooleanMethod,
2758 JNI::CallBooleanMethodV,
2759 JNI::CallBooleanMethodA,
2760 JNI::CallByteMethod,
2761 JNI::CallByteMethodV,
2762 JNI::CallByteMethodA,
2763 JNI::CallCharMethod,
2764 JNI::CallCharMethodV,
2765 JNI::CallCharMethodA,
2766 JNI::CallShortMethod,
2767 JNI::CallShortMethodV,
2768 JNI::CallShortMethodA,
2769 JNI::CallIntMethod,
2770 JNI::CallIntMethodV,
2771 JNI::CallIntMethodA,
2772 JNI::CallLongMethod,
2773 JNI::CallLongMethodV,
2774 JNI::CallLongMethodA,
2775 JNI::CallFloatMethod,
2776 JNI::CallFloatMethodV,
2777 JNI::CallFloatMethodA,
2778 JNI::CallDoubleMethod,
2779 JNI::CallDoubleMethodV,
2780 JNI::CallDoubleMethodA,
2781 JNI::CallVoidMethod,
2782 JNI::CallVoidMethodV,
2783 JNI::CallVoidMethodA,
2784 JNI::CallNonvirtualObjectMethod,
2785 JNI::CallNonvirtualObjectMethodV,
2786 JNI::CallNonvirtualObjectMethodA,
2787 JNI::CallNonvirtualBooleanMethod,
2788 JNI::CallNonvirtualBooleanMethodV,
2789 JNI::CallNonvirtualBooleanMethodA,
2790 JNI::CallNonvirtualByteMethod,
2791 JNI::CallNonvirtualByteMethodV,
2792 JNI::CallNonvirtualByteMethodA,
2793 JNI::CallNonvirtualCharMethod,
2794 JNI::CallNonvirtualCharMethodV,
2795 JNI::CallNonvirtualCharMethodA,
2796 JNI::CallNonvirtualShortMethod,
2797 JNI::CallNonvirtualShortMethodV,
2798 JNI::CallNonvirtualShortMethodA,
2799 JNI::CallNonvirtualIntMethod,
2800 JNI::CallNonvirtualIntMethodV,
2801 JNI::CallNonvirtualIntMethodA,
2802 JNI::CallNonvirtualLongMethod,
2803 JNI::CallNonvirtualLongMethodV,
2804 JNI::CallNonvirtualLongMethodA,
2805 JNI::CallNonvirtualFloatMethod,
2806 JNI::CallNonvirtualFloatMethodV,
2807 JNI::CallNonvirtualFloatMethodA,
2808 JNI::CallNonvirtualDoubleMethod,
2809 JNI::CallNonvirtualDoubleMethodV,
2810 JNI::CallNonvirtualDoubleMethodA,
2811 JNI::CallNonvirtualVoidMethod,
2812 JNI::CallNonvirtualVoidMethodV,
2813 JNI::CallNonvirtualVoidMethodA,
2814 JNI::GetFieldID,
2815 JNI::GetObjectField,
2816 JNI::GetBooleanField,
2817 JNI::GetByteField,
2818 JNI::GetCharField,
2819 JNI::GetShortField,
2820 JNI::GetIntField,
2821 JNI::GetLongField,
2822 JNI::GetFloatField,
2823 JNI::GetDoubleField,
2824 JNI::SetObjectField,
2825 JNI::SetBooleanField,
2826 JNI::SetByteField,
2827 JNI::SetCharField,
2828 JNI::SetShortField,
2829 JNI::SetIntField,
2830 JNI::SetLongField,
2831 JNI::SetFloatField,
2832 JNI::SetDoubleField,
2833 JNI::GetStaticMethodID,
2834 JNI::CallStaticObjectMethod,
2835 JNI::CallStaticObjectMethodV,
2836 JNI::CallStaticObjectMethodA,
2837 JNI::CallStaticBooleanMethod,
2838 JNI::CallStaticBooleanMethodV,
2839 JNI::CallStaticBooleanMethodA,
2840 JNI::CallStaticByteMethod,
2841 JNI::CallStaticByteMethodV,
2842 JNI::CallStaticByteMethodA,
2843 JNI::CallStaticCharMethod,
2844 JNI::CallStaticCharMethodV,
2845 JNI::CallStaticCharMethodA,
2846 JNI::CallStaticShortMethod,
2847 JNI::CallStaticShortMethodV,
2848 JNI::CallStaticShortMethodA,
2849 JNI::CallStaticIntMethod,
2850 JNI::CallStaticIntMethodV,
2851 JNI::CallStaticIntMethodA,
2852 JNI::CallStaticLongMethod,
2853 JNI::CallStaticLongMethodV,
2854 JNI::CallStaticLongMethodA,
2855 JNI::CallStaticFloatMethod,
2856 JNI::CallStaticFloatMethodV,
2857 JNI::CallStaticFloatMethodA,
2858 JNI::CallStaticDoubleMethod,
2859 JNI::CallStaticDoubleMethodV,
2860 JNI::CallStaticDoubleMethodA,
2861 JNI::CallStaticVoidMethod,
2862 JNI::CallStaticVoidMethodV,
2863 JNI::CallStaticVoidMethodA,
2864 JNI::GetStaticFieldID,
2865 JNI::GetStaticObjectField,
2866 JNI::GetStaticBooleanField,
2867 JNI::GetStaticByteField,
2868 JNI::GetStaticCharField,
2869 JNI::GetStaticShortField,
2870 JNI::GetStaticIntField,
2871 JNI::GetStaticLongField,
2872 JNI::GetStaticFloatField,
2873 JNI::GetStaticDoubleField,
2874 JNI::SetStaticObjectField,
2875 JNI::SetStaticBooleanField,
2876 JNI::SetStaticByteField,
2877 JNI::SetStaticCharField,
2878 JNI::SetStaticShortField,
2879 JNI::SetStaticIntField,
2880 JNI::SetStaticLongField,
2881 JNI::SetStaticFloatField,
2882 JNI::SetStaticDoubleField,
2883 JNI::NewString,
2884 JNI::GetStringLength,
2885 JNI::GetStringChars,
2886 JNI::ReleaseStringChars,
2887 JNI::NewStringUTF,
2888 JNI::GetStringUTFLength,
2889 JNI::GetStringUTFChars,
2890 JNI::ReleaseStringUTFChars,
2891 JNI::GetArrayLength,
2892 JNI::NewObjectArray,
2893 JNI::GetObjectArrayElement,
2894 JNI::SetObjectArrayElement,
2895 JNI::NewBooleanArray,
2896 JNI::NewByteArray,
2897 JNI::NewCharArray,
2898 JNI::NewShortArray,
2899 JNI::NewIntArray,
2900 JNI::NewLongArray,
2901 JNI::NewFloatArray,
2902 JNI::NewDoubleArray,
2903 JNI::GetBooleanArrayElements,
2904 JNI::GetByteArrayElements,
2905 JNI::GetCharArrayElements,
2906 JNI::GetShortArrayElements,
2907 JNI::GetIntArrayElements,
2908 JNI::GetLongArrayElements,
2909 JNI::GetFloatArrayElements,
2910 JNI::GetDoubleArrayElements,
2911 JNI::ReleaseBooleanArrayElements,
2912 JNI::ReleaseByteArrayElements,
2913 JNI::ReleaseCharArrayElements,
2914 JNI::ReleaseShortArrayElements,
2915 JNI::ReleaseIntArrayElements,
2916 JNI::ReleaseLongArrayElements,
2917 JNI::ReleaseFloatArrayElements,
2918 JNI::ReleaseDoubleArrayElements,
2919 JNI::GetBooleanArrayRegion,
2920 JNI::GetByteArrayRegion,
2921 JNI::GetCharArrayRegion,
2922 JNI::GetShortArrayRegion,
2923 JNI::GetIntArrayRegion,
2924 JNI::GetLongArrayRegion,
2925 JNI::GetFloatArrayRegion,
2926 JNI::GetDoubleArrayRegion,
2927 JNI::SetBooleanArrayRegion,
2928 JNI::SetByteArrayRegion,
2929 JNI::SetCharArrayRegion,
2930 JNI::SetShortArrayRegion,
2931 JNI::SetIntArrayRegion,
2932 JNI::SetLongArrayRegion,
2933 JNI::SetFloatArrayRegion,
2934 JNI::SetDoubleArrayRegion,
2935 JNI::RegisterNatives,
2936 JNI::UnregisterNatives,
2937 JNI::MonitorEnter,
2938 JNI::MonitorExit,
2939 JNI::GetJavaVM,
2940 JNI::GetStringRegion,
2941 JNI::GetStringUTFRegion,
2942 JNI::GetPrimitiveArrayCritical,
2943 JNI::ReleasePrimitiveArrayCritical,
2944 JNI::GetStringCritical,
2945 JNI::ReleaseStringCritical,
2946 JNI::NewWeakGlobalRef,
2947 JNI::DeleteWeakGlobalRef,
2948 JNI::ExceptionCheck,
2949 JNI::NewDirectByteBuffer,
2950 JNI::GetDirectBufferAddress,
2951 JNI::GetDirectBufferCapacity,
2952 JNI::GetObjectRefType,
3012 // JNI Invocation interface.
3017 LOG(ERROR) << "Bad JNI version passed to CreateJavaVM: " << args->version;
3088 // GetEnv always returns a JNIEnv* for the most current supported JNI version,
3089 // and unlike other calls that take a JNI version doesn't care if you supply
3092 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version;
3126 globals_lock("JNI global reference table lock"),
3128 libraries_lock("JNI shared libraries map lock", kLoadLibraryLock),
3130 weak_globals_lock_("JNI weak global reference table lock"),
3159 LOG(WARNING) << "JNI WARNING: DeleteWeakGlobalRef(" << obj << ") "
3170 os << "JNI: CheckJNI is " << (check_jni ? "on" : "off");
3243 // The library will be associated with class_loader. The JNI
3252 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in "
3287 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_LAZY) returned " << handle << "]";
3313 VLOG(jni) << "[Added shared library \"" << path << "\" for ClassLoader " << class_loader.Get()
3326 VLOG(jni) << "[No JNI_OnLoad found in \"" << path << "\"]";
3332 // the comments in the JNI FindClass function.)
3342 VLOG(jni) << "[Calling JNI_OnLoad in \"" << path << "\"]";
3354 StringAppendF(detail, "Bad JNI version returned from JNI_OnLoad in \"%s\": %d",
3365 VLOG(jni) << "[Returned " << (was_successful ? "successfully" : "failure")
3433 JNI::RegisterNativeMethods(env, c.get(), methods, method_count, false);