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.cpp281 AImageReader_delete(mImgReader); in ~ImageReaderTestCase()
287 if (mImgReader != nullptr || mImgReaderAnw != nullptr) { in initImageReader()
288 ALOGE("Cannot re-initalize image reader, mImgReader=%p, mImgReaderAnw=%p", mImgReader, in initImageReader()
294 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
295 if (ret != AMEDIA_OK || mImgReader == nullptr) { in initImageReader()
296 ALOGE("Failed to create new AImageReader, ret=%d, mImgReader=%p", ret, mImgReader); in initImageReader()
300 ret = AImageReader_setImageListener(mImgReader, &mReaderAvailableCb); in initImageReader()
306 ret = AImageReader_setBufferRemovedListener(mImgReader, &mReaderDetachedCb); in initImageReader()
312 ret = AImageReader_getWindow(mImgReader, &mImgReaderAnw); in initImageReader()
453 AImageReader* mImgReader = nullptr; member in __anond2bb31fa0111::ImageReaderTestCase
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp583 if (mImgReader) { in resetCamera()
584 AImageReader_delete(mImgReader); in resetCamera()
587 mImgReader = nullptr; in resetCamera()
711 if (mImgReader || mImgReaderAnw) { in initImageReaderWithErrorLog()
718 maxImages, &mImgReader); in initImageReaderWithErrorLog()
723 if (mImgReader == nullptr) { in initImageReaderWithErrorLog()
728 ret = AImageReader_setImageListener(mImgReader, listener); in initImageReaderWithErrorLog()
734 ret = AImageReader_getWindow(mImgReader, &mImgReaderAnw); in initImageReaderWithErrorLog()
1106 AImageReader* mImgReader = nullptr; member in PreviewTestCase