Home
last modified time | relevance | path

Searched refs:mReader (Results 1 – 12 of 12) sorted by relevance

/cts/tests/signature/lib/common/src/android/signature/cts/
DBufferedReaderLineSpliterator.java18 private final BufferedReader mReader; field in BufferedReaderLineSpliterator
24 mReader = reader; in BufferedReaderLineSpliterator()
32 mReader = reader; in BufferedReaderLineSpliterator()
55 String line = mReader.readLine(); in nextLine()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DVirtualDisplayHelper.java59 private ImageReader mReader; field in VirtualDisplayHelper
98 mVirtualDisplay.setSurface(mReader.getSurface()); in turnDisplayOn()
108 mReader.close(); in releaseDisplay()
118 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in createVirtualDisplay()
141 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, mReader.getSurface(), flags); in createVirtualDisplay()
DWindowFocusTests.java500 private ImageReader mReader; field in WindowFocusTests.VirtualDisplaySession
503 if (mReader != null) { in createDisplay()
507 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, in createDisplay()
510 "CtsDisplay", WIDTH, HEIGHT, DENSITY, mReader.getSurface(), in createDisplay()
520 if (mReader != null) { in close()
521 mReader.close(); in close()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java75 protected ImageReader mReader; field in Camera2AndroidTestCase
342 mReader = createImageReader(size, format, maxNumImages, listener); in createDefaultImageReader()
343 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
367 mReader = createImageReader(size, format, maxNumImages, usage, listener); in createDefaultImageReader()
368 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
422 closeImageReader(mReader); in closeDefaultImageReader()
423 mReader = null; in closeDefaultImageReader()
461 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
DCamera2SurfaceViewTestCase.java102 protected ImageReader mReader; field in Camera2SurfaceViewTestCase
561 mReader = r; in createImageReader()
569 CameraTestUtils.closeImageReader(mReader); in closeImageReader()
570 mReader = null; in closeImageReader()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java65 protected ImageReader mReader; field in ProjectionOffscreenActivity
131 mService.startRendering(mReader.getSurface(), WIDTH, HEIGHT, DENSITY,
172 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in onCreate()
173 mReader.setOnImageAvailableListener(this, null); in onCreate()
192 mReader.close(); in onDestroy()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DAndroidManifestParser.java39 private BufferedReader mReader; field in AndroidManifestParser
84 mReader = new BufferedReader(new InputStreamReader(process.getInputStream())); in processManifest()
100 while ((line = mReader.readLine()) != null) { in parseElement()
120 while ((line = mReader.readLine()) != null) { in parseElementItem()
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageWriterTest.java222 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera()
244 mReader.getImageFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera()
248 mReader.getImageFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera()
334 mReader.close(); in readerWriterFormatTestByCamera()
335 mReader = null; in readerWriterFormatTestByCamera()
DImageReaderTest.java950 img = mReader.acquireNextImage(); in invalidAccessTestAfterClose()
983 mReader.discardFreeBuffers(); in discardFreeBuffersTestByCamera()
1081 outputSurfaces.add(mReader.getSurface()); in bufferFormatLongProcessingTimeTestByCamera()
1103 Image img = mReader.acquireNextImage(); in bufferFormatLongProcessingTimeTestByCamera()
1140 mReader.setOnImageAvailableListener(imageDropperListener, mHandler); in bufferFormatLongProcessingTimeTestByCamera()
1141 Image img = mReader.acquireLatestImage(); in bufferFormatLongProcessingTimeTestByCamera()
1193 if (mReader != reader) { in onImageAvailable()
1210 Image image = mReader.acquireLatestImage(); in closePendingImages()
1233 img = mReader.acquireLatestImage(); in validateImage()
1244 img = mReader.acquireNextImage(); in validateImage()
DPerformanceTest.java168 mReader.setOnImageAvailableListener(imageListener, mHandler); in testCameraLaunch()
DRecordingTest.java1471 mReader.setOnImageAvailableListener(imageListener, mHandler); in prepareVideoSnapshot()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java90 private ImageReader mReader; field in ImageReaderDecoderTest
847 mReader = ImageReader.newInstance(width, height, format, maxNumImages); in createImageReader()
848 mReaderSurface = mReader.getSurface(); in createImageReader()
849 mReader.setOnImageAvailableListener(listener, mHandler); in createImageReader()
860 if (mReader != null) { in closeImageReader()
863 Image image = mReader.acquireLatestImage(); in closeImageReader()
868 mReader.close(); in closeImageReader()
869 mReader = null; in closeImageReader()