Home
last modified time | relevance | path

Searched refs:mImgReader (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp37 AImageReader_delete(mImgReader); in ~ImageReaderHelper()
43 if (mImgReader != nullptr || mImgReaderAnw != nullptr) { in initImageReader()
45 mImgReader, mImgReaderAnw); in initImageReader()
50 mMaxImages, &mImgReader); in initImageReader()
51 if (ret != AMEDIA_OK || mImgReader == nullptr) { in initImageReader()
53 mImgReader); in initImageReader()
57 ret = AImageReader_setImageListener(mImgReader, &mReaderAvailableCb); in initImageReader()
63 ret = AImageReader_getWindow(mImgReader, &mImgReaderAnw); in initImageReader()
83 ret = AImageReader_acquireNextImage(mImgReader, &outImage); in getBufferFromCurrentImage()
DImageReaderTestHelpers.h57 AImageReader *mImgReader{nullptr};
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp282 AImageReader_delete(mImgReader); in ~ImageReaderTestCase()
288 if (mImgReader != nullptr || mImgReaderAnw != nullptr) { in initImageReader()
289 ALOGE("Cannot re-initalize image reader, mImgReader=%p, mImgReaderAnw=%p", mImgReader, in initImageReader()
295 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
296 if (ret != AMEDIA_OK || mImgReader == nullptr) { in initImageReader()
297 ALOGE("Failed to create new AImageReader, ret=%d, mImgReader=%p", ret, mImgReader); in initImageReader()
301 ret = AImageReader_setImageListener(mImgReader, &mReaderAvailableCb); in initImageReader()
307 ret = AImageReader_setBufferRemovedListener(mImgReader, &mReaderDetachedCb); in initImageReader()
313 ret = AImageReader_getWindow(mImgReader, &mImgReaderAnw); in initImageReader()
455 AImageReader* mImgReader = nullptr; member in __anond2bb31fa0111::ImageReaderTestCase
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp965 if (mImgReader) { in resetCamera()
966 AImageReader_delete(mImgReader); in resetCamera()
969 mImgReader = nullptr; in resetCamera()
1158 if (mImgReader || mImgReaderAnw) { in initImageReaderWithErrorLog()
1164 width, height, format, maxImages, listener, &mImgReader, in initImageReaderWithErrorLog()
1709 AImageReader* mImgReader = nullptr; member in PreviewTestCase