Searched refs:gFields (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/media/jni/
H A Dandroid_media_MediaHTTPConnection.cpp82 static fields_t gFields; variable
87 (JMediaHTTPConnection *)env->GetLongField(thiz, gFields.context);
95 env->SetLongField(thiz, gFields.context, (jlong)conn.get());
101 return (JMediaHTTPConnection *)env->GetLongField(thiz, gFields.context);
109 gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J");
110 CHECK(gFields.context != NULL);
112 gFields.readAtMethodID = env->GetMethodID(clazz.get(), "readAt", "(J[BI)I");
144 thiz, gFields.readAtMethodID, offset, byteArrayObj, size);
H A Dandroid_media_MediaDrm.cpp151 static fields_t gFields; member in namespace:android
238 env->CallStaticVoidMethod(mClass, gFields.post_event, mObject,
254 jobject exception = env->NewObject(gFields.stateException.classId,
255 gFields.stateException.init, static_cast<int>(err),
333 JDrm *jdrm = (JDrm *)env->GetLongField(thiz, gFields.context);
473 jclass clazz = gFields.stringClassId;
477 jobject entrySet = env->CallObjectMethod(hashMap, gFields.hashmap.entrySet);
479 jobject iterator = env->CallObjectMethod(entrySet, gFields.set.iterator);
481 jboolean hasNext = env->CallBooleanMethod(iterator, gFields.iterator.hasNext);
483 jobject entry = env->CallObjectMethod(iterator, gFields
[all...]
H A Dandroid_media_MediaSync.cpp51 static fields_t gFields; member in namespace:android
125 sp<JMediaSync> old = (JMediaSync *)env->GetLongField(thiz, gFields.context);
133 env->SetLongField(thiz, gFields.context, (jlong)sync.get());
139 return (JMediaSync *)env->GetLongField(thiz, gFields.context);
291 env->SetLongField(timestamp, gFields.mediaTimestampMediaTimeUsID,
293 env->SetLongField(timestamp, gFields.mediaTimestampNanoTimeID,
295 env->SetFloatField(timestamp, gFields.mediaTimestampClockRateID,
485 gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J");
486 CHECK(gFields.context != NULL);
491 gFields
[all...]
H A Dandroid_media_MediaCodec.cpp115 static fields_t gFields; member in namespace:android
768 gFields.postEventFromNativeID,
792 mObject, gFields.postEventFromNativeID,
823 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context);
836 env->SetLongField(thiz, gFields.context, (jlong)codec.get());
842 return (JMediaCodec *)env->GetLongField(thiz, gFields.context);
1299 env->GetIntField(cryptoInfoObj, gFields.cryptoInfoNumSubSamplesID);
1303 cryptoInfoObj, gFields.cryptoInfoNumBytesOfClearDataID);
1307 cryptoInfoObj, gFields.cryptoInfoNumBytesOfEncryptedDataID);
1310 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields
[all...]
H A Dandroid_media_MediaCrypto.cpp39 static fields_t gFields; member in namespace:android
42 return (JCrypto *)env->GetLongField(thiz, gFields.context);
157 sp<JCrypto> old = (JCrypto *)env->GetLongField(thiz, gFields.context);
164 env->SetLongField(thiz, gFields.context, (jlong)crypto.get());
177 gFields.context = env->GetFieldID(clazz, "mNativeContext", "J");
178 CHECK(gFields.context != NULL);
H A Dandroid_media_MediaMuxer.cpp40 static fields_t gFields; member in namespace:android
95 (jbyteArray)env->CallObjectMethod(byteBuf, gFields.arrayID);
282 gFields.arrayID =
284 CHECK(gFields.arrayID != NULL);
H A Dandroid_media_MediaDescrambler.cpp38 static fields_t gFields; member in namespace:android
41 return (JDescrambler *)env->GetLongField(thiz, gFields.context);
46 sp<JDescrambler> old = (JDescrambler *)env->GetLongField(thiz, gFields.context);
53 env->SetLongField(thiz, gFields.context, (jlong)descrambler.get());
183 gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J");
184 CHECK(gFields.context != NULL);
H A Dandroid_media_MediaExtractor.cpp54 static fields_t gFields; member in namespace:android
273 (JMediaExtractor *)env->GetLongField(thiz, gFields.context);
281 env->SetLongField(thiz, gFields.context, (jlong)extractor.get());
287 return (JMediaExtractor *)env->GetLongField(thiz, gFields.context);
600 gFields.cryptoInfoSetID,
615 gFields.context = env->GetFieldID(clazz, "mNativeContext", "J");
616 CHECK(gFields.context != NULL);
621 gFields.cryptoInfoSetID =
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp296 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { member in namespace:android
313 for (int i = 0; i < NELEM(gFields); ++i) {
314 *gFields[i].id = GetFieldIDOrDie(env,
315 *gFields[i].c, gFields[i].name, gFields[i].ft);
H A Dandroid_os_HwBinder.cpp59 } gFields; member in namespace:android
66 gFields.contextID =
69 gFields.onTransactID =
81 (JHwBinder *)env->GetLongField(thiz, gFields.contextID);
91 env->SetLongField(thiz, gFields.contextID, (long)context.get());
99 return (JHwBinder *)env->GetLongField(thiz, gFields.contextID);
147 gFields.onTransactID,
H A Dandroid_app_admin_SecurityLog.cpp279 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { member in namespace:android
296 for (int i = 0; i < NELEM(gFields); ++i) {
297 *gFields[i].id = GetFieldIDOrDie(env,
298 *gFields[i].c, gFields[i].name, gFields[i].ft);
H A Dandroid_os_HwBlob.cpp45 } gFields; member in namespace:android
52 gFields.contextID =
55 gFields.constructID = GetMethodIDOrDie(env, clazz.get(), "<init>", "(I)V");
61 sp<JHwBlob> old = (JHwBlob *)env->GetLongField(thiz, gFields.contextID);
71 env->SetLongField(thiz, gFields.contextID, (long)context.get());
78 return (JHwBlob *)env->GetLongField(thiz, gFields.contextID);
244 // XXX Again cannot refer to gFields.constructID because InitClass may
H A Dandroid_os_HwParcel.cpp50 } gFields; member in namespace:android
135 gFields.contextID =
138 gFields.constructID = GetMethodIDOrDie(env, clazz.get(), "<init>", "(Z)V");
144 sp<JHwParcel> old = (JHwParcel *)env->GetLongField(thiz, gFields.contextID);
154 env->SetLongField(thiz, gFields.contextID, (long)context.get());
161 return (JHwParcel *)env->GetLongField(thiz, gFields.contextID);

Completed in 153 milliseconds