Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp64 static fields_t gFields; variable
278 sp<JMediaCodec> old = (JMediaCodec *)env->GetIntField(thiz, gFields.context); in setMediaCodec()
285 env->SetIntField(thiz, gFields.context, (int)codec.get()); in setMediaCodec()
291 return (JMediaCodec *)env->GetIntField(thiz, gFields.context); in getMediaCodec()
481 env->GetIntField(cryptoInfoObj, gFields.cryptoInfoNumSubSamplesID); in android_media_MediaCodec_queueSecureInputBuffer()
485 cryptoInfoObj, gFields.cryptoInfoNumBytesOfClearDataID); in android_media_MediaCodec_queueSecureInputBuffer()
489 cryptoInfoObj, gFields.cryptoInfoNumBytesOfEncryptedDataID); in android_media_MediaCodec_queueSecureInputBuffer()
492 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoKeyID); in android_media_MediaCodec_queueSecureInputBuffer()
495 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoIVID); in android_media_MediaCodec_queueSecureInputBuffer()
497 jint mode = env->GetIntField(cryptoInfoObj, gFields.cryptoInfoModeID); in android_media_MediaCodec_queueSecureInputBuffer()
[all …]
Dandroid_media_MediaCrypto.cpp38 static fields_t gFields; variable
41 return (JCrypto *)env->GetIntField(thiz, gFields.context); in getCrypto()
149 sp<JCrypto> old = (JCrypto *)env->GetIntField(thiz, gFields.context); in setCrypto()
156 env->SetIntField(thiz, gFields.context, (int)crypto.get()); in setCrypto()
169 gFields.context = env->GetFieldID(clazz, "mNativeContext", "I"); in android_media_MediaCrypto_native_init()
170 CHECK(gFields.context != NULL); in android_media_MediaCrypto_native_init()
Dandroid_media_MediaExtractor.cpp45 static fields_t gFields; variable
219 (JMediaExtractor *)env->GetIntField(thiz, gFields.context); in setMediaExtractor()
227 env->SetIntField(thiz, gFields.context, (int)extractor.get()); in setMediaExtractor()
233 return (JMediaExtractor *)env->GetIntField(thiz, gFields.context); in getMediaExtractor()
526 gFields.cryptoInfoSetID, in android_media_MediaExtractor_getSampleCryptoInfo()
541 gFields.context = env->GetFieldID(clazz, "mNativeContext", "I"); in android_media_MediaExtractor_native_init()
542 CHECK(gFields.context != NULL); in android_media_MediaExtractor_native_init()
547 gFields.cryptoInfoSetID = in android_media_MediaExtractor_native_init()
/frameworks/base/core/jni/
Dandroid_util_EventLog.cpp256 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { variable
276 for (int i = 0; i < NELEM(gFields); ++i) { in register_android_util_EventLog()
277 *gFields[i].id = env->GetFieldID( in register_android_util_EventLog()
278 *gFields[i].c, gFields[i].name, gFields[i].ft); in register_android_util_EventLog()
279 if (*gFields[i].id == NULL) { in register_android_util_EventLog()
280 ALOGE("Can't find field: %s\n", gFields[i].name); in register_android_util_EventLog()