Lines Matching refs:gFields
115 static fields_t gFields;
187 env->CallStaticVoidMethod(mClass, gFields.post_event, mObject,
270 JDrm *jdrm = (JDrm *)env->GetIntField(thiz, gFields.context);
412 jobject entrySet = env->CallObjectMethod(hashMap, gFields.hashmap.entrySet);
414 jobject iterator = env->CallObjectMethod(entrySet, gFields.set.iterator);
416 jboolean hasNext = env->CallBooleanMethod(iterator, gFields.iterator.hasNext);
418 jobject entry = env->CallObjectMethod(iterator, gFields.iterator.next);
420 jobject obj = env->CallObjectMethod(entry, gFields.entry.getKey);
427 obj = env->CallObjectMethod(entry, gFields.entry.getValue);
440 hasNext = env->CallBooleanMethod(iterator, gFields.iterator.hasNext);
454 jobject hashMap = env->NewObject(clazz, gFields.hashmap.init);
458 env->CallObjectMethod(hashMap, gFields.hashmap.put, jkey, jvalue);
469 jobject arrayList = env->NewObject(clazz, gFields.arraylist.init);
473 env->CallBooleanMethod(arrayList, gFields.arraylist.add, byteArray);
487 sp<JDrm> old = (JDrm *)env->GetIntField(thiz, gFields.context);
494 env->SetIntField(thiz, gFields.context, (int)drm.get());
523 GET_FIELD_ID(gFields.context, clazz, "mNativeContext", "I");
524 GET_STATIC_METHOD_ID(gFields.post_event, clazz, "postEventFromNative",
545 GET_FIELD_ID(gFields.keyRequest.data, clazz, "mData", "[B");
546 GET_FIELD_ID(gFields.keyRequest.defaultUrl, clazz, "mDefaultUrl", "Ljava/lang/String;");
549 GET_FIELD_ID(gFields.provisionRequest.data, clazz, "mData", "[B");
550 GET_FIELD_ID(gFields.provisionRequest.defaultUrl, clazz, "mDefaultUrl", "Ljava/lang/String;");
553 GET_METHOD_ID(gFields.arraylist.init, clazz, "<init>", "()V");
554 GET_METHOD_ID(gFields.arraylist.add, clazz, "add", "(Ljava/lang/Object;)Z");
557 GET_METHOD_ID(gFields.hashmap.init, clazz, "<init>", "()V");
558 GET_METHOD_ID(gFields.hashmap.get, clazz, "get", "(Ljava/lang/Object;)Ljava/lang/Object;");
559 GET_METHOD_ID(gFields.hashmap.put, clazz, "put",
561 GET_METHOD_ID(gFields.hashmap.entrySet, clazz, "entrySet", "()Ljava/util/Set;");
564 GET_METHOD_ID(gFields.set.iterator, clazz, "iterator", "()Ljava/util/Iterator;");
567 GET_METHOD_ID(gFields.iterator.next, clazz, "next", "()Ljava/lang/Object;");
568 GET_METHOD_ID(gFields.iterator.hasNext, clazz, "hasNext", "()Z");
571 GET_METHOD_ID(gFields.entry.getKey, clazz, "getKey", "()Ljava/lang/Object;");
572 GET_METHOD_ID(gFields.entry.getValue, clazz, "getValue", "()Ljava/lang/Object;");
733 env->SetObjectField(keyObj, gFields.keyRequest.data, jrequest);
736 env->SetObjectField(keyObj, gFields.keyRequest.defaultUrl, jdefaultUrl);
856 env->SetObjectField(provisionObj, gFields.provisionRequest.data, jrequest);
859 env->SetObjectField(provisionObj, gFields.provisionRequest.defaultUrl, jdefaultUrl);