Lines Matching defs:JNI
34 #include "jni.h"
116 LOG(ERROR) << "Internal error: unresolvable type for argument type in JNI invoke: "
125 LOG(ERROR) << "JNI ERROR (app bug): attempt to pass an instance of "
134 // TODO: pass the JNI function name (such as "CallVoidMethodV") through so we can call JniAbort
194 // Section 12.3.2 of the JNI spec describes JNI class descriptors. They're
211 LOG(WARNING) << "Call to JNI FindClass with dots in name: "
427 LOG(ERROR) << "Bad JNI version passed to "
485 VLOG(jni) << "[" << *self << " waiting for \"" << path_ << "\" " << "JNI_OnLoad...]";
490 VLOG(jni) << "[Earlier JNI_OnLoad for \"" << path_ << "\" "
573 // See section 11.3 "Linking Native Methods" of the JNI spec.
591 VLOG(jni) << "[Found native code for " << PrettyMethod(m)
629 class JNI {
636 LOG(WARNING) << "JNI DefineClass is not supported";
734 // Note: JNI is different from regular Java instanceof in this respect
788 LOG(WARNING) << "JNI WARNING: no printStackTrace()V in "
793 LOG(WARNING) << "JNI WARNING: " << PrettyTypeOf(soa.Self()->GetException(NULL))
811 LOG(FATAL) << "JNI FatalError called: " << msg;
857 LOG(WARNING) << "JNI WARNING: DeleteGlobalRef(" << obj << ") "
897 LOG(WARNING) << "JNI WARNING: DeleteLocalRef(" << obj << ") "
2354 LOG(WARNING) << "JNI RegisterNativeMethods: attempt to register 0 native methods for "
2364 // TODO: fast jni. it's too noisy to log all these.
2385 VLOG(jni) << "[Registering JNI native method " << PrettyMethod(m) << "]";
2397 VLOG(jni) << "[Unregistering JNI native methods for " << PrettyClass(c) << "]";
2607 JNI::GetVersion,
2608 JNI::DefineClass,
2609 JNI::FindClass,
2610 JNI::FromReflectedMethod,
2611 JNI::FromReflectedField,
2612 JNI::ToReflectedMethod,
2613 JNI::GetSuperclass,
2614 JNI::IsAssignableFrom,
2615 JNI::ToReflectedField,
2616 JNI::Throw,
2617 JNI::ThrowNew,
2618 JNI::ExceptionOccurred,
2619 JNI::ExceptionDescribe,
2620 JNI::ExceptionClear,
2621 JNI::FatalError,
2622 JNI::PushLocalFrame,
2623 JNI::PopLocalFrame,
2624 JNI::NewGlobalRef,
2625 JNI::DeleteGlobalRef,
2626 JNI::DeleteLocalRef,
2627 JNI::IsSameObject,
2628 JNI::NewLocalRef,
2629 JNI::EnsureLocalCapacity,
2630 JNI::AllocObject,
2631 JNI::NewObject,
2632 JNI::NewObjectV,
2633 JNI::NewObjectA,
2634 JNI::GetObjectClass,
2635 JNI::IsInstanceOf,
2636 JNI::GetMethodID,
2637 JNI::CallObjectMethod,
2638 JNI::CallObjectMethodV,
2639 JNI::CallObjectMethodA,
2640 JNI::CallBooleanMethod,
2641 JNI::CallBooleanMethodV,
2642 JNI::CallBooleanMethodA,
2643 JNI::CallByteMethod,
2644 JNI::CallByteMethodV,
2645 JNI::CallByteMethodA,
2646 JNI::CallCharMethod,
2647 JNI::CallCharMethodV,
2648 JNI::CallCharMethodA,
2649 JNI::CallShortMethod,
2650 JNI::CallShortMethodV,
2651 JNI::CallShortMethodA,
2652 JNI::CallIntMethod,
2653 JNI::CallIntMethodV,
2654 JNI::CallIntMethodA,
2655 JNI::CallLongMethod,
2656 JNI::CallLongMethodV,
2657 JNI::CallLongMethodA,
2658 JNI::CallFloatMethod,
2659 JNI::CallFloatMethodV,
2660 JNI::CallFloatMethodA,
2661 JNI::CallDoubleMethod,
2662 JNI::CallDoubleMethodV,
2663 JNI::CallDoubleMethodA,
2664 JNI::CallVoidMethod,
2665 JNI::CallVoidMethodV,
2666 JNI::CallVoidMethodA,
2667 JNI::CallNonvirtualObjectMethod,
2668 JNI::CallNonvirtualObjectMethodV,
2669 JNI::CallNonvirtualObjectMethodA,
2670 JNI::CallNonvirtualBooleanMethod,
2671 JNI::CallNonvirtualBooleanMethodV,
2672 JNI::CallNonvirtualBooleanMethodA,
2673 JNI::CallNonvirtualByteMethod,
2674 JNI::CallNonvirtualByteMethodV,
2675 JNI::CallNonvirtualByteMethodA,
2676 JNI::CallNonvirtualCharMethod,
2677 JNI::CallNonvirtualCharMethodV,
2678 JNI::CallNonvirtualCharMethodA,
2679 JNI::CallNonvirtualShortMethod,
2680 JNI::CallNonvirtualShortMethodV,
2681 JNI::CallNonvirtualShortMethodA,
2682 JNI::CallNonvirtualIntMethod,
2683 JNI::CallNonvirtualIntMethodV,
2684 JNI::CallNonvirtualIntMethodA,
2685 JNI::CallNonvirtualLongMethod,
2686 JNI::CallNonvirtualLongMethodV,
2687 JNI::CallNonvirtualLongMethodA,
2688 JNI::CallNonvirtualFloatMethod,
2689 JNI::CallNonvirtualFloatMethodV,
2690 JNI::CallNonvirtualFloatMethodA,
2691 JNI::CallNonvirtualDoubleMethod,
2692 JNI::CallNonvirtualDoubleMethodV,
2693 JNI::CallNonvirtualDoubleMethodA,
2694 JNI::CallNonvirtualVoidMethod,
2695 JNI::CallNonvirtualVoidMethodV,
2696 JNI::CallNonvirtualVoidMethodA,
2697 JNI::GetFieldID,
2698 JNI::GetObjectField,
2699 JNI::GetBooleanField,
2700 JNI::GetByteField,
2701 JNI::GetCharField,
2702 JNI::GetShortField,
2703 JNI::GetIntField,
2704 JNI::GetLongField,
2705 JNI::GetFloatField,
2706 JNI::GetDoubleField,
2707 JNI::SetObjectField,
2708 JNI::SetBooleanField,
2709 JNI::SetByteField,
2710 JNI::SetCharField,
2711 JNI::SetShortField,
2712 JNI::SetIntField,
2713 JNI::SetLongField,
2714 JNI::SetFloatField,
2715 JNI::SetDoubleField,
2716 JNI::GetStaticMethodID,
2717 JNI::CallStaticObjectMethod,
2718 JNI::CallStaticObjectMethodV,
2719 JNI::CallStaticObjectMethodA,
2720 JNI::CallStaticBooleanMethod,
2721 JNI::CallStaticBooleanMethodV,
2722 JNI::CallStaticBooleanMethodA,
2723 JNI::CallStaticByteMethod,
2724 JNI::CallStaticByteMethodV,
2725 JNI::CallStaticByteMethodA,
2726 JNI::CallStaticCharMethod,
2727 JNI::CallStaticCharMethodV,
2728 JNI::CallStaticCharMethodA,
2729 JNI::CallStaticShortMethod,
2730 JNI::CallStaticShortMethodV,
2731 JNI::CallStaticShortMethodA,
2732 JNI::CallStaticIntMethod,
2733 JNI::CallStaticIntMethodV,
2734 JNI::CallStaticIntMethodA,
2735 JNI::CallStaticLongMethod,
2736 JNI::CallStaticLongMethodV,
2737 JNI::CallStaticLongMethodA,
2738 JNI::CallStaticFloatMethod,
2739 JNI::CallStaticFloatMethodV,
2740 JNI::CallStaticFloatMethodA,
2741 JNI::CallStaticDoubleMethod,
2742 JNI::CallStaticDoubleMethodV,
2743 JNI::CallStaticDoubleMethodA,
2744 JNI::CallStaticVoidMethod,
2745 JNI::CallStaticVoidMethodV,
2746 JNI::CallStaticVoidMethodA,
2747 JNI::GetStaticFieldID,
2748 JNI::GetStaticObjectField,
2749 JNI::GetStaticBooleanField,
2750 JNI::GetStaticByteField,
2751 JNI::GetStaticCharField,
2752 JNI::GetStaticShortField,
2753 JNI::GetStaticIntField,
2754 JNI::GetStaticLongField,
2755 JNI::GetStaticFloatField,
2756 JNI::GetStaticDoubleField,
2757 JNI::SetStaticObjectField,
2758 JNI::SetStaticBooleanField,
2759 JNI::SetStaticByteField,
2760 JNI::SetStaticCharField,
2761 JNI::SetStaticShortField,
2762 JNI::SetStaticIntField,
2763 JNI::SetStaticLongField,
2764 JNI::SetStaticFloatField,
2765 JNI::SetStaticDoubleField,
2766 JNI::NewString,
2767 JNI::GetStringLength,
2768 JNI::GetStringChars,
2769 JNI::ReleaseStringChars,
2770 JNI::NewStringUTF,
2771 JNI::GetStringUTFLength,
2772 JNI::GetStringUTFChars,
2773 JNI::ReleaseStringUTFChars,
2774 JNI::GetArrayLength,
2775 JNI::NewObjectArray,
2776 JNI::GetObjectArrayElement,
2777 JNI::SetObjectArrayElement,
2778 JNI::NewBooleanArray,
2779 JNI::NewByteArray,
2780 JNI::NewCharArray,
2781 JNI::NewShortArray,
2782 JNI::NewIntArray,
2783 JNI::NewLongArray,
2784 JNI::NewFloatArray,
2785 JNI::NewDoubleArray,
2786 JNI::GetBooleanArrayElements,
2787 JNI::GetByteArrayElements,
2788 JNI::GetCharArrayElements,
2789 JNI::GetShortArrayElements,
2790 JNI::GetIntArrayElements,
2791 JNI::GetLongArrayElements,
2792 JNI::GetFloatArrayElements,
2793 JNI::GetDoubleArrayElements,
2794 JNI::ReleaseBooleanArrayElements,
2795 JNI::ReleaseByteArrayElements,
2796 JNI::ReleaseCharArrayElements,
2797 JNI::ReleaseShortArrayElements,
2798 JNI::ReleaseIntArrayElements,
2799 JNI::ReleaseLongArrayElements,
2800 JNI::ReleaseFloatArrayElements,
2801 JNI::ReleaseDoubleArrayElements,
2802 JNI::GetBooleanArrayRegion,
2803 JNI::GetByteArrayRegion,
2804 JNI::GetCharArrayRegion,
2805 JNI::GetShortArrayRegion,
2806 JNI::GetIntArrayRegion,
2807 JNI::GetLongArrayRegion,
2808 JNI::GetFloatArrayRegion,
2809 JNI::GetDoubleArrayRegion,
2810 JNI::SetBooleanArrayRegion,
2811 JNI::SetByteArrayRegion,
2812 JNI::SetCharArrayRegion,
2813 JNI::SetShortArrayRegion,
2814 JNI::SetIntArrayRegion,
2815 JNI::SetLongArrayRegion,
2816 JNI::SetFloatArrayRegion,
2817 JNI::SetDoubleArrayRegion,
2818 JNI::RegisterNatives,
2819 JNI::UnregisterNatives,
2820 JNI::MonitorEnter,
2821 JNI::MonitorExit,
2822 JNI::GetJavaVM,
2823 JNI::GetStringRegion,
2824 JNI::GetStringUTFRegion,
2825 JNI::GetPrimitiveArrayCritical,
2826 JNI::ReleasePrimitiveArrayCritical,
2827 JNI::GetStringCritical,
2828 JNI::ReleaseStringCritical,
2829 JNI::NewWeakGlobalRef,
2830 JNI::DeleteWeakGlobalRef,
2831 JNI::ExceptionCheck,
2832 JNI::NewDirectByteBuffer,
2833 JNI::GetDirectBufferAddress,
2834 JNI::GetDirectBufferCapacity,
2835 JNI::GetObjectRefType,
2886 // JNI Invocation interface.
2891 LOG(ERROR) << "Bad JNI version passed to CreateJavaVM: " << args->version;
2962 // GetEnv always returns a JNIEnv* for the most current supported JNI version,
2963 // and unlike other calls that take a JNI version doesn't care if you supply
2966 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version;
3001 pins_lock("JNI pin table lock", kPinTableLock),
3003 globals_lock("JNI global reference table lock"),
3005 libraries_lock("JNI shared libraries map lock", kLoadLibraryLock),
3007 weak_globals_lock_("JNI weak global reference table lock"),
3036 LOG(WARNING) << "JNI WARNING: DeleteWeakGlobalRef(" << obj << ") "
3047 os << "JNI: CheckJNI is " << (check_jni ? "on" : "off");
3137 // The library will be associated with class_loader. The JNI
3146 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in "
3173 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_LAZY) returned " << handle << "]";
3199 VLOG(jni) << "[Added shared library \"" << path << "\" for ClassLoader " << class_loader << "]";
3204 VLOG(jni) << "[No JNI_OnLoad found in \"" << path << "\"]";
3210 // the comments in the JNI FindClass function.)
3219 VLOG(jni) << "[Calling JNI_OnLoad in \"" << path << "\"]";
3228 StringAppendF(&detail, "Bad JNI version returned from JNI_OnLoad in \"%s\": %d",
3239 VLOG(jni) << "[Returned " << (was_successful ? "successfully" : "failure")
3296 JNI::RegisterNativeMethods(env, c.get(), methods, method_count, false);