Home | History | Annotate | Download | only in jni

Lines Matching defs:JCrypto

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