/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | MultipartForm.java | 110 PrintWriter writer = new PrintWriter(new OutputStreamWriter(byteOutput)); in getContentBody() local 111 writer.println(); in getContentBody() 114 writeFormField(writer, formValue.getKey(), formValue.getValue()); in getContentBody() 118 writeFormFileHeader(writer, mName, mFileName); in getContentBody() 119 writer.flush(); // Must flush here before writing to the byte stream! in getContentBody() 121 writer.println(); in getContentBody() 123 writer.append("--").append(FORM_DATA_BOUNDARY).println("--"); in getContentBody() 124 writer.flush(); in getContentBody() 125 writer.close(); in getContentBody() 129 private void writeFormField(PrintWriter writer, String name, String value) { in writeFormField() argument [all …]
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
D | XmlGenerator.java | 113 PrintWriter writer = null; in writePackageXml() local 115 writer = new PrintWriter(output); in writePackageXml() 116 writer.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); in writePackageXml() 117 writeTestPackage(writer); in writePackageXml() 119 if (writer != null) { in writePackageXml() 120 writer.close(); in writePackageXml() 125 private void writeTestPackage(PrintWriter writer) { in writeTestPackage() argument 126 writer.append("<TestPackage"); in writeTestPackage() 128 writer.append(" appNameSpace=\"").append(mAppNamespace).append("\""); in writeTestPackage() 131 writer.append(" appPackageName=\"").append(mAppPackageName).append("\""); in writeTestPackage() [all …]
|
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/ |
D | XmlPlanGenerator.java | 78 PrintWriter writer = null; in writePackageXml() local 80 writer = new PrintWriter(out); in writePackageXml() 81 writer.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); in writePackageXml() 82 writeTestPackage(writer); in writePackageXml() 84 if (writer != null) { in writePackageXml() 85 writer.close(); in writePackageXml() 90 private void writeTestPackage(PrintWriter writer) { in writeTestPackage() argument 91 writer.append("<TestPackage"); in writeTestPackage() 93 writer.append(" appNameSpace=\"").append(mAppNameSpace).append("\""); in writeTestPackage() 96 writer.append(" appPackageName=\"").append(mAppPackageName).append("\""); in writeTestPackage() [all …]
|
/cts/common/host-side/java-scanner/src/com/android/compatibility/common/scanner/ |
D | JavaScannerDoclet.java | 44 PrintWriter writer = new PrintWriter(System.out); in start() local 50 writer.append("suite:").println(clazz.containingPackage().name()); in start() 51 writer.append("case:").println(clazz.name()); in start() 55 writer.append("test:").println(method.name()); in start() 61 writer.close(); in start()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BrowserTest.java | 170 Writer writer = new OutputStreamWriter(out, "UTF-8"); in testBrowserPrivateDataAccess() local 171 writer.write(html); in testBrowserPrivateDataAccess() 172 writer.flush(); in testBrowserPrivateDataAccess() 173 writer.close(); in testBrowserPrivateDataAccess() 205 Writer writer = new OutputStreamWriter(out, "UTF-8"); in getTargetFilePath() local 206 writer.write("testing"); in getTargetFilePath() 207 writer.flush(); in getTargetFilePath() 208 writer.close(); in getTargetFilePath()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 348 JsonWriter writer = in writeVideoMetaInfo() local 356 writer.beginObject(); in writeVideoMetaInfo() 357 writer.name("fovW").value(fovW); in writeVideoMetaInfo() 358 writer.name("fovH").value(fovH); in writeVideoMetaInfo() 359 writer.name("width").value(width); in writeVideoMetaInfo() 360 writer.name("height").value(height); in writeVideoMetaInfo() 361 writer.name("frameRate").value(frameRate); in writeVideoMetaInfo() 362 writer.endObject(); in writeVideoMetaInfo() 364 writer.close(); in writeVideoMetaInfo() 685 OutputStreamWriter writer = mAccLogWriter; in end() local [all …]
|
D | RVCVXCheckAnalyzer.java | 135 JsonWriter writer = in writeJSONToStream() local 139 writer.beginObject(); in writeJSONToStream() 140 writer.setLenient(true); in writeJSONToStream() 142 writer.name("roll_rms_error").value(roll_rms_error); in writeJSONToStream() 143 writer.name("pitch_rms_error").value(pitch_rms_error); in writeJSONToStream() 144 writer.name("yaw_rms_error").value(yaw_rms_error); in writeJSONToStream() 145 writer.name("roll_max_error").value(roll_max_error); in writeJSONToStream() 146 writer.name("pitch_max_error").value(pitch_max_error); in writeJSONToStream() 147 writer.name("yaw_max_error").value(yaw_max_error); in writeJSONToStream() 148 writer.name("optimal_delta_t").value(optimal_delta_t); in writeJSONToStream() [all …]
|
/cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/ |
D | CtsJavaScannerDoclet.java | 74 PrintWriter writer = new PrintWriter(System.out); in start() local 86 writer.append("suite:").println(clazz.containingPackage().name()); in start() 87 writer.append("case:").println(clazz.name()); in start() 132 writer.append("test:"); in start() 134 writer.append(method.name()).println(":" + timeout); in start() 136 writer.println(method.name()); in start() 142 writer.close(); in start()
|
/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/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 122 OutputStreamWriter writer = new OutputStreamWriter( in writeToUri() local 124 writer.write(text); in writeToUri() 125 writer.flush(); in writeToUri() 126 writer.close(); in writeToUri()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 151 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() local 158 image = writer.dequeueInputImage(); in testAbandonedSurfaceExceptions() 163 writer.close(); in testAbandonedSurfaceExceptions() 170 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 171 image = writer.dequeueInputImage(); in testAbandonedSurfaceExceptions() 177 writer.queueInputImage(image); in testAbandonedSurfaceExceptions() 182 writer.close(); in testAbandonedSurfaceExceptions()
|
D | CameraTestUtils.java | 195 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); in makeImageWriter() local 196 writer.setOnImageReleasedListener(listener, handler); in makeImageWriter() 197 return writer; in makeImageWriter() 214 public static void closeImageWriter(ImageWriter writer) { in closeImageWriter() argument 215 if (writer != null) { in closeImageWriter() 216 writer.close(); in closeImageWriter() 352 public void onImageReleased(ImageWriter writer) { in onImageReleased() argument 353 if (writer != mWriter) { in onImageReleased() 363 public SimpleImageWriterListener(ImageWriter writer) { in SimpleImageWriterListener() argument 364 if (writer == null) { in SimpleImageWriterListener() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 240 ParcelFileDescriptor writer = pipe[1]) { in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() 265 ParcelFileDescriptor writer = pipe[1]) { in testUnregisterFileDescriptorCallbackDoesNothingWhenFdNotRegistered() 280 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testFileDescriptorCallbacks() 307 writer.write(mBuffer, 0, count); in testFileDescriptorCallbacks() 365 queue.addOnFileDescriptorEventListener(writer.getFD(), in testFileDescriptorCallbacks() 383 queue.removeOnFileDescriptorEventListener(writer.getFD()); in testFileDescriptorCallbacks() 411 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testPathologicalFileDescriptorReuseCallbacks1() 430 writer.close(); in testPathologicalFileDescriptorReuseCallbacks1() 493 final FileOutputStream writer = new AutoCloseOutputStream(pipe[1])) { in testPathologicalFileDescriptorReuseCallbacks2() 512 writer.close(); in testPathologicalFileDescriptorReuseCallbacks2() [all …]
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | TestLogTest.java | 95 StringWriter writer = new StringWriter(); in testSerialize() local 96 serializer.setOutput(writer); in testSerialize() 100 assertEquals("<TestLog type=\"logcat\" url=\"http://logs/foo/bar\" />", writer.toString()); in testSerialize()
|
/cts/libs/vogar-expect/src/vogar/ |
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/tests/telephony/src/android/telephony/cts/ |
D | MmsTest.java | 203 FileOutputStream writer = null; in writePdu() local 205 writer = new FileOutputStream(file); in writePdu() 206 writer.write(pdu); in writePdu() 211 if (writer != null) { in writePdu() 213 writer.close(); in writePdu()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | ContentTest.java | 193 FileWriter writer = new FileWriter(file); in getUriWithTextInFile() local 194 writer.write(text); in getUriWithTextInFile() 195 writer.close(); in getUriWithTextInFile()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 144 try (BufferedWriter writer = new BufferedWriter(fileWriter)) { in logToFile() argument 147 writer.write(String.format("%s: %s\n", key, getValueString(value))); in logToFile()
|
D | TestSensorEventListener.java | 258 try (BufferedWriter writer = new BufferedWriter(fileWriter)) { in logCollectedEventsToFile() argument 259 writer.write(builder.toString()); in logCollectedEventsToFile()
|
/cts/tools/utils/cts/ |
D | tools.py | 103 def WriteDescription(self, writer): argument 106 doc.writexml(writer, addindent=' ', newl='\n', encoding=self.encoding)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
D | BackupTestActivity.java | 216 PrintWriter writer = new PrintWriter(file); in generateTestFile() local 217 writer.write("Random number: " + (random.nextInt(100) + 1)); in generateTestFile() 218 writer.close(); in generateTestFile()
|
/cts/tools/vm-tests-tf/lib/ |
D | junit.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/awtui/
junit/ ... |
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 19992 private java.io.Writer writer 56287 private java.io.Writer writer 108379 private java.io.BufferedWriter writer
|