Home
last modified time | relevance | path

Searched refs:mImageReader (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/media/projection/sdk34/src/android/media/projection/
DMediaProjectionSDK34Test.java68 private ImageReader mImageReader; field in MediaProjectionSDK34Test
144 mImageReader = ImageReader.newInstance(RECORDING_WIDTH, RECORDING_HEIGHT, in testCreateVirtualDisplay_reusedResultData_throwsException()
153 mImageReader.getSurface(), in testCreateVirtualDisplay_reusedResultData_throwsException()
187 mImageReader.getSurface(), in testCreateVirtualDisplay_reusedMediaProjection_throwsException()
199 mImageReader = ImageReader.newInstance(RECORDING_WIDTH, RECORDING_HEIGHT, in createVirtualDisplay()
204 mImageReader.getSurface(), in createVirtualDisplay()
218 if (mImageReader != null) { in cleanupVirtualDisplay()
219 mImageReader.close(); in cleanupVirtualDisplay()
220 mImageReader = null; in cleanupVirtualDisplay()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java56 private ImageReader mImageReader; field in SurfacePixelValidator2
73 if (mImageReader == null) {
144 mImageReader = ImageReader.newInstance(mWidth, mHeight, HardwareBuffer.RGBA_8888, 1, in SurfacePixelValidator2()
147 mImageReader.setOnImageAvailableListener(mOnImageAvailable, mHandler); in SurfacePixelValidator2()
151 return mImageReader.getSurface(); in getSurface()
171 mImageReader.close(); in finish()
172 mImageReader = null; in finish()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_CameraGpuCtsActivity.cpp95 : mImageReader(kTestImageWidth, kTestImageHeight, kTestImageFormat, kTestImageUsage, in CameraFrameRenderer()
114 int ret = mImageReader.initImageReader(); in initRenderer()
120 ret = mCamera.initCamera(mImageReader.getNativeWindow()); in initRenderer()
197 ret = mImageReader.getBufferFromCurrentImage(&buffer); in drawFrame()
278 ImageReaderHelper mImageReader; member in __anondb91f7220111::CameraFrameRenderer
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionTest.java82 private ImageReader mImageReader; field in MediaProjectionTest
262 mImageReader = ImageReader.newInstance(RECORDING_WIDTH, RECORDING_HEIGHT, in createVirtualDisplay()
267 mImageReader.getSurface(), in createVirtualDisplay()
281 if (mImageReader != null) { in cleanupVirtualDisplay()
282 mImageReader.close(); in cleanupVirtualDisplay()
283 mImageReader = null; in cleanupVirtualDisplay()
DMediaProjectionMirroringTest.java118 private ImageReader mImageReader; field in MediaProjectionMirroringTest
156 if (mImageReader != null) { in tearDown()
157 mImageReader = null; in tearDown()
281 mImageReader = ImageReader.newInstance(displayBounds.width(), displayBounds.height(), in createVirtualDisplay()
286 mImageReader.setOnImageAvailableListener(screenshotListener, in createVirtualDisplay()
294 mImageReader.getSurface(), /* callback= */ in createVirtualDisplay()
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/
DMediaProjectionSDK33Test.java90 private ImageReader mImageReader; field in MediaProjectionSDK33Test
95 cleanupImageReader(mImageReader);
170 mImageReader = ImageReader.newInstance(RECORDING_WIDTH, RECORDING_HEIGHT, in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
172 mImageReader.setOnImageAvailableListener((ImageReader imageReader) -> in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
180 mImageReader.getSurface(), in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
271 mImageReader = ImageReader.newInstance(RECORDING_WIDTH, RECORDING_HEIGHT, in createVirtualDisplay()
276 mImageReader.getSurface(), /* callback= */ null, in createVirtualDisplay()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java119 private ImageReader mImageReader; field in VirtualDisplayTest
161 mImageReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in setUp()
162 mImageReader.setOnImageAvailableListener(mImageListener, mCheckHandler); in setUp()
163 mSurface = mImageReader.getSurface(); in setUp()
173 mImageReader.close(); in tearDown()
174 mImageReader = null; in tearDown()
667 if (reader != mImageReader) { in onImageAvailable()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainVisualQueryDetectionService.java101 private ImageReader mImageReader; field in MainVisualQueryDetectionService
429 mImageReader = ImageReader.newInstance(width, height, ImageFormat.JPEG, 2); in initializeImageReader()
431 mImageReader.setOnImageAvailableListener(readerListener, mCameraBackgroundHandler); in initializeImageReader()
438 Surface imageSurface = mImageReader.getSurface(); in createCameraPreview()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityDisplayProxyTest.java262 private ImageReader mImageReader; field in AccessibilityDisplayProxyTest
374 if (mImageReader != null) { in tearDown()
375 mImageReader.close(); in tearDown()
1672 mImageReader = ImageReader.newInstance(/* width= */ VIRTUAL_DISPLAY_WIDTH, in createVirtualDeviceAndLaunchVirtualDisplay()
1677 "VirtualDisplay", mImageReader.getWidth(), mImageReader.getHeight(), in createVirtualDeviceAndLaunchVirtualDisplay()
1679 .setSurface(mImageReader.getSurface()) in createVirtualDeviceAndLaunchVirtualDisplay()