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()
66 sp<ICrypto> JCrypto::MakeCrypto() { in MakeCrypto()
84 sp<ICrypto> JCrypto::MakeCrypto( in MakeCrypto()
101 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { in requiresSecureDecoderComponent()
110 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) { in IsCryptoSchemeSupported()
120 status_t JCrypto::initCheck() const { in initCheck()
125 sp<ICrypto> JCrypto::GetCrypto(JNIEnv *env, jobject obj) { in GetCrypto()
133 sp<JCrypto> jcrypto = getCrypto(env, obj); in GetCrypto()
155 static sp<JCrypto> setCrypto( in setCrypto()
156 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { in setCrypto()
157 sp<JCrypto> old = (JCrypto *)env->GetLongField(thiz, gFields.context); in setCrypto()
205 sp<JCrypto> crypto = new JCrypto( in android_media_MediaCrypto_native_setup()
249 bool result = JCrypto::IsCryptoSchemeSupported((const uint8_t *)uuid); in android_media_MediaCrypto_isCryptoSchemeSupportedNative()
264 sp<JCrypto> crypto = getCrypto(env, thiz); in android_media_MediaCrypto_requiresSecureDecoderComponent()
292 sp<ICrypto> crypto = JCrypto::GetCrypto(env, thiz); in android_media_MediaCrypto_setMediaDrmSession()