using System;
|
using System.Collections.Generic;
|
using Android.Runtime;
|
using Java.Interop;
|
|
namespace Com.Tencent.Tinker.Lib.Reporter {
|
|
// Metadata.xml XPath interface reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']"
|
[Register ("com/tencent/tinker/lib/reporter/PatchReporter", "", "Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker")]
|
public partial interface IPatchReporter : IJavaObject, IJavaPeerable {
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']/method[@name='onPatchDexOptFail' and count(parameter)=3 and parameter[1][@type='java.io.File'] and parameter[2][@type='java.util.List<java.io.File>'] and parameter[3][@type='java.lang.Throwable']]"
|
[Register ("onPatchDexOptFail", "(Ljava/io/File;Ljava/util/List;Ljava/lang/Throwable;)V", "GetOnPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_Handler:Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker, Shared.Droid.HDLLinphone")]
|
void OnPatchDexOptFail (global::Java.IO.File p0, global::System.Collections.Generic.IList<global::Java.IO.File> p1, global::Java.Lang.Throwable p2);
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']/method[@name='onPatchException' and count(parameter)=2 and parameter[1][@type='java.io.File'] and parameter[2][@type='java.lang.Throwable']]"
|
[Register ("onPatchException", "(Ljava/io/File;Ljava/lang/Throwable;)V", "GetOnPatchException_Ljava_io_File_Ljava_lang_Throwable_Handler:Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker, Shared.Droid.HDLLinphone")]
|
void OnPatchException (global::Java.IO.File p0, global::Java.Lang.Throwable p1);
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']/method[@name='onPatchInfoCorrupted' and count(parameter)=3 and parameter[1][@type='java.io.File'] and parameter[2][@type='java.lang.String'] and parameter[3][@type='java.lang.String']]"
|
[Register ("onPatchInfoCorrupted", "(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V", "GetOnPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_Handler:Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker, Shared.Droid.HDLLinphone")]
|
void OnPatchInfoCorrupted (global::Java.IO.File p0, string p1, string p2);
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']/method[@name='onPatchPackageCheckFail' and count(parameter)=2 and parameter[1][@type='java.io.File'] and parameter[2][@type='int']]"
|
[Register ("onPatchPackageCheckFail", "(Ljava/io/File;I)V", "GetOnPatchPackageCheckFail_Ljava_io_File_IHandler:Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker, Shared.Droid.HDLLinphone")]
|
void OnPatchPackageCheckFail (global::Java.IO.File p0, int p1);
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']/method[@name='onPatchResult' and count(parameter)=3 and parameter[1][@type='java.io.File'] and parameter[2][@type='boolean'] and parameter[3][@type='long']]"
|
[Register ("onPatchResult", "(Ljava/io/File;ZJ)V", "GetOnPatchResult_Ljava_io_File_ZJHandler:Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker, Shared.Droid.HDLLinphone")]
|
void OnPatchResult (global::Java.IO.File p0, bool p1, long p2);
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']/method[@name='onPatchServiceStart' and count(parameter)=1 and parameter[1][@type='android.content.Intent']]"
|
[Register ("onPatchServiceStart", "(Landroid/content/Intent;)V", "GetOnPatchServiceStart_Landroid_content_Intent_Handler:Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker, Shared.Droid.HDLLinphone")]
|
void OnPatchServiceStart (global::Android.Content.Intent p0);
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.tencent.tinker.lib.reporter']/interface[@name='PatchReporter']/method[@name='onPatchTypeExtractFail' and count(parameter)=4 and parameter[1][@type='java.io.File'] and parameter[2][@type='java.io.File'] and parameter[3][@type='java.lang.String'] and parameter[4][@type='int']]"
|
[Register ("onPatchTypeExtractFail", "(Ljava/io/File;Ljava/io/File;Ljava/lang/String;I)V", "GetOnPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_IHandler:Com.Tencent.Tinker.Lib.Reporter.IPatchReporterInvoker, Shared.Droid.HDLLinphone")]
|
void OnPatchTypeExtractFail (global::Java.IO.File p0, global::Java.IO.File p1, string p2, int p3);
|
|
}
|
|
[global::Android.Runtime.Register ("com/tencent/tinker/lib/reporter/PatchReporter", DoNotGenerateAcw=true)]
|
internal partial class IPatchReporterInvoker : global::Java.Lang.Object, IPatchReporter {
|
static readonly JniPeerMembers _members = new XAPeerMembers ("com/tencent/tinker/lib/reporter/PatchReporter", typeof (IPatchReporterInvoker));
|
|
static IntPtr java_class_ref {
|
get { return _members.JniPeerType.PeerReference.Handle; }
|
}
|
|
[global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)]
|
[global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)]
|
public override global::Java.Interop.JniPeerMembers JniPeerMembers {
|
get { return _members; }
|
}
|
|
[global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)]
|
[global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)]
|
protected override IntPtr ThresholdClass {
|
get { return class_ref; }
|
}
|
|
[global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)]
|
[global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)]
|
protected override global::System.Type ThresholdType {
|
get { return _members.ManagedPeerType; }
|
}
|
|
IntPtr class_ref;
|
|
public static IPatchReporter GetObject (IntPtr handle, JniHandleOwnership transfer)
|
{
|
return global::Java.Lang.Object.GetObject<IPatchReporter> (handle, transfer);
|
}
|
|
static IntPtr Validate (IntPtr handle)
|
{
|
if (!JNIEnv.IsInstanceOf (handle, java_class_ref))
|
throw new InvalidCastException ($"Unable to convert instance of type '{JNIEnv.GetClassNameFromInstance (handle)}' to type 'com.tencent.tinker.lib.reporter.PatchReporter'.");
|
return handle;
|
}
|
|
protected override void Dispose (bool disposing)
|
{
|
if (this.class_ref != IntPtr.Zero)
|
JNIEnv.DeleteGlobalRef (this.class_ref);
|
this.class_ref = IntPtr.Zero;
|
base.Dispose (disposing);
|
}
|
|
public IPatchReporterInvoker (IntPtr handle, JniHandleOwnership transfer) : base (Validate (handle), transfer)
|
{
|
IntPtr local_ref = JNIEnv.GetObjectClass (((global::Java.Lang.Object) this).Handle);
|
this.class_ref = JNIEnv.NewGlobalRef (local_ref);
|
JNIEnv.DeleteLocalRef (local_ref);
|
}
|
|
static Delegate cb_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_;
|
#pragma warning disable 0169
|
static Delegate GetOnPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_Handler ()
|
{
|
if (cb_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_ == null)
|
cb_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_ = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPLLL_V) n_OnPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_);
|
return cb_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_;
|
}
|
|
static void n_OnPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_ (IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Tencent.Tinker.Lib.Reporter.IPatchReporter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var p0 = global::Java.Lang.Object.GetObject<global::Java.IO.File> (native_p0, JniHandleOwnership.DoNotTransfer);
|
var p1 = global::Android.Runtime.JavaList<global::Java.IO.File>.FromJniHandle (native_p1, JniHandleOwnership.DoNotTransfer);
|
var p2 = global::Java.Lang.Object.GetObject<global::Java.Lang.Throwable> (native_p2, JniHandleOwnership.DoNotTransfer);
|
__this.OnPatchDexOptFail (p0, p1, p2);
|
}
|
#pragma warning restore 0169
|
|
IntPtr id_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_;
|
public unsafe void OnPatchDexOptFail (global::Java.IO.File p0, global::System.Collections.Generic.IList<global::Java.IO.File> p1, global::Java.Lang.Throwable p2)
|
{
|
if (id_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_ == IntPtr.Zero)
|
id_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_ = JNIEnv.GetMethodID (class_ref, "onPatchDexOptFail", "(Ljava/io/File;Ljava/util/List;Ljava/lang/Throwable;)V");
|
IntPtr native_p1 = global::Android.Runtime.JavaList<global::Java.IO.File>.ToLocalJniHandle (p1);
|
JValue* __args = stackalloc JValue [3];
|
__args [0] = new JValue ((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object) p0).Handle);
|
__args [1] = new JValue (native_p1);
|
__args [2] = new JValue ((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable) p2).Handle);
|
JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onPatchDexOptFail_Ljava_io_File_Ljava_util_List_Ljava_lang_Throwable_, __args);
|
JNIEnv.DeleteLocalRef (native_p1);
|
}
|
|
static Delegate cb_onPatchException_Ljava_io_File_Ljava_lang_Throwable_;
|
#pragma warning disable 0169
|
static Delegate GetOnPatchException_Ljava_io_File_Ljava_lang_Throwable_Handler ()
|
{
|
if (cb_onPatchException_Ljava_io_File_Ljava_lang_Throwable_ == null)
|
cb_onPatchException_Ljava_io_File_Ljava_lang_Throwable_ = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPLL_V) n_OnPatchException_Ljava_io_File_Ljava_lang_Throwable_);
|
return cb_onPatchException_Ljava_io_File_Ljava_lang_Throwable_;
|
}
|
|
static void n_OnPatchException_Ljava_io_File_Ljava_lang_Throwable_ (IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Tencent.Tinker.Lib.Reporter.IPatchReporter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var p0 = global::Java.Lang.Object.GetObject<global::Java.IO.File> (native_p0, JniHandleOwnership.DoNotTransfer);
|
var p1 = global::Java.Lang.Object.GetObject<global::Java.Lang.Throwable> (native_p1, JniHandleOwnership.DoNotTransfer);
|
__this.OnPatchException (p0, p1);
|
}
|
#pragma warning restore 0169
|
|
IntPtr id_onPatchException_Ljava_io_File_Ljava_lang_Throwable_;
|
public unsafe void OnPatchException (global::Java.IO.File p0, global::Java.Lang.Throwable p1)
|
{
|
if (id_onPatchException_Ljava_io_File_Ljava_lang_Throwable_ == IntPtr.Zero)
|
id_onPatchException_Ljava_io_File_Ljava_lang_Throwable_ = JNIEnv.GetMethodID (class_ref, "onPatchException", "(Ljava/io/File;Ljava/lang/Throwable;)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_onPatchException_Ljava_io_File_Ljava_lang_Throwable_, __args);
|
}
|
|
static Delegate cb_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_;
|
#pragma warning disable 0169
|
static Delegate GetOnPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_Handler ()
|
{
|
if (cb_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_ == null)
|
cb_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_ = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPLLL_V) n_OnPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_);
|
return cb_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_;
|
}
|
|
static void n_OnPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_ (IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Tencent.Tinker.Lib.Reporter.IPatchReporter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var p0 = global::Java.Lang.Object.GetObject<global::Java.IO.File> (native_p0, JniHandleOwnership.DoNotTransfer);
|
var p1 = JNIEnv.GetString (native_p1, JniHandleOwnership.DoNotTransfer);
|
var p2 = JNIEnv.GetString (native_p2, JniHandleOwnership.DoNotTransfer);
|
__this.OnPatchInfoCorrupted (p0, p1, p2);
|
}
|
#pragma warning restore 0169
|
|
IntPtr id_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_;
|
public unsafe void OnPatchInfoCorrupted (global::Java.IO.File p0, string p1, string p2)
|
{
|
if (id_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
|
id_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID (class_ref, "onPatchInfoCorrupted", "(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V");
|
IntPtr native_p1 = JNIEnv.NewString (p1);
|
IntPtr native_p2 = JNIEnv.NewString (p2);
|
JValue* __args = stackalloc JValue [3];
|
__args [0] = new JValue ((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object) p0).Handle);
|
__args [1] = new JValue (native_p1);
|
__args [2] = new JValue (native_p2);
|
JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onPatchInfoCorrupted_Ljava_io_File_Ljava_lang_String_Ljava_lang_String_, __args);
|
JNIEnv.DeleteLocalRef (native_p1);
|
JNIEnv.DeleteLocalRef (native_p2);
|
}
|
|
static Delegate cb_onPatchPackageCheckFail_Ljava_io_File_I;
|
#pragma warning disable 0169
|
static Delegate GetOnPatchPackageCheckFail_Ljava_io_File_IHandler ()
|
{
|
if (cb_onPatchPackageCheckFail_Ljava_io_File_I == null)
|
cb_onPatchPackageCheckFail_Ljava_io_File_I = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPLI_V) n_OnPatchPackageCheckFail_Ljava_io_File_I);
|
return cb_onPatchPackageCheckFail_Ljava_io_File_I;
|
}
|
|
static void n_OnPatchPackageCheckFail_Ljava_io_File_I (IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Tencent.Tinker.Lib.Reporter.IPatchReporter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var p0 = global::Java.Lang.Object.GetObject<global::Java.IO.File> (native_p0, JniHandleOwnership.DoNotTransfer);
|
__this.OnPatchPackageCheckFail (p0, p1);
|
}
|
#pragma warning restore 0169
|
|
IntPtr id_onPatchPackageCheckFail_Ljava_io_File_I;
|
public unsafe void OnPatchPackageCheckFail (global::Java.IO.File p0, int p1)
|
{
|
if (id_onPatchPackageCheckFail_Ljava_io_File_I == IntPtr.Zero)
|
id_onPatchPackageCheckFail_Ljava_io_File_I = JNIEnv.GetMethodID (class_ref, "onPatchPackageCheckFail", "(Ljava/io/File;I)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);
|
JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onPatchPackageCheckFail_Ljava_io_File_I, __args);
|
}
|
|
static Delegate cb_onPatchResult_Ljava_io_File_ZJ;
|
#pragma warning disable 0169
|
static Delegate GetOnPatchResult_Ljava_io_File_ZJHandler ()
|
{
|
if (cb_onPatchResult_Ljava_io_File_ZJ == null)
|
cb_onPatchResult_Ljava_io_File_ZJ = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPLZJ_V) n_OnPatchResult_Ljava_io_File_ZJ);
|
return cb_onPatchResult_Ljava_io_File_ZJ;
|
}
|
|
static void n_OnPatchResult_Ljava_io_File_ZJ (IntPtr jnienv, IntPtr native__this, IntPtr native_p0, bool p1, long p2)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Tencent.Tinker.Lib.Reporter.IPatchReporter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var p0 = global::Java.Lang.Object.GetObject<global::Java.IO.File> (native_p0, JniHandleOwnership.DoNotTransfer);
|
__this.OnPatchResult (p0, p1, p2);
|
}
|
#pragma warning restore 0169
|
|
IntPtr id_onPatchResult_Ljava_io_File_ZJ;
|
public unsafe void OnPatchResult (global::Java.IO.File p0, bool p1, long p2)
|
{
|
if (id_onPatchResult_Ljava_io_File_ZJ == IntPtr.Zero)
|
id_onPatchResult_Ljava_io_File_ZJ = JNIEnv.GetMethodID (class_ref, "onPatchResult", "(Ljava/io/File;ZJ)V");
|
JValue* __args = stackalloc JValue [3];
|
__args [0] = new JValue ((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object) p0).Handle);
|
__args [1] = new JValue (p1);
|
__args [2] = new JValue (p2);
|
JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onPatchResult_Ljava_io_File_ZJ, __args);
|
}
|
|
static Delegate cb_onPatchServiceStart_Landroid_content_Intent_;
|
#pragma warning disable 0169
|
static Delegate GetOnPatchServiceStart_Landroid_content_Intent_Handler ()
|
{
|
if (cb_onPatchServiceStart_Landroid_content_Intent_ == null)
|
cb_onPatchServiceStart_Landroid_content_Intent_ = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPL_V) n_OnPatchServiceStart_Landroid_content_Intent_);
|
return cb_onPatchServiceStart_Landroid_content_Intent_;
|
}
|
|
static void n_OnPatchServiceStart_Landroid_content_Intent_ (IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Tencent.Tinker.Lib.Reporter.IPatchReporter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var p0 = global::Java.Lang.Object.GetObject<global::Android.Content.Intent> (native_p0, JniHandleOwnership.DoNotTransfer);
|
__this.OnPatchServiceStart (p0);
|
}
|
#pragma warning restore 0169
|
|
IntPtr id_onPatchServiceStart_Landroid_content_Intent_;
|
public unsafe void OnPatchServiceStart (global::Android.Content.Intent p0)
|
{
|
if (id_onPatchServiceStart_Landroid_content_Intent_ == IntPtr.Zero)
|
id_onPatchServiceStart_Landroid_content_Intent_ = JNIEnv.GetMethodID (class_ref, "onPatchServiceStart", "(Landroid/content/Intent;)V");
|
JValue* __args = stackalloc JValue [1];
|
__args [0] = new JValue ((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object) p0).Handle);
|
JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onPatchServiceStart_Landroid_content_Intent_, __args);
|
}
|
|
static Delegate cb_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I;
|
#pragma warning disable 0169
|
static Delegate GetOnPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_IHandler ()
|
{
|
if (cb_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I == null)
|
cb_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPLLLI_V) n_OnPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I);
|
return cb_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I;
|
}
|
|
static void n_OnPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I (IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2, int p3)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Tencent.Tinker.Lib.Reporter.IPatchReporter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var p0 = global::Java.Lang.Object.GetObject<global::Java.IO.File> (native_p0, JniHandleOwnership.DoNotTransfer);
|
var p1 = global::Java.Lang.Object.GetObject<global::Java.IO.File> (native_p1, JniHandleOwnership.DoNotTransfer);
|
var p2 = JNIEnv.GetString (native_p2, JniHandleOwnership.DoNotTransfer);
|
__this.OnPatchTypeExtractFail (p0, p1, p2, p3);
|
}
|
#pragma warning restore 0169
|
|
IntPtr id_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I;
|
public unsafe void OnPatchTypeExtractFail (global::Java.IO.File p0, global::Java.IO.File p1, string p2, int p3)
|
{
|
if (id_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I == IntPtr.Zero)
|
id_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I = JNIEnv.GetMethodID (class_ref, "onPatchTypeExtractFail", "(Ljava/io/File;Ljava/io/File;Ljava/lang/String;I)V");
|
IntPtr native_p2 = JNIEnv.NewString (p2);
|
JValue* __args = stackalloc JValue [4];
|
__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.Object) p1).Handle);
|
__args [2] = new JValue (native_p2);
|
__args [3] = new JValue (p3);
|
JNIEnv.CallVoidMethod (((global::Java.Lang.Object) this).Handle, id_onPatchTypeExtractFail_Ljava_io_File_Ljava_io_File_Ljava_lang_String_I, __args);
|
JNIEnv.DeleteLocalRef (native_p2);
|
}
|
|
}
|
}
|