Lines Matching refs:JCrypto
40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { in getCrypto()
41 return (JCrypto *)env->GetLongField(thiz, gFields.context); in getCrypto()
44 JCrypto::JCrypto( in JCrypto() function in android::JCrypto
52 JCrypto::~JCrypto() { in ~JCrypto()
65 sp<ICrypto> JCrypto::MakeCrypto() { in MakeCrypto()
70 sp<ICrypto> JCrypto::MakeCrypto( in MakeCrypto()
87 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { in requiresSecureDecoderComponent()
96 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { in IsCryptoSchemeSupported()
106 status_t JCrypto::initCheck() const { in initCheck()
111 sp<ICrypto> JCrypto::GetCrypto(JNIEnv *env, jobject obj) { in GetCrypto()
119 sp<JCrypto> jcrypto = getCrypto(env, obj); in GetCrypto()
141 static sp<JCrypto> setCrypto( in setCrypto()
142 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { in setCrypto()
143 sp<JCrypto> old = (JCrypto *)env->GetLongField(thiz, gFields.context); in setCrypto()
191 sp<JCrypto> crypto = new JCrypto( in android_media_MediaCrypto_native_setup()
235 bool result = JCrypto::IsCryptoSchemeSupported((const uint8_t *)uuid); in android_media_MediaCrypto_isCryptoSchemeSupportedNative()
250 sp<JCrypto> crypto = getCrypto(env, thiz); in android_media_MediaCrypto_requiresSecureDecoderComponent()
278 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); in android_media_MediaCrypto_setMediaDrmSession()