Esempio n. 1
0
 static void n_UncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_thread, IntPtr native_throwable)
 {
     global::Com.Mapbox.Android.Core.Crashreporter.MapboxUncaughtExceptionHanlder __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Core.Crashreporter.MapboxUncaughtExceptionHanlder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread    thread    = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_thread, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Throwable throwable = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_throwable, JniHandleOwnership.DoNotTransfer);
     __this.UncaughtException(thread, throwable);
 }
Esempio n. 2
0
 static void n_UncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_thread, IntPtr native_ex)
 {
     global::Com.Webtrekk.Webtrekksdk.Modules.ExceptionHandler __this = global::Java.Lang.Object.GetObject <global::Com.Webtrekk.Webtrekksdk.Modules.ExceptionHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread    thread = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_thread, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Throwable ex     = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_ex, JniHandleOwnership.DoNotTransfer);
     __this.UncaughtException(thread, ex);
 }
Esempio n. 3
0
 static void n_CancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Android.Camera.BitmapManager __this = global::Java.Lang.Object.GetObject <global::Com.Android.Camera.BitmapManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Android.Content.ContentResolver p1 = global::Java.Lang.Object.GetObject <global::Android.Content.ContentResolver> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.CancelThreadDecoding(p0, p1);
 }
Esempio n. 4
0
 static void n_UncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Instabug.Library.InstabugUncaughtExceptionHandler __this = global::Java.Lang.Object.GetObject <global::Com.Instabug.Library.InstabugUncaughtExceptionHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread    p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Throwable p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.UncaughtException(p0, p1);
 }
Esempio n. 5
0
        static bool n_CanThreadDecoding_Ljava_lang_Thread_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Android.Camera.BitmapManager __this = global::Java.Lang.Object.GetObject <global::Com.Android.Camera.BitmapManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Thread p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.CanThreadDecoding(p0);

            return(__ret);
        }
        static IntPtr n_OnCrashCaught_Ljava_lang_Thread_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.UT.Mini.Crashhandler.IUTCrashCaughtListner __this = global::Java.Lang.Object.GetObject <global::Com.UT.Mini.Crashhandler.IUTCrashCaughtListner> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Thread    p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Throwable p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(__this.OnCrashCaught(p0, p1));

            return(__ret);
        }
        public static unsafe void JoinUninterruptibly(global::Java.Lang.Thread thread)
        {
            const string __id = "joinUninterruptibly.(Ljava/lang/Thread;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((thread == null) ? IntPtr.Zero : ((global::Java.Lang.Object)thread).Handle);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
            }
        }
            public unsafe void SetImageDecodeThread(global::Java.Lang.Thread p0)
            {
                if (id_setImageDecodeThread_Ljava_lang_Thread_ == IntPtr.Zero)
                {
                    id_setImageDecodeThread_Ljava_lang_Thread_ = JNIEnv.GetMethodID(class_ref, "setImageDecodeThread", "(Ljava/lang/Thread;)V");
                }
                JValue *__args = stackalloc JValue [1];

                __args [0] = new JValue(p0);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setImageDecodeThread_Ljava_lang_Thread_, __args);
            }
