Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp152 static JNIEnv* getJNIEnv(bool* needsDetach);
165 JNIEnv* JNISurfaceTextureContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
166 *needsDetach = false; in getJNIEnv()
177 *needsDetach = true; in getJNIEnv()
192 bool needsDetach = false; in ~JNISurfaceTextureContext() local
193 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNISurfaceTextureContext()
200 if (needsDetach) { in ~JNISurfaceTextureContext()
207 bool needsDetach = false; in onFrameAvailable() local
208 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable()
214 if (needsDetach) { in onFrameAvailable()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp111 static JNIEnv* getJNIEnv(bool* needsDetach);
139 JNIEnv* JNIImageReaderContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
140 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
141 *needsDetach = false; in getJNIEnv()
151 *needsDetach = true; in getJNIEnv()
180 bool needsDetach = false; in ~JNIImageReaderContext() local
181 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageReaderContext()
188 if (needsDetach) { in ~JNIImageReaderContext()
206 bool needsDetach = false; in onFrameAvailable() local
207 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable()
[all …]
Dandroid_media_ImageWriter.cpp82 static JNIEnv* getJNIEnv(bool* needsDetach);
103 bool needsDetach = false; in ~JNIImageWriterContext() local
104 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageWriterContext()
111 if (needsDetach) { in ~JNIImageWriterContext()
118 JNIEnv* JNIImageWriterContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
120 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
121 *needsDetach = false; in getJNIEnv()
131 *needsDetach = true; in getJNIEnv()
147 bool needsDetach = false; in onBufferReleased() local
148 JNIEnv* env = getJNIEnv(&needsDetach); in onBufferReleased()
[all …]