Home | History | Annotate | Download | only in jni

Lines Matching full:thiz

137     JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
148 JNIOnInfoListener::JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz) {
149 jclass clazz = env->GetObjectClass(thiz);
182 JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) {
187 sp<DrmManagerClientImpl> old = (DrmManagerClientImpl*)env->GetIntField(thiz, fieldId);
189 client->incStrong(thiz);
192 old->decStrong(thiz);
194 env->SetIntField(thiz, fieldId, (int)client.get());
198 static sp<DrmManagerClientImpl> getDrmManagerClientImpl(JNIEnv* env, jobject thiz) {
203 DrmManagerClientImpl* const client = (DrmManagerClientImpl*)env->GetIntField(thiz, fieldId);
208 JNIEnv* env, jobject thiz) {
215 setDrmManagerClientImpl(env, thiz, drmManager);
221 JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) {
225 sp<DrmManagerClient::OnInfoListener> listener = new JNIOnInfoListener(env, thiz, weak_thiz);
226 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, listener);
232 JNIEnv* env, jobject thiz, jint uniqueId) {
235 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, NULL);
237 sp<DrmManagerClientImpl> oldClient = setDrmManagerClientImpl(env, thiz, NULL);
246 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) {
251 = getDrmManagerClientImpl(env, thiz)->getConstraints(uniqueId, &pathString, usage);
295 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath) {
299 getDrmManagerClientImpl(env, thiz)->getMetadata(uniqueId, &pathString);
335 JNIEnv* env, jobject thiz, jint uniqueId) {
340 getDrmManagerClientImpl(env, thiz)->getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray);
382 JNIEnv* env, jobject thiz, jint uniqueId, jstring engineFilePath) {
384 //getDrmManagerClient(env, thiz)
390 JNIEnv* env, jobject thiz, jint uniqueId,
402 result = getDrmManagerClientImpl(env, thiz)
413 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
416 = getDrmManagerClientImpl(env, thiz)
424 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) {
465 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo);
507 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) {
538 DrmInfo* pDrmInfo = getDrmManagerClientImpl(env, thiz)->acquireDrmInfo(uniqueId, &drmInfoReq);
579 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
582 = getDrmManagerClientImpl(env, thiz)
590 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) {
598 = getDrmManagerClientImpl(env, thiz)
606 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) {
609 = getDrmManagerClientImpl(env, thiz)
616 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) {
618 return getDrmManagerClientImpl(env, thiz)
623 JNIEnv* env, jobject thiz, jint uniqueId) {
625 return getDrmManagerClientImpl(env, thiz)->removeAllRights(uniqueId);
629 JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) {
632 = getDrmManagerClientImpl(env, thiz)
670 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) {
678 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer);
689 JNIEnv* env, jobject thiz, int uniqueId, jint convertId) {
694 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId);