コード例 #1
0
        public unsafe void UpdateDiskCacheKey(global::Java.Security.MessageDigest p0)
        {
            if (id_updateDiskCacheKey_Ljava_security_MessageDigest_ == IntPtr.Zero)
            {
                id_updateDiskCacheKey_Ljava_security_MessageDigest_ = JNIEnv.GetMethodID(class_ref, "updateDiskCacheKey", "(Ljava/security/MessageDigest;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(Handle, id_updateDiskCacheKey_Ljava_security_MessageDigest_, __args);
        }
コード例 #2
0
        protected virtual void SetH(global::Java.Security.MessageDigest p0)
        {
            if (id_setH_Ljava_security_MessageDigest_ == IntPtr.Zero)
            {
                id_setH_Ljava_security_MessageDigest_ = JNIEnv.GetMethodID(class_ref, "setH", "(Ljava/security/MessageDigest;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_setH_Ljava_security_MessageDigest_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setH", "(Ljava/security/MessageDigest;)V"), new JValue(p0));
            }
        }
        public virtual unsafe void UpdateDiskCacheKey(global::Java.Security.MessageDigest p0)
        {
            if (id_updateDiskCacheKey_Ljava_security_MessageDigest_ == IntPtr.Zero)
            {
                id_updateDiskCacheKey_Ljava_security_MessageDigest_ = JNIEnv.GetMethodID(class_ref, "updateDiskCacheKey", "(Ljava/security/MessageDigest;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_updateDiskCacheKey_Ljava_security_MessageDigest_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "updateDiskCacheKey", "(Ljava/security/MessageDigest;)V"), __args);
                }
            } finally {
            }
        }
コード例 #4
0
 static void n_SetH_Ljava_security_MessageDigest_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Jcraft.Jsch.Jcraft.HMAC __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.Jcraft.HMAC> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Security.MessageDigest p0     = global::Java.Lang.Object.GetObject <global::Java.Security.MessageDigest> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetH(p0);
 }
 static void n_UpdateDiskCacheKey_Ljava_security_MessageDigest_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Signature.MediaStoreSignature __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Signature.MediaStoreSignature> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Security.MessageDigest p0 = global::Java.Lang.Object.GetObject <global::Java.Security.MessageDigest> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.UpdateDiskCacheKey(p0);
 }