Lines Matching refs:gFields
70 static fields_t gFields;
331 sp<JMediaCodec> old = (JMediaCodec *)env->GetIntField(thiz, gFields.context);
338 env->SetIntField(thiz, gFields.context, (int)codec.get());
344 return (JMediaCodec *)env->GetIntField(thiz, gFields.context);
578 env->GetIntField(cryptoInfoObj, gFields.cryptoInfoNumSubSamplesID);
582 gFields.cryptoInfoNumBytesOfClearDataID);
586 cryptoInfoObj, gFields.cryptoInfoNumBytesOfEncryptedDataID);
589 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoKeyID);
592 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoIVID);
594 jint mode = env->GetIntField(cryptoInfoObj, gFields.cryptoInfoModeID);
888 gFields.context = env->GetFieldID(clazz.get(), "mNativeContext", "I");
889 CHECK(gFields.context != NULL);
894 gFields.cryptoInfoNumSubSamplesID =
896 CHECK(gFields.cryptoInfoNumSubSamplesID != NULL);
898 gFields.cryptoInfoNumBytesOfClearDataID =
900 CHECK(gFields.cryptoInfoNumBytesOfClearDataID != NULL);
902 gFields.cryptoInfoNumBytesOfEncryptedDataID =
904 CHECK(gFields.cryptoInfoNumBytesOfEncryptedDataID != NULL);
906 gFields.cryptoInfoKeyID = env->GetFieldID(clazz.get(), "key", "[B");
907 CHECK(gFields.cryptoInfoKeyID != NULL);
909 gFields.cryptoInfoIVID = env->GetFieldID(clazz.get(), "iv", "[B");
910 CHECK(gFields.cryptoInfoIVID != NULL);
912 gFields.cryptoInfoModeID = env->GetFieldID(clazz.get(), "mode", "I");
913 CHECK(gFields.cryptoInfoModeID != NULL);