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

/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp256 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { member in namespace:android
276 for (int i = 0; i < NELEM(gFields); ++i) {
277 *gFields[i].id = env->GetFieldID(
278 *gFields[i].c, gFields[i].name, gFields[i].ft);
279 if (*gFields[i].id == NULL) {
280 ALOGE("Can't find field: %s\n", gFields[i].name);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp64 static fields_t gFields; member in namespace:android
281 sp<JMediaCodec> old = (JMediaCodec *)env->GetIntField(thiz, gFields.context);
288 env->SetIntField(thiz, gFields.context, (int)codec.get());
294 return (JMediaCodec *)env->GetIntField(thiz, gFields.context);
484 env->GetIntField(cryptoInfoObj, gFields.cryptoInfoNumSubSamplesID);
488 cryptoInfoObj, gFields.cryptoInfoNumBytesOfClearDataID);
492 cryptoInfoObj, gFields.cryptoInfoNumBytesOfEncryptedDataID);
495 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoKeyID);
498 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoIVID);
500 jint mode = env->GetIntField(cryptoInfoObj, gFields
[all...]
H A Dandroid_media_MediaCrypto.cpp38 static fields_t gFields; member in namespace:android
41 return (JCrypto *)env->GetIntField(thiz, gFields.context);
149 sp<JCrypto> old = (JCrypto *)env->GetIntField(thiz, gFields.context);
156 env->SetIntField(thiz, gFields.context, (int)crypto.get());
169 gFields.context = env->GetFieldID(clazz, "mNativeContext", "I");
170 CHECK(gFields.context != NULL);
H A Dandroid_media_MediaExtractor.cpp45 static fields_t gFields; member in namespace:android
289 (JMediaExtractor *)env->GetIntField(thiz, gFields.context);
297 env->SetIntField(thiz, gFields.context, (int)extractor.get());
303 return (JMediaExtractor *)env->GetIntField(thiz, gFields.context);
596 gFields.cryptoInfoSetID,
611 gFields.context = env->GetFieldID(clazz, "mNativeContext", "I");
612 CHECK(gFields.context != NULL);
617 gFields.cryptoInfoSetID =

Completed in 64 milliseconds