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.cpp129 static JNIEnv* getJNIEnv(bool* needsDetach);
157 JNIEnv* JNIImageReaderContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
158 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
159 *needsDetach = false; in getJNIEnv()
169 *needsDetach = true; in getJNIEnv()
199 bool needsDetach = false; in ~JNIImageReaderContext() local
200 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageReaderContext()
207 if (needsDetach) { in ~JNIImageReaderContext()
225 bool needsDetach = false; in onFrameAvailable() local
226 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable()
[all …]
Dandroid_media_ImageWriter.cpp99 static JNIEnv* getJNIEnv(bool* needsDetach);
235 bool needsDetach = false; in ~JNIImageWriterContext() local
236 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageWriterContext()
243 if (needsDetach) { in ~JNIImageWriterContext()
251 JNIEnv* JNIImageWriterContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
253 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
254 *needsDetach = false; in getJNIEnv()
264 *needsDetach = true; in getJNIEnv()
280 bool needsDetach = false; in onBufferReleased() local
281 JNIEnv* env = getJNIEnv(&needsDetach); in onBufferReleased()
[all …]