Пример #1
0
        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);
        }
Пример #2
0
 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 {
     }
 }
Пример #3
0
 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()));
 }
Пример #4
0
 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();
 }
Пример #5
0
 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);
 }
Пример #6
0
 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));
 }
Пример #7
0
 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));
 }