Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 141) sorted by relevance

123456

/packages/apps/Email/tests/src/com/android/email/codec/binary/
DBase64Test.java46 byte[] out = Base64.encodeBase64Chunked(getByteArray(54)); in testLineLength54()
47 checkBase64Structure(out, 1); in testLineLength54()
50 byte[] out = Base64.encodeBase64Chunked(getByteArray(55)); in testLineLength55()
51 checkBase64Structure(out, 1); in testLineLength55()
54 byte[] out = Base64.encodeBase64Chunked(getByteArray(56)); in testLineLength56()
55 checkBase64Structure(out, 1); in testLineLength56()
58 byte[] out = Base64.encodeBase64Chunked(getByteArray(57)); in testLineLength57()
59 checkBase64Structure(out, 1); in testLineLength57()
62 byte[] out = Base64.encodeBase64Chunked(getByteArray(58)); in testLineLength58()
63 checkBase64Structure(out, 2); in testLineLength58()
[all …]
/packages/apps/Email/src/com/beetstra/jutf7/
DUTF7StyleCharsetEncoder.java105 protected CoderResult implFlush(ByteBuffer out) { in implFlush() argument
107 if (out.remaining() < 2) in implFlush()
110 out.put(base64.getChar(sextet)); in implFlush()
111 out.put(unshift); in implFlush()
144 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { in encodeLoop() argument
146 if (out.remaining() < 4) in encodeLoop()
150 unshift(out, ch); in encodeLoop()
151 out.put((byte)ch); in encodeLoop()
153 out.put(shift); in encodeLoop()
154 out.put(unshift); in encodeLoop()
[all …]
DUTF7StyleCharsetDecoder.java64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop() argument
72 if (!out.hasRemaining()) in decodeLoop()
74 out.put((char)shift); in decodeLoop()
79 if (!out.hasRemaining()) in decodeLoop()
81 CoderResult result = handleBase64(in, out, b); in decodeLoop()
94 if (!out.hasRemaining()) in decodeLoop()
96 out.put((char)b); in decodeLoop()
120 private CoderResult handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) { in handleBase64() argument
130 out.put((char)tempChar); in handleBase64()
136 out.put((char)lastRead); in handleBase64()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DEventRecurrenceTest.java444 System.out.println("Error... got:"); in verifyRecurType()
446 System.out.println("expected:"); in verifyRecurType()
447 System.out.println("{"); in verifyRecurType()
448 System.out.println(" freq=" + freq); in verifyRecurType()
449 System.out.println(" until=" + until); in verifyRecurType()
450 System.out.println(" count=" + count); in verifyRecurType()
451 System.out.println(" interval=" + interval); in verifyRecurType()
452 System.out.println(" wkst=" + wkst); in verifyRecurType()
453 System.out.println(" bysecond=" + Arrays.toString(bysecond)); in verifyRecurType()
454 System.out.println(" byminute=" + Arrays.toString(byminute)); in verifyRecurType()
[all …]
/packages/apps/Email/src/org/apache/commons/io/output/
DProxyWriter.java52 out.write(idx); in write()
61 out.write(chr); in write()
72 out.write(chr, st, end); in write()
81 out.write(str); in write()
92 out.write(str, st, end); in write()
100 out.flush(); in flush()
108 out.close(); in close()
DFileWriterWithEncoding.java55 private final Writer out; field in FileWriterWithEncoding
155 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding()
181 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding()
207 this.out = initWriter(file, encoding, append); in FileWriterWithEncoding()
266 out.write(idx); in write()
275 out.write(chr); in write()
286 out.write(chr, st, end); in write()
295 out.write(str); in write()
306 out.write(str, st, end); in write()
314 out.flush(); in flush()
[all …]
DProxyOutputStream.java50 out.write(idx); in write()
59 out.write(bts); in write()
70 out.write(bts, st, end); in write()
78 out.flush(); in flush()
86 out.close(); in close()
DLockableFileWriter.java58 private final Writer out; field in LockableFileWriter
183 out = initWriter(file, encoding, append); in LockableFileWriter()
269 out.close(); in close()
282 out.write(idx); in write()
291 out.write(chr); in write()
302 out.write(chr, st, end); in write()
311 out.write(str); in write()
322 out.write(str, st, end); in write()
330 out.flush(); in flush()
DCloseShieldOutputStream.java39 public CloseShieldOutputStream(OutputStream out) { in CloseShieldOutputStream() argument
40 super(out); in CloseShieldOutputStream()
49 out = new ClosedOutputStream(); in close()
/packages/apps/Email/src/com/android/email/codec/binary/
DBase64OutputStream.java54 public Base64OutputStream(OutputStream out) { in Base64OutputStream() argument
55 this(out, true); in Base64OutputStream()
66 public Base64OutputStream(OutputStream out, boolean doEncode) { in Base64OutputStream() argument
67 super(out); in Base64OutputStream()
88 …public Base64OutputStream(OutputStream out, boolean doEncode, int lineLength, byte[] lineSeparator… in Base64OutputStream() argument
89 super(out); in Base64OutputStream()
147 out.write(buf, 0, c); in flush()
151 out.flush(); in flush()
/packages/apps/Camera/tests/src/com/android/camera/stress/
DCameraLatency.java109 BufferedWriter out = new BufferedWriter(fstream); in testImageCapture() local
110 out.write("Camera Latency : \n"); in testImageCapture()
111 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); in testImageCapture()
112 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); in testImageCapture()
113 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); in testImageCapture()
114 out.write("Avg mShutterAndRawPictureCallbackTime = " in testImageCapture()
116 out.write("Avg mJpegPictureCallbackTimeLag = " + mAveJpegPictureCallbackTimeLag + "\n"); in testImageCapture()
117 out.write("Avg mRawPictureAndJpegPictureCallbackTime = " in testImageCapture()
119 out.close(); in testImageCapture()
DCameraStartUp.java79 BufferedWriter out = new BufferedWriter(fstream); in writeToOutputFile() local
80 out.write(startupTag + "\n"); in writeToOutputFile()
81 out.write("Number of loop: " + TOTAL_NUMBER_OF_STARTUP + "\n"); in writeToOutputFile()
82 out.write(individualStartupTime + "\n\n"); in writeToOutputFile()
83 out.write("Average startup time :" + averageStartupTime + " ms\n\n"); in writeToOutputFile()
84 out.close(); in writeToOutputFile()
/packages/apps/Email/src/org/apache/james/mime4j/message/
DMemoryBinaryBody.java57 ByteArrayOutputStream out = new ByteArrayOutputStream(); in MemoryBinaryBody() local
58 IOUtils.copy(is, out); in MemoryBinaryBody()
59 out.close(); in MemoryBinaryBody()
60 tempFile = out.toByteArray(); in MemoryBinaryBody()
87 public void writeTo(OutputStream out) throws IOException { in writeTo() argument
88 IOUtils.copy(getInputStream(),out); in writeTo() local
DMemoryTextBody.java62 ByteArrayOutputStream out = new ByteArrayOutputStream(); in MemoryTextBody() local
63 IOUtils.copy(is, out); in MemoryTextBody()
64 out.close(); in MemoryTextBody()
65 tempFile = out.toByteArray(); in MemoryTextBody()
113 public void writeTo(OutputStream out) throws IOException { in writeTo() argument
114 IOUtils.copy(new ByteArrayInputStream(tempFile), out); in writeTo()
DTempFileBinaryBody.java57 OutputStream out = tempFile.getOutputStream(); in TempFileBinaryBody() local
58 IOUtils.copy(is, out); in TempFileBinaryBody()
59 out.close(); in TempFileBinaryBody()
86 public void writeTo(OutputStream out) throws IOException { in writeTo() argument
87 IOUtils.copy(getInputStream(),out); in writeTo() local
DTempFileTextBody.java62 OutputStream out = tempFile.getOutputStream(); in TempFileTextBody() local
63 IOUtils.copy(is, out); in TempFileTextBody()
64 out.close(); in TempFileTextBody()
112 public void writeTo(OutputStream out) throws IOException { in writeTo() argument
113 IOUtils.copy(tempFile.getInputStream(), out); in writeTo() local
DBodyPart.java38 public void writeTo(OutputStream out) throws IOException { in writeTo() argument
39 getHeader().writeTo(out); in writeTo()
40 getBody().writeTo(out); in writeTo()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/
DDomainList.java67 StringBuffer out = new StringBuffer(); in toRouteString() local
69 out.append("@"); in toRouteString()
70 out.append(get(i)); in toRouteString()
72 out.append(","); in toRouteString()
74 return out.toString(); in toRouteString()
/packages/apps/Email/src/com/android/email/mail/internet/
DEmailHtmlUtil.java96 StringBuilder out = new StringBuilder(); in escapeCharacterToDisplay() local
100 out.append(text.substring(end, start)); in escapeCharacterToDisplay()
106 out.append("&nbsp;"); in escapeCharacterToDisplay()
108 out.append(' '); in escapeCharacterToDisplay()
110 out.append("<br>"); in escapeCharacterToDisplay()
112 out.append("&lt;"); in escapeCharacterToDisplay()
114 out.append("&gt;"); in escapeCharacterToDisplay()
116 out.append("&amp;"); in escapeCharacterToDisplay()
119 out.append(text.substring(end)); in escapeCharacterToDisplay()
120 text = out.toString(); in escapeCharacterToDisplay()
/packages/apps/IM/src/com/android/im/imps/
DImpsLog.java49 ByteArrayOutputStream out = new ByteArrayOutputStream(); in dumpPrimitive() local
51 mSerialzier.serialize(p, out); in dumpPrimitive()
57 Log.d(PACKET_TAG, out.toString()); in dumpPrimitive()
62 ByteArrayOutputStream out = new ByteArrayOutputStream(); in log() local
64 mSerialzier.serialize(primitive, out); in log()
70 Log.i(TAG, out.toString()); in log()
/packages/apps/Email/src/org/apache/commons/io/
DCopyUtils.java286 OutputStreamWriter out = new OutputStreamWriter(output); in copy() local
287 copy(input, out); in copy()
290 out.flush(); in copy()
310 OutputStreamWriter out = new OutputStreamWriter(output); in copy() local
311 copy(in, out); in copy()
314 out.flush(); in copy()
/packages/apps/Launcher/src/com/android/launcher/
DItemInfo.java120 ByteArrayOutputStream out = new ByteArrayOutputStream(size); in writeBitmap() local
122 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in writeBitmap()
123 out.flush(); in writeBitmap()
124 out.close(); in writeBitmap()
126 values.put(LauncherSettings.Favorites.ICON, out.toByteArray()); in writeBitmap()
/packages/apps/Calculator/src/com/android/calculator2/
DPersist.java62 DataOutputStream out = new DataOutputStream(os); in save() local
63 out.writeInt(LAST_VERSION); in save()
64 history.write(out); in save()
65 out.close(); in save()
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsAdapter.java94 SpannableString out = new SpannableString(nameAndNumber); in convertToString() local
95 int len = out.length(); in convertToString()
98 out.setSpan(new Annotation("name", name), 0, len, in convertToString()
101 out.setSpan(new Annotation("name", number), 0, len, in convertToString()
106 out.setSpan(new Annotation("person_id", person_id), 0, len, in convertToString()
108 out.setSpan(new Annotation("label", displayLabel.toString()), 0, len, in convertToString()
110 out.setSpan(new Annotation("number", number), 0, len, in convertToString()
113 return out; in convertToString()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java62 AlphaAnimation out = new AlphaAnimation(1.0f, 0.0f); in applyAlphaAnimation() local
64 out.setStartOffset(0); in applyAlphaAnimation()
65 out.setDuration(500); in applyAlphaAnimation()
68 v.setOutAnimation(out); in applyAlphaAnimation()

123456