static void n_Put_Lokhttp3_ConnectionPool_Lokhttp3_internal_connection_RealConnection_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Okhttp3.Internal.Internal __this = global::Java.Lang.Object.GetObject <global::Okhttp3.Internal.Internal> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Okhttp3.ConnectionPool    p0     = global::Java.Lang.Object.GetObject <global::Okhttp3.ConnectionPool> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Okhttp3.Internal.Connection.RealConnection p1 = global::Java.Lang.Object.GetObject <global::Okhttp3.Internal.Connection.RealConnection> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Put(p0, p1);
 }
        static bool n_ConnectionBecameIdle_Lokhttp3_ConnectionPool_Lokhttp3_internal_connection_RealConnection_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Okhttp3.Internal.Internal __this = global::Java.Lang.Object.GetObject <global::Okhttp3.Internal.Internal> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Okhttp3.ConnectionPool    p0     = global::Java.Lang.Object.GetObject <global::Okhttp3.ConnectionPool> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Okhttp3.Internal.Connection.RealConnection p1 = global::Java.Lang.Object.GetObject <global::Okhttp3.Internal.Connection.RealConnection> (native_p1, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.ConnectionBecameIdle(p0, p1);

            return(__ret);
        }
        public unsafe void Acquire(global::Okhttp3.Internal.Connection.RealConnection connection)
        {
            const string __id = "acquire.(Lokhttp3/internal/connection/RealConnection;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((connection == null) ? IntPtr.Zero : ((global::Java.Lang.Object)connection).Handle);
                _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args);
            } finally {
            }
        }
        public override unsafe void Put(global::Okhttp3.ConnectionPool p0, global::Okhttp3.Internal.Connection.RealConnection p1)
        {
            const string __id = "put.(Lokhttp3/ConnectionPool;Lokhttp3/internal/connection/RealConnection;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args);
            } finally {
            }
        }
        public unsafe global::Java.Net.Socket ReleaseAndAcquire(global::Okhttp3.Internal.Connection.RealConnection newConnection)
        {
            const string __id = "releaseAndAcquire.(Lokhttp3/internal/connection/RealConnection;)Ljava/net/Socket;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((newConnection == null) ? IntPtr.Zero : ((global::Java.Lang.Object)newConnection).Handle);
                var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Java.Net.Socket> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
        public override unsafe bool ConnectionBecameIdle(global::Okhttp3.ConnectionPool p0, global::Okhttp3.Internal.Connection.RealConnection p1)
        {
            const string __id = "connectionBecameIdle.(Lokhttp3/ConnectionPool;Lokhttp3/internal/connection/RealConnection;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                var __rm = _members.InstanceMethods.InvokeAbstractBooleanMethod(__id, this, __args);
                return(__rm);
            } finally {
            }
        }
 public abstract void Put(global::Okhttp3.ConnectionPool p0, global::Okhttp3.Internal.Connection.RealConnection p1);
 public abstract bool ConnectionBecameIdle(global::Okhttp3.ConnectionPool p0, global::Okhttp3.Internal.Connection.RealConnection p1);
        public unsafe RealInterceptorChain(global::System.Collections.Generic.IList <global::Okhttp3.IInterceptor> interceptors, global::Okhttp3.Internal.Connection.StreamAllocation streamAllocation, global::Okhttp3.Internal.Http.IHttpCodec httpCodec, global::Okhttp3.Internal.Connection.RealConnection connection, int index, global::Okhttp3.Request request, global::Okhttp3.ICall call, global::Okhttp3.EventListener eventListener, int connectTimeout, int readTimeout, int writeTimeout)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            const string __id = "(Ljava/util/List;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;ILokhttp3/Request;Lokhttp3/Call;Lokhttp3/EventListener;III)V";

            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_interceptors = global::Android.Runtime.JavaList <global::Okhttp3.IInterceptor> .ToLocalJniHandle(interceptors);

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [11];
                __args [0]  = new JniArgumentValue(native_interceptors);
                __args [1]  = new JniArgumentValue((streamAllocation == null) ? IntPtr.Zero : ((global::Java.Lang.Object)streamAllocation).Handle);
                __args [2]  = new JniArgumentValue((httpCodec == null) ? IntPtr.Zero : ((global::Java.Lang.Object)httpCodec).Handle);
                __args [3]  = new JniArgumentValue((connection == null) ? IntPtr.Zero : ((global::Java.Lang.Object)connection).Handle);
                __args [4]  = new JniArgumentValue(index);
                __args [5]  = new JniArgumentValue((request == null) ? IntPtr.Zero : ((global::Java.Lang.Object)request).Handle);
                __args [6]  = new JniArgumentValue((call == null) ? IntPtr.Zero : ((global::Java.Lang.Object)call).Handle);
                __args [7]  = new JniArgumentValue((eventListener == null) ? IntPtr.Zero : ((global::Java.Lang.Object)eventListener).Handle);
                __args [8]  = new JniArgumentValue(connectTimeout);
                __args [9]  = new JniArgumentValue(readTimeout);
                __args [10] = new JniArgumentValue(writeTimeout);
                var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args);
                SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef);
                _members.InstanceMethods.FinishCreateInstance(__id, this, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_interceptors);
            }
        }
        public unsafe global::Okhttp3.Response Proceed(global::Okhttp3.Request request, global::Okhttp3.Internal.Connection.StreamAllocation streamAllocation, global::Okhttp3.Internal.Http.IHttpCodec httpCodec, global::Okhttp3.Internal.Connection.RealConnection connection)
        {
            const string __id = "proceed.(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [4];
                __args [0] = new JniArgumentValue((request == null) ? IntPtr.Zero : ((global::Java.Lang.Object)request).Handle);
                __args [1] = new JniArgumentValue((streamAllocation == null) ? IntPtr.Zero : ((global::Java.Lang.Object)streamAllocation).Handle);
                __args [2] = new JniArgumentValue((httpCodec == null) ? IntPtr.Zero : ((global::Java.Lang.Object)httpCodec).Handle);
                __args [3] = new JniArgumentValue((connection == null) ? IntPtr.Zero : ((global::Java.Lang.Object)connection).Handle);
                var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Okhttp3.Response> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }