/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 158 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() local 165 image = writer.dequeueInputImage(); in testAbandonedSurfaceExceptions() 170 writer.close(); in testAbandonedSurfaceExceptions() 177 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 178 image = writer.dequeueInputImage(); in testAbandonedSurfaceExceptions() 184 writer.queueInputImage(image); in testAbandonedSurfaceExceptions() 189 writer.close(); in testAbandonedSurfaceExceptions() 200 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), 1 /*maxImages*/); in testWriterReaderBlobFormats() local 201 writer.close(); in testWriterReaderBlobFormats() 220 ImageWriter writer = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in testWriterFormatOverride() local [all …]
|
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/ |
D | MyService.java | 25 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 29 writer.println("Crashing..."); in dump() 33 writer.print("Package=[" + getPackageName() + "]"); in dump() 34 writer.println(" Class=[" + this.getClass().getName() + "]"); in dump()
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | HealthStatsTest.java | 157 final HealthStatsWriter writer = new HealthStatsWriter(CONSTANTS); in testParcelEmpty() local 160 writer.flattenToParcel(parcel); in testParcelEmpty() 183 final HealthStatsWriter writer = new HealthStatsWriter(CONSTANTS); in testParcelling() local 186 writer.addTimer(TIMER_0, 1, 100); in testParcelling() 187 writer.addTimer(TIMER_1, Integer.MAX_VALUE, Long.MAX_VALUE); in testParcelling() 190 writer.addMeasurement(MEASUREMENT_0, 300); in testParcelling() 191 writer.addMeasurement(MEASUREMENT_1, Long.MAX_VALUE); in testParcelling() 196 writer.addStats(STATS_0, "a", writer2); in testParcelling() 199 writer.addTimers(TIMERS_0, "b", new TimerStat(200, 400)); in testParcelling() 202 writer.addMeasurements(MEASUREMENTS_0, "Z", 800); in testParcelling() [all …]
|
/cts/hostsidetests/multiuser/dpc/src/com/android/cts/multiuser/dpc/ |
D | DpcService.java | 38 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 44 writer.println("pong"); in dump() 49 new DpcShellCommand(this, writer, cmdArgs).run(); in dump() 53 super.dump(fd, writer, args); in dump()
|
D | DpcShellCommand.java | 36 DpcShellCommand(Context context, PrintWriter writer, String[] args) { in DpcShellCommand() argument 41 mWriter = writer; in DpcShellCommand()
|
/cts/tests/camera/libctscamera2jni/ |
D | dng-validate-jni.cpp | 143 dng_image_writer writer; in dng_validate() local 145 writer.WriteTIFF(host, in dng_validate() 174 dng_image_writer writer; in dng_validate() local 176 writer.WriteTIFF (host, in dng_validate() 197 dng_image_writer writer; in dng_validate() local 200 writer, in dng_validate() 214 dng_image_writer writer; in dng_validate() local 216 writer.WriteTIFF (host, in dng_validate() 294 dng_image_writer writer; in dng_validate() local 295 writer.EncodeJPEGPreview (host, in dng_validate() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 395 JsonWriter writer = in writeVideoMetaInfo() local 403 writer.beginObject(); in writeVideoMetaInfo() 404 writer.name("fovW").value(fovW); in writeVideoMetaInfo() 405 writer.name("fovH").value(fovH); in writeVideoMetaInfo() 406 writer.name("width").value(width); in writeVideoMetaInfo() 407 writer.name("height").value(height); in writeVideoMetaInfo() 408 writer.name("frameRate").value(frameRate); in writeVideoMetaInfo() 409 writer.endObject(); in writeVideoMetaInfo() 411 writer.close(); in writeVideoMetaInfo() 820 OutputStreamWriter writer = mAccLogWriter; in end() local [all …]
|
D | RVCVXCheckAnalyzer.java | 140 JsonWriter writer = in writeJSONToStream() local 144 writer.beginObject(); in writeJSONToStream() 145 writer.setLenient(true); in writeJSONToStream() 147 writer.name("roll_rms_error").value(roll_rms_error); in writeJSONToStream() 148 writer.name("pitch_rms_error").value(pitch_rms_error); in writeJSONToStream() 149 writer.name("yaw_rms_error").value(yaw_rms_error); in writeJSONToStream() 150 writer.name("roll_max_error").value(roll_max_error); in writeJSONToStream() 151 writer.name("pitch_max_error").value(pitch_max_error); in writeJSONToStream() 152 writer.name("yaw_max_error").value(yaw_max_error); in writeJSONToStream() 153 writer.name("optimal_delta_t").value(optimal_delta_t); in writeJSONToStream() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ImageCaptureActivity.java | 67 FileWriter writer = new FileWriter(file); in writeToClipDataUri() local 68 writer.write(ImageCaptureUriExtraToClipDataTest.TEST_INPUT); in writeToClipDataUri() 69 writer.flush(); in writeToClipDataUri() 70 writer.close(); in writeToClipDataUri()
|
D | ReadableUriExtraToClipDataTest.java | 108 FileWriter writer = new FileWriter(file); in writeTestInputToFile() local 109 writer.write(TEST_INPUT); in writeTestInputToFile() 110 writer.flush(); in writeTestInputToFile() 111 writer.close(); in writeTestInputToFile()
|
/cts/tests/tests/content/HelloWorldApp/src5/com/example/helloworld/ |
D | MainActivity.java | 38 try (OutputStreamWriter writer = new OutputStreamWriter( in onCreate() argument 40 writer.write("Testing"); in onCreate()
|
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupRestoreTest.java | 244 PrintWriter writer = new PrintWriter(file); in saveSharedPreferencesValues() local 245 writer.write(TEST_FILE_1_DATA); in saveSharedPreferencesValues() 246 writer.close(); in saveSharedPreferencesValues() 250 writer = new PrintWriter(file); in saveSharedPreferencesValues() 251 writer.write(TEST_FILE_2_DATA); in saveSharedPreferencesValues() 252 writer.close(); in saveSharedPreferencesValues()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SessionRule.java | 63 try (BufferedWriter writer = new BufferedWriter(new FileWriter(mTestStateFile))) { in recordSessionId() argument 64 writer.write(String.valueOf(sessionId)); in recordSessionId()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 302 ParcelFileDescriptor writer = pipe[1]) { in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() 331 ParcelFileDescriptor writer = pipe[1]) { in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() 348 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testFileDescriptorCallbacks() 375 writer.write(mBuffer, 0, count); in testFileDescriptorCallbacks() 433 queue.addOnFileDescriptorEventListener(writer.getFD(), in testFileDescriptorCallbacks() 451 queue.removeOnFileDescriptorEventListener(writer.getFD()); in testFileDescriptorCallbacks() 481 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testPathologicalFileDescriptorReuseCallbacks1() 500 writer.close(); in testPathologicalFileDescriptorReuseCallbacks1() 565 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testPathologicalFileDescriptorReuseCallbacks2() 584 writer.close(); in testPathologicalFileDescriptorReuseCallbacks2() [all …]
|
/cts/apps/CameraITS/utils/ |
D | capture_read_noise_utils.py | 54 writer = csv.writer(f) 69 writer.writerow(headers) 79 writer.writerow(row) 81 writer.writerow([]) # divider line 85 writer.writerow(coeff_headers) 89 writer.writerow([color_channels_names[i], offset_a[i], offset_b[i]])
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 190 OutputStreamWriter writer = new OutputStreamWriter( in writeToUri() local 192 writer.write(text); in writeToUri() 193 writer.flush(); in writeToUri() 194 writer.close(); in writeToUri()
|
/cts/libs/vogar-expect/src/vogar/expect/ |
D | Outcome.java | 99 StringWriter writer = new StringWriter(); in throwableToLines() local 100 PrintWriter out = new PrintWriter(writer); in throwableToLines() 102 return Arrays.asList(writer.toString().split("\\n")); in throwableToLines()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityDumpTest.java | 164 try (StringWriter sw = new StringWriter(); PrintWriter writer = new PrintWriter(sw)) { in dumpInternal() 166 activity.dumpInternal(prefix, /* fd= */ null, writer, args); in dumpInternal() 198 public void dump(PrintWriter writer, String[] args) { in dump() argument 199 writer.println(content); in dump()
|
/cts/hostsidetests/edi/src/android/edi/cts/ |
D | DynamicPartitionsDeviceInfo.java | 81 try (FileWriter writer = new FileWriter(jsonFile)) { in collectDeviceInfo() argument 82 writer.write(output); in collectDeviceInfo()
|
/cts/hostsidetests/mediapc/videoencodingquality/src/ |
D | CtsVideoEncodingQualityHostTest.java | 418 try (FileWriter writer = new FileWriter(outHostPath.getPath() + "/" + "all_vmafs.txt")) { in testEncoding() argument 456 writer.write(vmafLine + "\n"); in testEncoding() 457 writer.write("Y4M file = " + refFileName + "\n"); in testEncoding() 458 writer.write("MP4 file = " + refFileName + "\n"); in testEncoding() 462 writer.write("Filesize = " + fileSize + "\n"); in testEncoding() 463 writer.write("FPS = " + fps + "\n"); in testEncoding() 464 writer.write("FRAME_COUNT = " + frameCount + "\n"); in testEncoding() 465 writer.write("CLIP_DURATION = " + clipDuration + "\n"); in testEncoding() 469 writer.write("Bitrate kbps = " + bitrate_kbps + "\n"); in testEncoding()
|
/cts/hostsidetests/car/app/src/android/car/cts/app/ |
D | PowerPolicyTestActivity.java | 77 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 78 writer.printf("%s\n", mResultBuf); in dump()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | DumpableTest.java | 42 public void dump(PrintWriter writer, String[] args) { in dump() argument
|
/cts/hostsidetests/packagemanager/deletekeepdata/app/src/com/android/tests/deletekeepdata/app/ |
D | DeleteKeepDataDeviceTest.java | 53 try (OutputStreamWriter writer = new OutputStreamWriter( in testWriteData() argument 56 writer.write(TEST_FILE_CONTENT); in testWriteData()
|
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/ |
D | MockSpellChecker.kt | 47 override fun dump(fd: FileDescriptor?, writer: PrintWriter?, args: Array<out String>?) { in dump() 48 writer?.println("MockSpellChecker") in dump()
|
/cts/tests/vibrator/src/android/os/cts/ |
D | VibrationEffectXmlSerializationTest.java | 115 StringWriter writer = new StringWriter(); in testSerializeValidVibrationEffect() local 116 VibrationXmlSerializer.serialize(effect, writer); in testSerializeValidVibrationEffect() 117 assertSameXml(expectedXml, writer.toString()); in testSerializeValidVibrationEffect() 125 StringWriter writer = new StringWriter(); in testParseSerializeRoundTrip() local 127 VibrationXmlSerializer.serialize(effect, writer); in testParseSerializeRoundTrip() 129 StringReader reader = new StringReader(writer.toString()); in testParseSerializeRoundTrip()
|