Lines Matching full:thiz
40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) {
41 return (JCrypto *)env->GetIntField(thiz, gFields.context);
45 JNIEnv *env, jobject thiz,
47 mObject = env->NewWeakGlobalRef(thiz);
148 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) {
149 sp<JCrypto> old = (JCrypto *)env->GetIntField(thiz, gFields.context);
151 crypto->incStrong(thiz);
154 old->decStrong(thiz);
156 env->SetIntField(thiz, gFields.context, (int)crypto.get());
161 static void android_media_MediaCrypto_release(JNIEnv *env, jobject thiz) {
162 setCrypto(env, thiz, NULL);
174 JNIEnv *env, jobject thiz,
198 env, thiz, (const uint8_t *)uuid, initData, initDataLength);
218 setCrypto(env,thiz, crypto);
222 JNIEnv *env, jobject thiz) {
223 android_media_MediaCrypto_release(env, thiz);
227 JNIEnv *env, jobject thiz, jbyteArray uuidObj) {
250 JNIEnv *env, jobject thiz, jstring mimeObj) {
256 sp<JCrypto> crypto = getCrypto(env, thiz);