Lines Matching refs:thiz
143 JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
152 JNIDrmListener::JNIDrmListener(JNIEnv* env, jobject thiz, jobject weak_thiz)
156 jclass clazz = env->GetObjectClass(thiz);
298 static sp<IDrm> GetDrm(JNIEnv *env, jobject thiz) {
299 JDrm *jdrm = (JDrm *)env->GetLongField(thiz, gFields.context);
304 JNIEnv *env, jobject thiz, const uint8_t uuid[16]) {
305 mObject = env->NewWeakGlobalRef(thiz);
517 JNIEnv *env, jobject thiz, const sp<JDrm> &drm) {
518 sp<JDrm> old = (JDrm *)env->GetLongField(thiz, gFields.context);
520 drm->incStrong(thiz);
523 old->decStrong(thiz);
525 env->SetLongField(thiz, gFields.context, reinterpret_cast<jlong>(drm.get()));
544 static void android_media_MediaDrm_release(JNIEnv *env, jobject thiz) {
545 sp<JDrm> drm = setDrm(env, thiz, NULL);
631 JNIEnv *env, jobject thiz,
647 sp<JDrm> drm = new JDrm(env, thiz, uuid.array());
659 sp<JNIDrmListener> listener = new JNIDrmListener(env, thiz, weak_this);
661 setDrm(env, thiz, drm);
665 JNIEnv *env, jobject thiz) {
666 android_media_MediaDrm_release(env, thiz);
670 JNIEnv *env, jobject thiz, jbyteArray uuidObj, jstring jmimeType) {
696 JNIEnv *env, jobject thiz) {
697 sp<IDrm> drm = GetDrm(env, thiz);
716 JNIEnv *env, jobject thiz, jbyteArray jsessionId) {
717 sp<IDrm> drm = GetDrm(env, thiz);
731 JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jinitData,
733 sp<IDrm> drm = GetDrm(env, thiz);
798 JNIEnv *env, jobject thiz, jbyteArray jsessionId, jbyteArray jresponse) {
799 sp<IDrm> drm = GetDrm(env, thiz);
824 JNIEnv *env, jobject thiz, jbyteArray jkeysetId) {
825 sp<IDrm> drm = GetDrm(env, thiz);
841 JNIEnv *env, jobject thiz, jbyteArray jsessionId,
844 sp<IDrm> drm = GetDrm(env, thiz);
864 JNIEnv *env, jobject thiz, jbyteArray jsessionId) {
865 sp<IDrm> drm = GetDrm(env, thiz);
884 JNIEnv *env, jobject thiz, jint jcertType, jstring jcertAuthority) {
885 sp<IDrm> drm = GetDrm(env, thiz);
931 JNIEnv *env, jobject thiz, jbyteArray jresponse) {
932 sp<IDrm> drm = GetDrm(env, thiz);
970 JNIEnv *env, jobject thiz) {
971 sp<IDrm> drm = GetDrm(env, thiz);
986 JNIEnv *env, jobject thiz) {
987 sp<IDrm> drm = GetDrm(env, thiz);
1007 JNIEnv *env, jobject thiz, jbyteArray jssRelease) {
1008 sp<IDrm> drm = GetDrm(env, thiz);
1024 JNIEnv *env, jobject thiz, jstring jname) {
1025 sp<IDrm> drm = GetDrm(env, thiz);
1052 JNIEnv *env, jobject thiz, jstring jname) {
1053 sp<IDrm> drm = GetDrm(env, thiz);
1080 JNIEnv *env, jobject thiz, jstring jname, jstring jvalue) {
1081 sp<IDrm> drm = GetDrm(env, thiz);
1110 JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) {
1111 sp<IDrm> drm = GetDrm(env, thiz);
1140 JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId,
1164 JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId,
1189 JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId,
1220 JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId,
1250 JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId,
1280 JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId,
1309 JNIEnv *env, jobject thiz, jobject jdrm, jbyteArray jsessionId,