public unsafe ThreadBoundProxy(global::Com.Facebook.Stetho.Common.IThreadBound p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);
                if (GetType() != typeof(ThreadBoundProxy))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/facebook/stetho/common/ThreadBound;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/facebook/stetho/common/ThreadBound;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_facebook_stetho_common_ThreadBound_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_facebook_stetho_common_ThreadBound_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/facebook/stetho/common/ThreadBound;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_facebook_stetho_common_ThreadBound_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_facebook_stetho_common_ThreadBound_, __args);
            } finally {
            }
        }
示例#2
0
        static IntPtr n_PostAndWait_Lcom_facebook_stetho_common_UncheckedCallable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Facebook.Stetho.Common.IThreadBound       __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Common.IThreadBound> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Facebook.Stetho.Common.IUncheckedCallable p0     = (global::Com.Facebook.Stetho.Common.IUncheckedCallable)global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Common.IUncheckedCallable> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.PostAndWait(p0));

            return(__ret);
        }
示例#3
0
 static bool n_CheckThreadAccess(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Facebook.Stetho.Common.IThreadBound __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Common.IThreadBound> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.CheckThreadAccess());
 }
示例#4
0
 static void n_VerifyThreadAccess(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Facebook.Stetho.Common.IThreadBound __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Common.IThreadBound> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.VerifyThreadAccess();
 }
示例#5
0
 static void n_RemoveCallbacks_Ljava_lang_Runnable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Stetho.Common.IThreadBound __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Common.IThreadBound> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.IRunnable p0 = (global::Java.Lang.IRunnable)global::Java.Lang.Object.GetObject <global::Java.Lang.IRunnable> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.RemoveCallbacks(p0);
 }
示例#6
0
 static void n_PostDelayed_Ljava_lang_Runnable_J(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, long p1)
 {
     global::Com.Facebook.Stetho.Common.IThreadBound __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Common.IThreadBound> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.IRunnable p0 = (global::Java.Lang.IRunnable)global::Java.Lang.Object.GetObject <global::Java.Lang.IRunnable> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.PostDelayed(p0, p1);
 }