public unsafe global::Anetwork.Channel.Aidl.IConnection GetConnection(global::Anetwork.Channel.IRequest p0, global::Java.Lang.Object p1) { if (id_getConnection_Lanetwork_channel_Request_Ljava_lang_Object_ == IntPtr.Zero) { id_getConnection_Lanetwork_channel_Request_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "getConnection", "(Lanetwork/channel/Request;Ljava/lang/Object;)Lanetwork/channel/aidl/Connection;"); } JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); global::Anetwork.Channel.Aidl.IConnection __ret = global::Java.Lang.Object.GetObject <global::Anetwork.Channel.Aidl.IConnection> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getConnection_Lanetwork_channel_Request_Ljava_lang_Object_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); }
public static unsafe global::Anetwork.Channel.Aidl.IConnection AsInterface(global::Android.OS.IBinder p0) { if (id_asInterface_Landroid_os_IBinder_ == IntPtr.Zero) { id_asInterface_Landroid_os_IBinder_ = JNIEnv.GetStaticMethodID(class_ref, "asInterface", "(Landroid/os/IBinder;)Lanetwork/channel/aidl/Connection;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Anetwork.Channel.Aidl.IConnection __ret = global::Java.Lang.Object.GetObject <global::Anetwork.Channel.Aidl.IConnection> (JNIEnv.CallStaticObjectMethod(class_ref, id_asInterface_Landroid_os_IBinder_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
static IntPtr n_AsBinder(IntPtr jnienv, IntPtr native__this) { global::Anetwork.Channel.Aidl.IConnection __this = global::Java.Lang.Object.GetObject <global::Anetwork.Channel.Aidl.IConnection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.AsBinder())); }
static void n_Cancel(IntPtr jnienv, IntPtr native__this) { global::Anetwork.Channel.Aidl.IConnection __this = global::Java.Lang.Object.GetObject <global::Anetwork.Channel.Aidl.IConnection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Cancel(); }
static int n_GetStatusCode(IntPtr jnienv, IntPtr native__this) { global::Anetwork.Channel.Aidl.IConnection __this = global::Java.Lang.Object.GetObject <global::Anetwork.Channel.Aidl.IConnection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.StatusCode); }
static IntPtr n_GetDesc(IntPtr jnienv, IntPtr native__this) { global::Anetwork.Channel.Aidl.IConnection __this = global::Java.Lang.Object.GetObject <global::Anetwork.Channel.Aidl.IConnection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Desc)); }
static IntPtr n_GetConnHeadFields(IntPtr jnienv, IntPtr native__this) { global::Anetwork.Channel.Aidl.IConnection __this = global::Java.Lang.Object.GetObject <global::Anetwork.Channel.Aidl.IConnection> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(global::Android.Runtime.JavaDictionary.ToLocalJniHandle(__this.ConnHeadFields)); }