Home
last modified time | relevance | path

Searched refs:fEnv (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dandroid_nio_utils.cpp24 : fEnv(env), fCommit(commit) { in AutoBufferPointer()
25 jlong pointer = jniGetNioBufferPointer(fEnv, nioBuffer); in AutoBufferPointer()
33 jint byteOffset = jniGetNioBufferBaseArrayOffset(fEnv, nioBuffer); in AutoBufferPointer()
34 fArray = jniGetNioBufferBaseArray(fEnv, nioBuffer); in AutoBufferPointer()
35 fElements = fEnv->GetPrimitiveArrayCritical(fArray, /* isCopy= */ nullptr); in AutoBufferPointer()
42 fEnv->ReleasePrimitiveArrayCritical(fArray, fElements, fCommit ? 0 : JNI_ABORT); in ~AutoBufferPointer()
Dandroid_nio_utils.h60 JNIEnv* const fEnv;
/frameworks/base/core/jni/android/graphics/
DCreateJavaOutputStreamAdaptor.cpp218 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage), fBytesWritten(0) { in SkJavaOutputStream()
227 JNIEnv* env = fEnv; in write()
249 fEnv->CallVoidMethod(fJavaOutputStream, gOutputStream_writeMethodID, in write()
266 fEnv->CallVoidMethod(fJavaOutputStream, gOutputStream_flushMethodID); in flush()
270 JNIEnv* fEnv; member in SkJavaOutputStream
DGraphicsJNI.h242 JNIEnv* fEnv;
258 JNIEnv* fEnv;
274 JNIEnv* fEnv;
290 JNIEnv* fEnv;
DGraphics.cpp61 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaFloatArray()
75 fEnv->ReleaseFloatArrayElements(fArray, fPtr, fReleaseMode); in ~AutoJavaFloatArray()
81 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaIntArray()
94 fEnv->ReleaseIntArrayElements(fArray, fPtr, 0); in ~AutoJavaIntArray()
100 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaShortArray()
114 fEnv->ReleaseShortArrayElements(fArray, fPtr, fReleaseMode); in ~AutoJavaShortArray()
120 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaByteArray()
133 fEnv->ReleaseByteArrayElements(fArray, fPtr, 0); in ~AutoJavaByteArray()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp533 float fEnv = (1.0 - fTheta) * fEnergySum + fTheta * pMbcBandParams->previousEnvelope; in processFirstStages() local
535 pMbcBandParams->previousEnvelope = fEnv; in processFirstStages()
537 if (fEnv < MIN_ENVELOPE) { in processFirstStages()
538 fEnv = MIN_ENVELOPE; in processFirstStages()
540 const float envDb = linearToDb(fEnv); in processFirstStages()
604 float fEnv = (1.0 - fTheta) * fEnergySum + fTheta * cb.mLimiterParams.previousEnvelope; in processFirstStages() local
606 cb.mLimiterParams.previousEnvelope = fEnv; in processFirstStages()
608 const float envDb = linearToDb(fEnv); in processFirstStages()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp217 AutoJavaStringToUTF8(JNIEnv* env, jstring str) : fEnv(env), fJStr(str) { in AutoJavaStringToUTF8()
222 fEnv->ReleaseStringUTFChars(fJStr, fCStr); in ~AutoJavaStringToUTF8()
228 JNIEnv* fEnv; member in AutoJavaStringToUTF8
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp253 AutoJavaStringToUTF8(JNIEnv* env, jstring str) : fEnv(env), fJStr(str) { in AutoJavaStringToUTF8()
258 fEnv->ReleaseStringUTFChars(fJStr, fCStr); in ~AutoJavaStringToUTF8()
264 JNIEnv* fEnv; member in AutoJavaStringToUTF8