Lines Matching refs:gFields
115 static fields_t gFields; variable
768 gFields.postEventFromNativeID, in handleCallback()
792 mObject, gFields.postEventFromNativeID, in handleFrameRenderedNotification()
823 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context); in setMediaCodec()
836 env->SetLongField(thiz, gFields.context, (jlong)codec.get()); in setMediaCodec()
842 return (JMediaCodec *)env->GetLongField(thiz, gFields.context); in getMediaCodec()
1299 env->GetIntField(cryptoInfoObj, gFields.cryptoInfoNumSubSamplesID); in android_media_MediaCodec_queueSecureInputBuffer()
1303 cryptoInfoObj, gFields.cryptoInfoNumBytesOfClearDataID); in android_media_MediaCodec_queueSecureInputBuffer()
1307 cryptoInfoObj, gFields.cryptoInfoNumBytesOfEncryptedDataID); in android_media_MediaCodec_queueSecureInputBuffer()
1310 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoKeyID); in android_media_MediaCodec_queueSecureInputBuffer()
1313 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoIVID); in android_media_MediaCodec_queueSecureInputBuffer()
1315 jint jmode = env->GetIntField(cryptoInfoObj, gFields.cryptoInfoModeID); in android_media_MediaCodec_queueSecureInputBuffer()
1328 jobject patternObj = env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoPatternID); in android_media_MediaCodec_queueSecureInputBuffer()
1335 pattern.mEncryptBlocks = env->GetIntField(patternObj, gFields.patternEncryptBlocksID); in android_media_MediaCodec_queueSecureInputBuffer()
1336 pattern.mSkipBlocks = env->GetIntField(patternObj, gFields.patternSkipBlocksID); in android_media_MediaCodec_queueSecureInputBuffer()
1741 gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "J"); in android_media_MediaCodec_native_init()
1742 CHECK(gFields.context != NULL); in android_media_MediaCodec_native_init()
1744 gFields.postEventFromNativeID = in android_media_MediaCodec_native_init()
1748 CHECK(gFields.postEventFromNativeID != NULL); in android_media_MediaCodec_native_init()
1769 gFields.cryptoInfoNumSubSamplesID = in android_media_MediaCodec_native_init()
1771 CHECK(gFields.cryptoInfoNumSubSamplesID != NULL); in android_media_MediaCodec_native_init()
1773 gFields.cryptoInfoNumBytesOfClearDataID = in android_media_MediaCodec_native_init()
1775 CHECK(gFields.cryptoInfoNumBytesOfClearDataID != NULL); in android_media_MediaCodec_native_init()
1777 gFields.cryptoInfoNumBytesOfEncryptedDataID = in android_media_MediaCodec_native_init()
1779 CHECK(gFields.cryptoInfoNumBytesOfEncryptedDataID != NULL); in android_media_MediaCodec_native_init()
1781 gFields.cryptoInfoKeyID = env->GetFieldID(clazz.get(), "key", "[B"); in android_media_MediaCodec_native_init()
1782 CHECK(gFields.cryptoInfoKeyID != NULL); in android_media_MediaCodec_native_init()
1784 gFields.cryptoInfoIVID = env->GetFieldID(clazz.get(), "iv", "[B"); in android_media_MediaCodec_native_init()
1785 CHECK(gFields.cryptoInfoIVID != NULL); in android_media_MediaCodec_native_init()
1787 gFields.cryptoInfoModeID = env->GetFieldID(clazz.get(), "mode", "I"); in android_media_MediaCodec_native_init()
1788 CHECK(gFields.cryptoInfoModeID != NULL); in android_media_MediaCodec_native_init()
1790 gFields.cryptoInfoPatternID = env->GetFieldID(clazz.get(), "pattern", in android_media_MediaCodec_native_init()
1792 CHECK(gFields.cryptoInfoPatternID != NULL); in android_media_MediaCodec_native_init()
1797 gFields.patternEncryptBlocksID = env->GetFieldID(clazz.get(), "mEncryptBlocks", "I"); in android_media_MediaCodec_native_init()
1798 CHECK(gFields.patternEncryptBlocksID != NULL); in android_media_MediaCodec_native_init()
1800 gFields.patternSkipBlocksID = env->GetFieldID(clazz.get(), "mSkipBlocks", "I"); in android_media_MediaCodec_native_init()
1801 CHECK(gFields.patternSkipBlocksID != NULL); in android_media_MediaCodec_native_init()