Home
last modified time | relevance | path

Searched refs:needsDetach (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp156 static JNIEnv* getJNIEnv(bool* needsDetach);
169 JNIEnv* JNISurfaceTextureContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
170 *needsDetach = false; in getJNIEnv()
181 *needsDetach = true; in getJNIEnv()
196 bool needsDetach = false; in ~JNISurfaceTextureContext() local
197 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNISurfaceTextureContext()
204 if (needsDetach) { in ~JNISurfaceTextureContext()
211 bool needsDetach = false; in onFrameAvailable() local
212 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable()
218 if (needsDetach) { in onFrameAvailable()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp121 static JNIEnv* getJNIEnv(bool* needsDetach);
149 JNIEnv* JNIImageReaderContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
150 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
151 *needsDetach = false; in getJNIEnv()
161 *needsDetach = true; in getJNIEnv()
191 bool needsDetach = false; in ~JNIImageReaderContext() local
192 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageReaderContext()
199 if (needsDetach) { in ~JNIImageReaderContext()
217 bool needsDetach = false; in onFrameAvailable() local
218 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable()
[all …]
Dandroid_media_ImageWriter.cpp90 static JNIEnv* getJNIEnv(bool* needsDetach);
221 bool needsDetach = false; in ~JNIImageWriterContext() local
222 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageWriterContext()
229 if (needsDetach) { in ~JNIImageWriterContext()
237 JNIEnv* JNIImageWriterContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
239 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
240 *needsDetach = false; in getJNIEnv()
250 *needsDetach = true; in getJNIEnv()
266 bool needsDetach = false; in onBufferReleased() local
267 JNIEnv* env = getJNIEnv(&needsDetach); in onBufferReleased()
[all …]