Esempio n. 9
0
        public virtual unsafe void UncaughtException(global::Java.Lang.Thread thread, global::Java.Lang.Throwable ex)
        {
            const string __id = "uncaughtException.(Ljava/lang/Thread;Ljava/lang/Throwable;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((thread == null) ? IntPtr.Zero : ((global::Java.Lang.Object)thread).Handle);
                __args [1] = new JniArgumentValue((ex == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)ex).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
        public static unsafe bool JoinUninterruptibly(global::Java.Lang.Thread thread, long timeoutMs)
        {
            const string __id = "joinUninterruptibly.(Ljava/lang/Thread;J)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((thread == null) ? IntPtr.Zero : ((global::Java.Lang.Object)thread).Handle);
                __args [1] = new JniArgumentValue(timeoutMs);
                var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args);
                return(__rm);
            } finally {
            }
        }
 public static unsafe void JoinUninterruptibly(global::Java.Lang.Thread p0)
 {
     if (id_joinUninterruptibly_Ljava_lang_Thread_ == IntPtr.Zero)
     {
         id_joinUninterruptibly_Ljava_lang_Thread_ = JNIEnv.GetStaticMethodID(class_ref, "joinUninterruptibly", "(Ljava/lang/Thread;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallStaticVoidMethod(class_ref, id_joinUninterruptibly_Ljava_lang_Thread_, __args);
     } finally {
     }
 }
 public unsafe global::Java.Lang.Thread NewThread(global::Java.Lang.IRunnable p0)
 {
     if (id_newThread_Ljava_lang_Runnable_ == IntPtr.Zero)
     {
         id_newThread_Ljava_lang_Runnable_ = JNIEnv.GetMethodID(class_ref, "newThread", "(Ljava/lang/Runnable;)Ljava/lang/Thread;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Java.Lang.Thread __ret = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (JNIEnv.CallObjectMethod(Handle, id_newThread_Ljava_lang_Runnable_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 13
0
        public virtual void AllowThreadDecoding(global::Java.Lang.Thread p0)
        {
            if (id_allowThreadDecoding_Ljava_lang_Thread_ == IntPtr.Zero)
            {
                id_allowThreadDecoding_Ljava_lang_Thread_ = JNIEnv.GetMethodID(class_ref, "allowThreadDecoding", "(Ljava/lang/Thread;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_allowThreadDecoding_Ljava_lang_Thread_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "allowThreadDecoding", "(Ljava/lang/Thread;)V"), new JValue(p0));
            }
        }
Esempio n. 14
0
        public virtual void CancelThreadDecoding(global::Java.Lang.Thread p0, global::Android.Content.ContentResolver p1)
        {
            if (id_cancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_ == IntPtr.Zero)
            {
                id_cancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_ = JNIEnv.GetMethodID(class_ref, "cancelThreadDecoding", "(Ljava/lang/Thread;Landroid/content/ContentResolver;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_cancelThreadDecoding_Ljava_lang_Thread_Landroid_content_ContentResolver_, new JValue(p0), new JValue(p1));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "cancelThreadDecoding", "(Ljava/lang/Thread;Landroid/content/ContentResolver;)V"), new JValue(p0), new JValue(p1));
            }
        }
Esempio n. 15
0
        public virtual bool CanThreadDecoding(global::Java.Lang.Thread p0)
        {
            if (id_canThreadDecoding_Ljava_lang_Thread_ == IntPtr.Zero)
            {
                id_canThreadDecoding_Ljava_lang_Thread_ = JNIEnv.GetMethodID(class_ref, "canThreadDecoding", "(Ljava/lang/Thread;)Z");
            }

            bool __ret;

            if (GetType() == ThresholdType)
            {
                __ret = JNIEnv.CallBooleanMethod(Handle, id_canThreadDecoding_Ljava_lang_Thread_, new JValue(p0));
            }
            else
            {
                __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "canThreadDecoding", "(Ljava/lang/Thread;)Z"), new JValue(p0));
            }
            return(__ret);
        }
        public virtual unsafe void SetImageDecodeThread(global::Java.Lang.Thread p0)
        {
            if (id_setImageDecodeThread_Ljava_lang_Thread_ == IntPtr.Zero)
            {
                id_setImageDecodeThread_Ljava_lang_Thread_ = JNIEnv.GetMethodID(class_ref, "setImageDecodeThread", "(Ljava/lang/Thread;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setImageDecodeThread_Ljava_lang_Thread_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setImageDecodeThread", "(Ljava/lang/Thread;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 17
0
        public virtual unsafe void UncaughtException(global::Java.Lang.Thread p0, global::Java.Lang.Throwable p1)
        {
            if (id_uncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_ == IntPtr.Zero)
            {
                id_uncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_ = JNIEnv.GetMethodID(class_ref, "uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_uncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 18
0
 static void n_AllowThreadDecoding_Ljava_lang_Thread_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Android.Camera.BitmapManager __this = global::Java.Lang.Object.GetObject <global::Com.Android.Camera.BitmapManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.AllowThreadDecoding(p0);
 }
        public unsafe global::System.Collections.Generic.IDictionary <string, string> OnCrashCaught(global::Java.Lang.Thread p0, global::Java.Lang.Throwable p1)
        {
            if (id_onCrashCaught_Ljava_lang_Thread_Ljava_lang_Throwable_ == IntPtr.Zero)
            {
                id_onCrashCaught_Ljava_lang_Thread_Ljava_lang_Throwable_ = JNIEnv.GetMethodID(class_ref, "onCrashCaught", "(Ljava/lang/Thread;Ljava/lang/Throwable;)Ljava/util/Map;");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(p1);
            global::System.Collections.Generic.IDictionary <string, string> __ret = global::Android.Runtime.JavaDictionary <string, string> .FromJniHandle(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_onCrashCaught_Ljava_lang_Thread_Ljava_lang_Throwable_, __args), JniHandleOwnership.TransferLocalRef);

            return(__ret);
        }
 static void n_SetImageDecodeThread_Ljava_lang_Thread_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetImageDecodeThread(p0);
 }
 static void n_SetImageDecodeThread_Ljava_lang_Thread_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetImageDecodeThread(p0);
 }