Lines Matching refs:JCrypto
41 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { in getCrypto()
42 return (JCrypto *)env->GetLongField(thiz, gFields.context); in getCrypto()
45 JCrypto::JCrypto( in JCrypto() function in android::JCrypto
53 JCrypto::~JCrypto() { in ~JCrypto()
63 sp<ICrypto> JCrypto::MakeCrypto() { in MakeCrypto()
81 sp<ICrypto> JCrypto::MakeCrypto( in MakeCrypto()
98 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { in requiresSecureDecoderComponent()
107 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { in IsCryptoSchemeSupported()
117 status_t JCrypto::initCheck() const { in initCheck()
122 sp<ICrypto> JCrypto::GetCrypto(JNIEnv *env, jobject obj) { in GetCrypto()
130 sp<JCrypto> jcrypto = getCrypto(env, obj); in GetCrypto()
152 static sp<JCrypto> setCrypto( in setCrypto()
153 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { in setCrypto()
154 sp<JCrypto> old = (JCrypto *)env->GetLongField(thiz, gFields.context); in setCrypto()
202 sp<JCrypto> crypto = new JCrypto( in android_media_MediaCrypto_native_setup()
246 bool result = JCrypto::IsCryptoSchemeSupported((const uint8_t *)uuid); in android_media_MediaCrypto_isCryptoSchemeSupportedNative()
261 sp<JCrypto> crypto = getCrypto(env, thiz); in android_media_MediaCrypto_requiresSecureDecoderComponent()
289 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); in android_media_MediaCrypto_setMediaDrmSession()