Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_graphics_SurfaceTexture.cpp150 static JNIEnv* getJNIEnv(bool* needsDetach);
163 JNIEnv* JNISurfaceTextureContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
164 *needsDetach = false; in getJNIEnv()
175 *needsDetach = true; in getJNIEnv()
190 bool needsDetach = false; in ~JNISurfaceTextureContext() local
191 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNISurfaceTextureContext()
198 if (needsDetach) { in ~JNISurfaceTextureContext()
205 bool needsDetach = false; in onFrameAvailable() local
206 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable()
212 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.cpp98 static JNIEnv* getJNIEnv(bool* needsDetach);
234 bool needsDetach = false; in ~JNIImageWriterContext() local
235 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageWriterContext()
242 if (needsDetach) { in ~JNIImageWriterContext()
250 JNIEnv* JNIImageWriterContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
252 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
253 *needsDetach = false; in getJNIEnv()
263 *needsDetach = true; in getJNIEnv()
279 bool needsDetach = false; in onBufferReleased() local
280 JNIEnv* env = getJNIEnv(&needsDetach); in onBufferReleased()
[all …]