/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/ |
D | VirtualSensorDirectChannelWriterTest.java | 63 private final VirtualSensorDirectChannelWriter mWriter = new VirtualSensorDirectChannelWriter(); field in VirtualSensorDirectChannelWriterTest 67 mWriter.close(); in tearDown() 73 mWriter.configureChannel(CHANNEL_HANDLE, mAccelerometer, RATE_NORMAL, REPORT_TOKEN)) in configureChannel_rateNormal_noChannelAdded_returnsError() 80 mWriter.configureChannel(CHANNEL_HANDLE, mAccelerometer, RATE_STOP, REPORT_TOKEN)) in configureChannel_rateStop_noChannelAdded_returnsError() 88 () -> mWriter.addChannel(CHANNEL_HANDLE, /*sharedMemory=*/null)); in addChannel_nullSharedMemory_throwsException() 96 mWriter.addChannel(CHANNEL_HANDLE, sharedMemory); in removeChannel_closesSharedMemory() 97 mWriter.removeChannel(CHANNEL_HANDLE); in removeChannel_closesSharedMemory() 107 () -> mWriter.writeSensorEvent(mAccelerometer, /*event=*/null)); in writeEvent_nullEvent_throwsException() 114 () -> mWriter.writeSensorEvent(/*sensor=*/null, in writeEvent_nullSensor_throwsException() 120 assertThat(mWriter.writeSensorEvent( in writeEvent_noConfiguredChannel_returnsError() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | DataSpaceTest.java | 54 private ImageWriter mWriter; field in DataSpaceTest 111 if (mWriter != null) { in tearDown() 112 mWriter.close(); in tearDown() 113 mWriter = null; in tearDown() 145 mWriter = new ImageWriter.Builder(mSurface).build(); in getDataSpace() 152 inputImage = mWriter.dequeueInputImage(); in getDataSpace() 156 mWriter.queueInputImage(inputImage); in getDataSpace() 184 mWriter = ImageWriter.newInstance(mSurface, 1); in getDataSpaceWithoutSetDataSpace() 188 inputImage = mWriter.dequeueInputImage(); in getDataSpaceWithoutSetDataSpace() 189 mWriter.queueInputImage(inputImage); in getDataSpaceWithoutSetDataSpace() [all …]
|
/cts/hostsidetests/multiuser/dpc/src/com/android/cts/multiuser/dpc/ |
D | DpcShellCommand.java | 33 private final PrintWriter mWriter; field in DpcShellCommand 41 mWriter = writer; in DpcShellCommand() 47 mWriter.println("Missing cmd"); in run() 60 mWriter.println("Invalid command: " + cmd); in run() 64 mWriter.println("Failed to execute " + Arrays.toString(mArgs) + ": " + e); in run() 68 mWriter.println("Command succeeded!"); in run()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/ |
D | TimeUtilsTest.java | 33 private final PrintWriter mWriter = new PrintWriter(System.out); field in TimeUtilsTest 42 TimeUtils.dumpTime(mWriter, 179); in testDumpTime() 43 mWriter.flush(); in testDumpTime() 51 TimeUtils.formatDuration(789, mWriter); in testFormatDuration() 52 mWriter.flush(); in testFormatDuration()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 73 private ImageWriter mWriter; field in ImageWriterTest 81 if (mWriter != null) { in tearDown() 82 mWriter.close(); in tearDown() 83 mWriter = null; in tearDown() 465 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in readerWriterFormatTestByCamera() 467 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in readerWriterFormatTestByCamera() 469 SimpleImageWriterListener writerImageListener = new SimpleImageWriterListener(mWriter); in readerWriterFormatTestByCamera() 470 mWriter.setOnImageReleasedListener(writerImageListener, mHandler); in readerWriterFormatTestByCamera() 493 mWriter.getMaxImages() == MAX_NUM_IMAGES); in readerWriterFormatTestByCamera() 504 mWriter.getFormat() == CAMERA_PRIVATE_FORMAT); in readerWriterFormatTestByCamera() [all …]
|
D | PerformanceTest.java | 119 private ImageWriter mWriter; field in PerformanceTest 1453 mWriter.queueInputImage(inputImages[i]); 1571 mWriter.queueInputImage(inputImages[i]); 1597 mWriter.queueInputImage(inputImages[i]); 1682 CameraTestUtils.closeImageWriter(mWriter); 1683 mWriter = null; 1724 mWriter = CameraTestUtils.makeImageWriter(
|
D | MultiViewTest.java | 1011 if (image != null && mWriter != null) { in onImageAvailable() 1012 mWriter.queueInputImage(image); in onImageAvailable() 1018 mWriter = writer; in ImageWriterQueuer() 1020 private ImageWriter mWriter = null; field in MultiViewTest.ImageWriterQueuer
|
D | RecordingTest.java | 2786 mWriter = writer; 2811 if (image != null && mWriter != null) { 2813 mWriter.queueInputImage(image); 2842 mWriter = null; 2847 private ImageWriter mWriter = null;
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 696 private final ImageWriter mWriter; field in CameraTestUtils.SimpleImageWriterListener 699 if (writer != mWriter) { in onImageReleased() 713 mWriter = writer; in SimpleImageWriterListener()
|