/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 192 Writer writer = new OutputStreamWriter(stream); in writeTo() local 198 writeHeader(writer, "Date", date); in writeTo() 200 writeEncodedHeader(writer, "Subject", message.mSubject); in writeTo() 202 writeHeader(writer, "Message-ID", message.mMessageId); in writeTo() 204 writeAddressHeader(writer, "From", message.mFrom); in writeTo() 205 writeAddressHeader(writer, "To", message.mTo); in writeTo() 206 writeAddressHeader(writer, "Cc", message.mCc); in writeTo() 210 writeAddressHeader(writer, "Bcc", message.mBcc); in writeTo() 212 writeAddressHeader(writer, "Reply-To", message.mReplyTo); in writeTo() 213 writeHeader(writer, "MIME-Version", "1.0"); in writeTo() [all …]
|
D | MimeMultipart.java | 86 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out), 1024); in writeTo() local 89 writer.write(mPreamble + "\r\n"); in writeTo() 94 writer.write("--" + mBoundary + "\r\n"); in writeTo() 95 writer.flush(); in writeTo() 97 writer.write("\r\n"); in writeTo() 100 writer.write("--" + mBoundary + "--\r\n"); in writeTo() 101 writer.flush(); in writeTo()
|
D | MimeHeader.java | 125 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out), 1024); in writeTo() local 128 writer.write(field.name + ": " + field.value + "\r\n"); in writeTo() 131 writer.flush(); in writeTo()
|
D | MimeBodyPart.java | 185 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out), 1024); in writeTo() local 187 writer.write("\r\n"); in writeTo() 188 writer.flush(); in writeTo()
|
D | MimeMessage.java | 486 BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out), 1024); in writeTo() local 492 writer.write("\r\n"); in writeTo() 493 writer.flush(); in writeTo()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
D | SmilXmlSerializer.java | 36 Writer writer = new BufferedWriter(new OutputStreamWriter(out, "UTF-8"), 2048); in serialize() local 38 writeElement(writer, smilDoc.getDocumentElement()); in serialize() 39 writer.flush(); in serialize() 47 private static void writeElement(Writer writer, Element element) in writeElement() argument 49 writer.write('<'); in writeElement() 50 writer.write(element.getTagName()); in writeElement() 56 writer.write(" " + attribute.getName()); in writeElement() 57 writer.write("=\"" + attribute.getValue() + "\""); in writeElement() 65 writer.write('>'); in writeElement() 68 writeElement(writer, childElement); in writeElement() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 595 static private void writeNoDST(SimpleIcsWriter writer, TimeZone tz, String offsetString) in writeNoDST() argument 597 writer.writeTag("BEGIN", "STANDARD"); in writeNoDST() 598 writer.writeTag("TZOFFSETFROM", offsetString); in writeNoDST() 599 writer.writeTag("TZOFFSETTO", offsetString); in writeNoDST() 601 writer.writeTag("DTSTART", millisToEasDateTime(0L)); in writeNoDST() 602 writer.writeTag("END", "STANDARD"); in writeNoDST() 603 writer.writeTag("END", "VTIMEZONE"); in writeNoDST() 611 static void timeZoneToVTimezone(TimeZone tz, SimpleIcsWriter writer) in timeZoneToVTimezone() argument 618 writer.writeTag("BEGIN", "VTIMEZONE"); in timeZoneToVTimezone() 619 writer.writeTag("TZID", tz.getID()); in timeZoneToVTimezone() [all …]
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
D | FileWriterWithEncoding.java | 231 Writer writer = null; in initWriter() local 235 writer = new OutputStreamWriter(stream, (Charset)encoding); in initWriter() 237 writer = new OutputStreamWriter(stream, (CharsetEncoder)encoding); in initWriter() 239 writer = new OutputStreamWriter(stream, (String)encoding); in initWriter() 242 IOUtils.closeQuietly(writer); in initWriter() 249 IOUtils.closeQuietly(writer); in initWriter() 256 return writer; in initWriter()
|
D | LockableFileWriter.java | 233 Writer writer = null; in initWriter() local 236 writer = new FileWriter(file.getAbsolutePath(), append); in initWriter() 239 writer = new OutputStreamWriter(stream, encoding); in initWriter() 242 IOUtils.closeQuietly(writer); in initWriter() 250 IOUtils.closeQuietly(writer); in initWriter() 258 return writer; in initWriter()
|
/packages/apps/Browser/tests/src/com/android/browser/ |
D | PopularUrlsTest.java | 438 void loopUrls(BufferedReader input, OutputStreamWriter writer, in loopUrls() argument 492 if (writer != null) { in loopUrls() 493 writer.write(page + "|" + (stopTime - startTime) + newLine); in loopUrls() 494 writer.flush(); in loopUrls() 508 OutputStreamWriter writer = getOutputStream(); in testLoadPerformance() local 512 loopUrls(bufferedReader, writer, true, PERF_LOOPCOUNT); in testLoadPerformance() 522 if (writer != null) { in testLoadPerformance() 523 writer.close(); in testLoadPerformance()
|
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
D | Multipart.java | 172 …BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out, CharsetUtil.getCharset(getC… in writeTo() local 174 writer.write(getPreamble() + "\r\n"); in writeTo() 177 writer.write(boundary + "\r\n"); in writeTo() 181 writer.write(getEpilogue() + "\r\n"); in writeTo() 182 writer.write(boundary + "--" + "\r\n"); in writeTo()
|
D | Header.java | 153 …BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out, CharsetUtil.getCharset(char… in writeTo() local 154 writer.write(toString()+ "\r\n"); in writeTo() 155 writer.flush(); in writeTo()
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPlaybackService.java | 2178 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 2179 writer.println("" + mPlayListLen + " items in queue, currently at index " + mPlayPos); in dump() 2180 writer.println("Currently loaded:"); in dump() 2181 writer.println(getArtistName()); in dump() 2182 writer.println(getAlbumName()); in dump() 2183 writer.println(getTrackName()); in dump() 2184 writer.println(getPath()); in dump() 2185 writer.println("playing: " + mIsSupposedToBePlaying); in dump() 2186 writer.println("actual: " + mPlayer.mCurrentMediaPlayer.isPlaying()); in dump() 2187 writer.println("shuffle mode: " + mShuffleMode); in dump() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | ExportProcessor.java | 102 Writer writer = null; in runInternal() local 140 writer = new BufferedWriter(new OutputStreamWriter(outputStream)); in runInternal() 174 writer.write(composer.createOneEntry()); in runInternal() 210 if (writer != null) { in runInternal() 212 writer.close(); in runInternal()
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityMediumTests.java | 126 FileWriter writer = new FileWriter(file); in testAttachmentExists() local 127 writer.write("Foo"); in testAttachmentExists() 128 writer.flush(); in testAttachmentExists() 129 writer.close(); in testAttachmentExists()
|
/packages/apps/Email/src/com/android/email/widget/ |
D | WidgetManager.java | 110 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 113 writer.println("Widget #" + (++n)); in dump() 114 writer.println(" " + widget.toString()); in dump()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | JavaNetHttpHelper.java | 115 OutputStreamWriter writer = new OutputStreamWriter(c.getOutputStream()); in post() local 116 writer.write(content); in post() 117 writer.close(); in post()
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 136 writer = csv.writer(file(filename, "w")) 137 writer.writerow(["Time"] + titles) 148 writer.writerow([msec] + [values.get(n, "") for n in range(num_cols)])
|
/packages/apps/Email/src/org/apache/commons/io/ |
D | IOUtils.java | 960 Writer writer) throws IOException { in writeLines() argument 970 writer.write(line.toString()); in writeLines() 972 writer.write(lineEnding); in writeLines()
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 863 SimpleIcsWriter writer = new SimpleIcsWriter(); in testTimeZoneToVTimezone() local 870 writer = new SimpleIcsWriter(); in testTimeZoneToVTimezone() 871 CalendarUtilities.timeZoneToVTimezone(tz, writer); in testTimeZoneToVTimezone() 872 String vc = writer.toString(); in testTimeZoneToVTimezone()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 853 SimpleIcsWriter writer = new SimpleIcsWriter(); in testTimeZoneToVTimezone() local 860 writer = new SimpleIcsWriter(); in testTimeZoneToVTimezone() 861 CalendarUtilities.timeZoneToVTimezone(tz, writer); in testTimeZoneToVTimezone() 862 String vc = writer.toString(); in testTimeZoneToVTimezone()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | WidgetProvider.java | 117 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 118 WidgetManager.getInstance().dump(fd, writer, args); in dump()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | TestLoaderManager.java | 222 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { 223 mDelegate.dump(prefix, fd, writer, args);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | VideoEditorProject.java | 1243 final StringWriter writer = new StringWriter(); in saveToXml() local 1244 serializer.setOutput(writer); in saveToXml() 1280 out.write(writer.toString().getBytes("UTF-8")); in saveToXml()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadService.java | 431 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 432 final IndentingPrintWriter pw = new IndentingPrintWriter(writer, " "); in dump()
|