| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // This code was generated by a tool. |
| | | // |
| | | // Changes to this file may cause incorrect behavior and will be lost if |
| | | // the code is regenerated. |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | #nullable restore |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using Android.Runtime; |
| | |
| | | static Delegate GetTryPatch_Landroid_content_Context_Ljava_lang_String_Lcom_tencent_tinker_lib_service_PatchResult_Handler () |
| | | { |
| | | if (cb_tryPatch_Landroid_content_Context_Ljava_lang_String_Lcom_tencent_tinker_lib_service_PatchResult_ == null) |
| | | cb_tryPatch_Landroid_content_Context_Ljava_lang_String_Lcom_tencent_tinker_lib_service_PatchResult_ = JNINativeWrapper.CreateDelegate ((_JniMarshal_PPLLL_Z) n_TryPatch_Landroid_content_Context_Ljava_lang_String_Lcom_tencent_tinker_lib_service_PatchResult_); |
| | | cb_tryPatch_Landroid_content_Context_Ljava_lang_String_Lcom_tencent_tinker_lib_service_PatchResult_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLLL_Z (n_TryPatch_Landroid_content_Context_Ljava_lang_String_Lcom_tencent_tinker_lib_service_PatchResult_)); |
| | | return cb_tryPatch_Landroid_content_Context_Ljava_lang_String_Lcom_tencent_tinker_lib_service_PatchResult_; |
| | | } |
| | | |
| | |
| | | public override unsafe bool TryPatch (global::Android.Content.Context context, string tempPatchPath, global::Com.Tencent.Tinker.Lib.Service.PatchResult patchResult) |
| | | { |
| | | const string __id = "tryPatch.(Landroid/content/Context;Ljava/lang/String;Lcom/tencent/tinker/lib/service/PatchResult;)Z"; |
| | | IntPtr native_tempPatchPath = JNIEnv.NewString (tempPatchPath); |
| | | IntPtr native_tempPatchPath = JNIEnv.NewString ((string)tempPatchPath); |
| | | try { |
| | | JniArgumentValue* __args = stackalloc JniArgumentValue [3]; |
| | | __args [0] = new JniArgumentValue ((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object) context).Handle); |