Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp133 static JNIEnv* getJNIEnv(bool* needsDetach);
161 JNIEnv* JNIImageReaderContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
162 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
163 *needsDetach = false; in getJNIEnv()
173 *needsDetach = true; in getJNIEnv()
203 bool needsDetach = false; in ~JNIImageReaderContext() local
204 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageReaderContext()
211 if (needsDetach) { in ~JNIImageReaderContext()
230 bool needsDetach = false; in onFrameAvailable() local
231 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable()
[all …]
Dandroid_media_ImageWriter.cpp102 static JNIEnv* getJNIEnv(bool* needsDetach);
239 bool needsDetach = false; in ~JNIImageWriterContext() local
240 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNIImageWriterContext()
247 if (needsDetach) { in ~JNIImageWriterContext()
255 JNIEnv* JNIImageWriterContext::getJNIEnv(bool* needsDetach) { in getJNIEnv() argument
257 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
258 *needsDetach = false; in getJNIEnv()
268 *needsDetach = true; in getJNIEnv()
284 bool needsDetach = false; in onBufferReleased() local
285 JNIEnv* env = getJNIEnv(&needsDetach); in onBufferReleased()
[all …]