Home
last modified time | relevance | path

Searched refs:mImgReaderAnw (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp36 if (mImgReaderAnw) { in ~ImageReaderHelper()
43 if (mImgReader != nullptr || mImgReaderAnw != nullptr) { in initImageReader()
45 mImgReader, mImgReaderAnw); in initImageReader()
63 ret = AImageReader_getWindow(mImgReader, &mImgReaderAnw); in initImageReader()
64 if (ret != AMEDIA_OK || mImgReaderAnw == nullptr) { in initImageReader()
67 ret, mImgReaderAnw); in initImageReader()
DImageReaderTestHelpers.h38 ANativeWindow *getNativeWindow() { return mImgReaderAnw; } in getNativeWindow()
58 ANativeWindow *mImgReaderAnw{nullptr};
DCameraTestHelpers.cpp36 mImgReaderAnw = imgReaderAnw; in initCamera()
88 ret = ACaptureSessionOutput_create(mImgReaderAnw, &mImgReaderOutput); in initCamera()
112 ret = ACameraOutputTarget_create(mImgReaderAnw, &mReqImgReaderOutput); in initCamera()
DCameraTestHelpers.h63 ANativeWindow *mImgReaderAnw{nullptr}; // not owned by us.
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp71 CameraHelper(ANativeWindow* imgReaderAnw) : mImgReaderAnw(imgReaderAnw) {} in CameraHelper()
75 if (mImgReaderAnw == nullptr) { in initCamera()
128 ret = ACaptureSessionOutput_create(mImgReaderAnw, &mImgReaderOutput); in initCamera()
150 ret = ACameraOutputTarget_create(mImgReaderAnw, &mReqImgReaderOutput); in initCamera()
244 ANativeWindow* mImgReaderAnw = nullptr; // not owned by us. member in __anond2bb31fa0111::CameraHelper
280 if (mImgReaderAnw) { in ~ImageReaderTestCase()
287 if (mImgReader != nullptr || mImgReaderAnw != nullptr) { in initImageReader()
289 mImgReaderAnw); in initImageReader()
312 ret = AImageReader_getWindow(mImgReader, &mImgReaderAnw); in initImageReader()
313 if (ret != AMEDIA_OK || mImgReaderAnw == nullptr) { in initImageReader()
[all …]
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp586 mImgReaderAnw = nullptr; in resetCamera()
711 if (mImgReader || mImgReaderAnw) { in initImageReaderWithErrorLog()
734 ret = AImageReader_getWindow(mImgReader, &mImgReaderAnw); in initImageReaderWithErrorLog()
739 if (mImgReaderAnw == nullptr) { in initImageReaderWithErrorLog()
777 ret = ACaptureSessionOutput_create(mImgReaderAnw, &mImgReaderOutput); in createCaptureSessionWithLog()
901 ret = ACameraOutputTarget_create(mImgReaderAnw, &mReqImgReaderOutput); in createRequestsWithErrorLog()
1107 ANativeWindow* mImgReaderAnw = nullptr; member in PreviewTestCase