static bool n_Remove_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Remove(p0); return(__ret); }
static bool n_Save_Ljava_lang_String_Landroid_graphics_Bitmap_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Bitmap p1 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (native_p1, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Save(p0, p1); return(__ret); }
static bool n_Save_Ljava_lang_String_Ljava_io_InputStream_Lcom_nostra13_universalimageloader_utils_IoUtils_CopyListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); System.IO.Stream p1 = global::Android.Runtime.InputStreamInvoker.FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer); global::Com.Nostra13.Universalimageloader.Utils.IoUtils.ICopyListener p2 = (global::Com.Nostra13.Universalimageloader.Utils.IoUtils.ICopyListener)global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Utils.IoUtils.ICopyListener> (native_p2, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Save(p0, p1, p2); return(__ret); }
public static unsafe global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache CreateDiskCache(global::Android.Content.Context p0, global::Com.Nostra13.Universalimageloader.Cache.Disc.Naming.IFileNameGenerator p1, long p2, int p3) { if (id_createDiskCache_Landroid_content_Context_Lcom_nostra13_universalimageloader_cache_disc_naming_FileNameGenerator_JI == IntPtr.Zero) { id_createDiskCache_Landroid_content_Context_Lcom_nostra13_universalimageloader_cache_disc_naming_FileNameGenerator_JI = JNIEnv.GetStaticMethodID(class_ref, "createDiskCache", "(Landroid/content/Context;Lcom/nostra13/universalimageloader/cache/disc/naming/FileNameGenerator;JI)Lcom/nostra13/universalimageloader/cache/disc/DiskCache;"); } try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache __ret = global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache> (JNIEnv.CallStaticObjectMethod(class_ref, id_createDiskCache_Landroid_content_Context_Lcom_nostra13_universalimageloader_cache_disc_naming_FileNameGenerator_JI, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public static unsafe bool RemoveFromCache(string p0, global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache p1) { if (id_removeFromCache_Ljava_lang_String_Lcom_nostra13_universalimageloader_cache_disc_DiskCache_ == IntPtr.Zero) { id_removeFromCache_Ljava_lang_String_Lcom_nostra13_universalimageloader_cache_disc_DiskCache_ = JNIEnv.GetStaticMethodID(class_ref, "removeFromCache", "(Ljava/lang/String;Lcom/nostra13/universalimageloader/cache/disc/DiskCache;)Z"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); bool __ret = JNIEnv.CallStaticBooleanMethod(class_ref, id_removeFromCache_Ljava_lang_String_Lcom_nostra13_universalimageloader_cache_disc_DiskCache_, __args); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public static unsafe global::Java.IO.File FindInCache(string p0, global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache p1) { if (id_findInCache_Ljava_lang_String_Lcom_nostra13_universalimageloader_cache_disc_DiskCache_ == IntPtr.Zero) { id_findInCache_Ljava_lang_String_Lcom_nostra13_universalimageloader_cache_disc_DiskCache_ = JNIEnv.GetStaticMethodID(class_ref, "findInCache", "(Ljava/lang/String;Lcom/nostra13/universalimageloader/cache/disc/DiskCache;)Ljava/io/File;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); global::Java.IO.File __ret = global::Java.Lang.Object.GetObject <global::Java.IO.File> (JNIEnv.CallStaticObjectMethod(class_ref, id_findInCache_Ljava_lang_String_Lcom_nostra13_universalimageloader_cache_disc_DiskCache_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static IntPtr n_GetDirectory(IntPtr jnienv, IntPtr native__this) { global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Directory)); }
static void n_Close(IntPtr jnienv, IntPtr native__this) { global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache __this = global::Java.Lang.Object.GetObject <global::Com.Nostra13.Universalimageloader.Cache.Disc.IDiskCache> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Close(); }