static void n_OnFailure_Lokhttp3_Call_Ljava_io_IOException_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Okhttp3.ICallback __this = global::Java.Lang.Object.GetObject <global::Okhttp3.ICallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Okhttp3.ICall p0 = (global::Okhttp3.ICall)global::Java.Lang.Object.GetObject <global::Okhttp3.ICall> (native_p0, JniHandleOwnership.DoNotTransfer); global::Java.IO.IOException p1 = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnFailure(p0, p1); }
public unsafe CacheDataSinkException(global::Java.IO.IOException p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Throwable) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() != typeof(CacheDataSinkException)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/io/IOException;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Throwable) this).Handle, "(Ljava/io/IOException;)V", __args); return; } if (id_ctor_Ljava_io_IOException_ == IntPtr.Zero) { id_ctor_Ljava_io_IOException_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/io/IOException;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_io_IOException_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Throwable) this).Handle, class_ref, id_ctor_Ljava_io_IOException_, __args); } finally { } }
static void n_ConnectFailed_Ljava_net_URI_Ljava_net_SocketAddress_Ljava_io_IOException_(IntPtr jnienv, IntPtr native__this, IntPtr native_uri, IntPtr native_sa, IntPtr native_ioe) { global::Okhttp3.Internal.Proxy.NullProxySelector __this = global::Java.Lang.Object.GetObject <global::Okhttp3.Internal.Proxy.NullProxySelector> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Net.URI uri = global::Java.Lang.Object.GetObject <global::Java.Net.URI> (native_uri, JniHandleOwnership.DoNotTransfer); global::Java.Net.SocketAddress sa = global::Java.Lang.Object.GetObject <global::Java.Net.SocketAddress> (native_sa, JniHandleOwnership.DoNotTransfer); global::Java.IO.IOException ioe = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (native_ioe, JniHandleOwnership.DoNotTransfer); __this.ConnectFailed(uri, sa, ioe); }
static IntPtr n_NewTimeoutException_Ljava_io_IOException_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Okio.AsyncTimeout __this = global::Java.Lang.Object.GetObject <global::Okio.AsyncTimeout> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.IO.IOException p0 = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.NewTimeoutException(p0)); return(__ret); }
#pragma warning restore 0649 public void OnLoadError(int p0, global::Java.IO.IOException p1) { var __h = OnLoadErrorHandler; if (__h != null) { __h(sender, new LoadErrorEventArgs(p0, p1)); } }
public unsafe void AddConnectException(global::Java.IO.IOException e) { const string __id = "addConnectException.(Ljava/io/IOException;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((e == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)e).Handle); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { } }
public unsafe void OnError(global::Java.IO.IOException p0) { if (id_onError_Ljava_io_IOException_ == IntPtr.Zero) { id_onError_Ljava_io_IOException_ = JNIEnv.GetMethodID(class_ref, "onError", "(Ljava/io/IOException;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onError_Ljava_io_IOException_, __args); }
public unsafe bool ConnectionFailed(global::Java.IO.IOException e) { const string __id = "connectionFailed.(Ljava/io/IOException;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((e == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)e).Handle); var __rm = _members.InstanceMethods.InvokeAbstractBooleanMethod(__id, this, __args); return(__rm); } finally { } }
public unsafe void OnFailure(global::Okhttp3.ICall p0, global::Java.IO.IOException p1) { if (id_onFailure_Lokhttp3_Call_Ljava_io_IOException_ == IntPtr.Zero) { id_onFailure_Lokhttp3_Call_Ljava_io_IOException_ = JNIEnv.GetMethodID(class_ref, "onFailure", "(Lokhttp3/Call;Ljava/io/IOException;)V"); } JValue *__args = stackalloc JValue [2]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)p1).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onFailure_Lokhttp3_Call_Ljava_io_IOException_, __args); }
protected virtual unsafe global::Java.IO.IOException NewTimeoutException(global::Java.IO.IOException cause) { const string __id = "newTimeoutException.(Ljava/io/IOException;)Ljava/io/IOException;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((cause == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)cause).Handle); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
public unsafe global::Okhttp3.Internal.Http.HttpEngine Recover(global::Java.IO.IOException e) { const string __id = "recover.(Ljava/io/IOException;)Lokhttp3/internal/http/HttpEngine;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((e == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)e).Handle); var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Okhttp3.Internal.Http.HttpEngine> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
public unsafe void ConnectFailed(global::Okhttp3.Route failedRoute, global::Java.IO.IOException failure) { const string __id = "connectFailed.(Lokhttp3/Route;Ljava/io/IOException;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((failedRoute == null) ? IntPtr.Zero : ((global::Java.Lang.Object)failedRoute).Handle); __args [1] = new JniArgumentValue((failure == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)failure).Handle); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { } }
public unsafe void OnFailure(global::Okhttp3.ICall call, global::Java.IO.IOException e) { const string __id = "onFailure.(Lokhttp3/Call;Ljava/io/IOException;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((call == null) ? IntPtr.Zero : ((global::Java.Lang.Object)call).Handle); __args [1] = new JniArgumentValue((e == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)e).Handle); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { } }
public unsafe RouteException(global::Java.IO.IOException cause) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Ljava/io/IOException;)V"; if (((global::Java.Lang.Throwable) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((cause == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)cause).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
public virtual unsafe void OnError(global::Java.IO.IOException p0) { if (id_onError_Ljava_io_IOException_ == IntPtr.Zero) { id_onError_Ljava_io_IOException_ = JNIEnv.GetMethodID(class_ref, "onError", "(Ljava/io/IOException;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onError_Ljava_io_IOException_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onError", "(Ljava/io/IOException;)V"), __args); } } finally { } }
protected virtual unsafe global::Java.IO.IOException NewTimeoutException(global::Java.IO.IOException p0) { if (id_newTimeoutException_Ljava_io_IOException_ == IntPtr.Zero) { id_newTimeoutException_Ljava_io_IOException_ = JNIEnv.GetMethodID(class_ref, "newTimeoutException", "(Ljava/io/IOException;)Ljava/io/IOException;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Java.IO.IOException __ret; if (GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (JNIEnv.CallObjectMethod(Handle, id_newTimeoutException_Ljava_io_IOException_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "newTimeoutException", "(Ljava/io/IOException;)Ljava/io/IOException;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { } }
static void n_PrintStackTrace(IntPtr jnienv, IntPtr native__this) { global::Java.IO.IOException __this = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.PrintStackTrace(); }
static void n_OnError_Ljava_io_IOException_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Facebook.Stetho.Inspector.Network.IResponseHandler __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Stetho.Inspector.Network.IResponseHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.IO.IOException p0 = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnError(p0); }
public override unsafe void ConnectFailed(global::Java.Net.URI uri, global::Java.Net.SocketAddress sa, global::Java.IO.IOException ioe) { const string __id = "connectFailed.(Ljava/net/URI;Ljava/net/SocketAddress;Ljava/io/IOException;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((uri == null) ? IntPtr.Zero : ((global::Java.Lang.Object)uri).Handle); __args [1] = new JniArgumentValue((sa == null) ? IntPtr.Zero : ((global::Java.Lang.Object)sa).Handle); __args [2] = new JniArgumentValue((ioe == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)ioe).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public LoadErrorEventArgs(int p0, global::Java.IO.IOException p1) { this.p0 = p0; this.p1 = p1; }
static void n_OnLoadError_ILjava_io_IOException_(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1) { global::Com.Google.Android.Exoplayer.Chunk.IBaseChunkSampleSourceEventListener __this = global::Java.Lang.Object.GetObject <global::Com.Google.Android.Exoplayer.Chunk.IBaseChunkSampleSourceEventListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.IO.IOException p1 = global::Java.Lang.Object.GetObject <global::Java.IO.IOException> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnLoadError(p0, p1); }
public unsafe void StreamFinished(bool noNewStreams, global::Okhttp3.Internal.Http.IHttpCodec codec, long bytesRead, global::Java.IO.IOException e) { const string __id = "streamFinished.(ZLokhttp3/internal/http/HttpCodec;JLjava/io/IOException;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [4]; __args [0] = new JniArgumentValue(noNewStreams); __args [1] = new JniArgumentValue((codec == null) ? IntPtr.Zero : ((global::Java.Lang.Object)codec).Handle); __args [2] = new JniArgumentValue(bytesRead); __args [3] = new JniArgumentValue((e == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable)e).Handle); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { } }