Lines Matching defs:JCrypto
40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) {
41 return (JCrypto *)env->GetIntField(thiz, gFields.context);
44 JCrypto::JCrypto(
52 JCrypto::~JCrypto() {
62 sp<ICrypto> JCrypto::MakeCrypto() {
85 sp<ICrypto> JCrypto::MakeCrypto(
102 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const {
111 bool JCrypto::IsCryptoSchemeSupported(const uint8_t uuid[16]) {
121 status_t JCrypto::initCheck() const {
126 sp<ICrypto> JCrypto::GetCrypto(JNIEnv *env, jobject obj) {
134 sp<JCrypto> jcrypto = getCrypto(env, obj);
147 static sp<JCrypto> setCrypto(
148 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) {
149 sp<JCrypto> old = (JCrypto *)env->GetIntField(thiz, gFields.context);
197 sp<JCrypto> crypto = new JCrypto(
241 bool result = JCrypto::IsCryptoSchemeSupported((const uint8_t *)uuid);
256 sp<JCrypto> crypto = getCrypto(env, thiz);