/cts/libs/input/src/com/android/cts/input/ |
D | HidDevice.java | 52 mReader.beginObject(); in readResults() 54 while (mReader.hasNext()) { in readResults() 55 String fieldName = mReader.nextName(); in readResults() 57 result.eventId = Byte.decode(mReader.nextString()); in readResults() 60 result.deviceId = Integer.decode(mReader.nextString()); in readResults() 63 result.reportType = Byte.decode(mReader.nextString()); in readResults() 69 mReader.endObject(); in readResults()
|
D | UinputDevice.java | 51 mReader.beginObject(); in readResults() 53 while (mReader.hasNext()) { in readResults() 54 String fieldName = mReader.nextName(); in readResults() 56 result.reason = mReader.nextString(); in readResults() 59 result.deviceId = Integer.decode(mReader.nextString()); in readResults() 62 result.status = Integer.decode(mReader.nextString()); in readResults() 65 mReader.endObject(); in readResults()
|
D | VirtualInputDevice.java | 65 protected JsonReader mReader; field in VirtualInputDevice 97 while (mReader.peek() != JsonToken.END_DOCUMENT) { in VirtualInputDevice() 115 mReader.beginArray(); in readData() 116 while (mReader.hasNext()) { in readData() 117 data.add(Integer.decode(mReader.nextString())); in readData() 119 mReader.endArray(); in readData() 121 mReader.endArray(); in readData() 208 mReader = new JsonReader(new InputStreamReader(mInputStream, "UTF-8")); in setupPipes() 212 mReader.setLenient(true); in setupPipes()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 50 private ImageReader mReader; field in DisplayUtils.VirtualDisplaySession 54 if (mReader != null) { in createDisplay() 58 mReader = ImageReader.newInstance(width, height, PixelFormat.RGBA_8888, in createDisplay() 63 "A11yDisplay", width, height, density, mReader.getSurface(), flags); in createDisplay() 72 if (mReader != null) { in close() 73 mReader.close(); in close()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | BufferedReaderLineSpliterator.java | 18 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/ |
D | VirtualDisplayHelper.java | 55 private ImageReader mReader; field in VirtualDisplayHelper 89 mVirtualDisplay.setSurface(mReader.getSurface()); in turnDisplayOn() 96 mReader.close(); in releaseDisplay() 103 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in createVirtualDisplay() 126 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, mReader.getSurface(), flags); in createVirtualDisplay()
|
D | WindowFocusTests.java | 527 private final ImageReader mReader; field in WindowFocusTests.InvisibleVirtualDisplaySession 531 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, in InvisibleVirtualDisplaySession() 535 WIDTH, HEIGHT, DENSITY, mReader.getSurface(), in InvisibleVirtualDisplaySession() 553 if (mReader != null) { in close() 554 mReader.close(); in close()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2AndroidTestCase.java | 81 protected ImageReader mReader; field in Camera2AndroidTestCase 349 mReader = createImageReader(size, format, maxNumImages, listener); in createDefaultImageReader() 350 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 374 mReader = createImageReader(size, format, maxNumImages, usage, listener); in createDefaultImageReader() 375 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 429 closeImageReader(mReader); in closeDefaultImageReader() 430 mReader = null; in closeDefaultImageReader() 476 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
|
D | Camera2AndroidTestRule.java | 79 private ImageReader mReader; field in Camera2AndroidTestRule 162 return mReader; in getReader() 461 mReader = createImageReader(size, format, maxNumImages, listener); in createDefaultImageReader() 462 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 486 mReader = createImageReader(size, format, maxNumImages, usage, listener); in createDefaultImageReader() 487 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 541 closeImageReader(mReader); in closeDefaultImageReader() 542 mReader = null; in closeDefaultImageReader() 580 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
|
D | Camera2SurfaceViewTestCase.java | 109 protected ImageReader mReader; field in Camera2SurfaceViewTestCase 549 mReader = r; in createImageReader() 557 CameraTestUtils.closeImageReader(mReader); in closeImageReader() 558 mReader = null; in closeImageReader()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | AndroidManifestParser.java | 39 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/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ProjectionOffscreenActivity.java | 65 protected ImageReader mReader; field in ProjectionOffscreenActivity 135 mService.startRendering(mReader.getSurface(), WIDTH, HEIGHT, DENSITY, 176 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); in onCreate() 178 mReader.setOnImageAvailableListener(this, null); in onCreate() 197 mReader.close(); in onDestroy()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 268 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera() 290 mReader.getImageFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera() 294 mReader.getImageFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera() 385 mReader.close(); in readerWriterFormatTestByCamera() 386 mReader = null; in readerWriterFormatTestByCamera()
|
D | ImageReaderTest.java | 1016 img = mReader.acquireNextImage(); in invalidAccessTestAfterClose() 1049 mReader.discardFreeBuffers(); in discardFreeBuffersTestByCamera() 1061 Image img = mReader.acquireLatestImage(); in discardFreeBuffersTestByCamera() 1065 mReader.discardFreeBuffers(); in discardFreeBuffersTestByCamera() 1139 mReader.setOnImageAvailableListener(imageDropperListener, mHandler); in bufferFormatTestByCamera() 1149 OutputConfiguration config = new OutputConfiguration(mReader.getSurface()); in bufferFormatTestByCamera() 1204 outputSurfaces.add(mReader.getSurface()); in bufferFormatLongProcessingTimeTestByCamera() 1226 Image img = mReader.acquireNextImage(); in bufferFormatLongProcessingTimeTestByCamera() 1263 mReader.setOnImageAvailableListener(imageDropperListener, mHandler); in bufferFormatLongProcessingTimeTestByCamera() 1264 Image img = mReader.acquireLatestImage(); in bufferFormatLongProcessingTimeTestByCamera() [all …]
|
D | ZoomCaptureTest.java | 123 OutputConfiguration config = new OutputConfiguration(mReader.getSurface()); in bufferFormatZoomTestByCamera() 146 Image img = mReader.acquireNextImage(); in bufferFormatZoomTestByCamera()
|
D | RecordingTest.java | 1716 mReader.setOnImageAvailableListener(imageListener, mHandler); in prepareVideoSnapshot()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 95 private ImageReader mReader; field in ImageReaderDecoderTest 866 mReader = ImageReader.newInstance(width, height, format, maxNumImages); in createImageReader() 867 mReaderSurface = mReader.getSurface(); in createImageReader() 868 mReader.setOnImageAvailableListener(listener, mHandler); in createImageReader() 879 if (mReader != null) { in closeImageReader() 882 Image image = mReader.acquireLatestImage(); in closeImageReader() 887 mReader.close(); in closeImageReader() 888 mReader = null; in closeImageReader()
|