Searched defs:write (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/Email/src/com/android/email/mail/transport/
H A DCountingOutputStream.java37 public void write(int oneByte) throws IOException { method in class:CountingOutputStream
H A DStatusOutputStream.java35 public void write(int oneByte) throws IOException { method in class:StatusOutputStream
36 super.write(oneByte);
H A DEOLConvertingOutputStream.java31 public void write(int oneByte) throws IOException { method in class:EOLConvertingOutputStream
34 super.write('\r');
37 super.write(oneByte);
44 super.write('\n');
/packages/apps/Email/src/org/apache/commons/io/output/
H A DClosedOutputStream.java24 * write something to the stream.
46 public void write(int b) throws IOException { method in class:ClosedOutputStream
47 throw new IOException("write(" + b + ") failed: stream is closed");
H A DCountingOutputStream.java39 * @param out the OutputStream to write to
50 * @param b the bytes to write, not null
52 * @see java.io.OutputStream#write(byte[])
54 public void write(byte[] b) throws IOException { method in class:CountingOutputStream
56 super.write(b);
63 * @param b the bytes to write, not null
65 * @param len the maximum number of bytes to write
67 * @see java.io.OutputStream#write(byte[], int, int)
69 public void write(byte[] b, int off, int len) throws IOException { method in class:CountingOutputStream
71 super.write(
82 public void write(int b) throws IOException { method in class:CountingOutputStream
[all...]
H A DDemuxOutputStream.java82 * @param ch the byte to write to stream
86 public void write( int ch ) method in class:DemuxOutputStream
92 output.write( ch );
H A DNullOutputStream.java40 * @param b The bytes to write
42 * @param len The number of bytes to write
44 public void write(byte[] b, int off, int len) { method in class:NullOutputStream
50 * @param b The byte to write
52 public void write(int b) { method in class:NullOutputStream
58 * @param b The bytes to write
61 public void write(byte[] b) throws IOException { method in class:NullOutputStream
H A DNullWriter.java44 * @param idx The character to write
46 public void write(int idx) { method in class:NullWriter
52 * @param chr The characters to write
54 public void write(char[] chr) { method in class:NullWriter
60 * @param chr The characters to write
62 * @param end The number of characters to write
64 public void write(char[] chr, int st, int end) { method in class:NullWriter
70 * @param str The string to write
72 public void write(String str) { method in class:NullWriter
78 * @param str The string to write
82 public void write(String str, int st, int end) { method in class:NullWriter
[all...]
H A DProxyOutputStream.java45 * Invokes the delegate's <code>write(int)</code> method.
46 * @param idx the byte to write
49 public void write(int idx) throws IOException { method in class:ProxyOutputStream
50 out.write(idx);
54 * Invokes the delegate's <code>write(byte[])</code> method.
55 * @param bts the bytes to write
58 public void write(byte[] bts) throws IOException { method in class:ProxyOutputStream
59 out.write(bts);
63 * Invokes the delegate's <code>write(byte[])</code> method.
64 * @param bts the bytes to write
69 public void write(byte[] bts, int st, int end) throws IOException { method in class:ProxyOutputStream
[all...]
H A DProxyWriter.java28 * methods being called, such as write(char[]) to write(char[], int, int)
29 * and write(String) to write(String, int, int).
47 * Invokes the delegate's <code>write(int)</code> method.
48 * @param idx the character to write
51 public void write(int idx) throws IOException { method in class:ProxyWriter
52 out.write(idx);
56 * Invokes the delegate's <code>write(char[])</code> method.
57 * @param chr the characters to write
60 public void write(char[] chr) throws IOException { method in class:ProxyWriter
71 public void write(char[] chr, int st, int end) throws IOException { method in class:ProxyWriter
80 public void write(String str) throws IOException { method in class:ProxyWriter
91 public void write(String str, int st, int end) throws IOException { method in class:ProxyWriter
[all...]
H A DTeeOutputStream.java31 /** the second OutputStream to write to */
46 * @param b the bytes to write
49 public synchronized void write(byte[] b) throws IOException { method in class:TeeOutputStream
50 super.write(b);
51 this.branch.write(b);
56 * @param b the bytes to write
58 * @param len The number of bytes to write
61 public synchronized void write(byte[] b, int off, int len) throws IOException { method in class:TeeOutputStream
62 super.write(b, off, len);
63 this.branch.write(
71 public synchronized void write(int b) throws IOException { method in class:TeeOutputStream
[all...]
H A DFileWriterWithEncoding.java60 * @param filename the name of the file to write to, not null
72 * @param filename the name of the file to write to, not null
85 * @param filename the name of the file to write to, not null
97 * @param filename the name of the file to write to, not null
110 * @param filename the name of the file to write to, not null
122 * @param filename the name of the file to write to, not null
135 * @param file the file to write to, not null
147 * @param file the file to write to, not null
161 * @param file the file to write to, not null
173 * @param file the file to write t
265 public void write(int idx) throws IOException { method in class:FileWriterWithEncoding
274 public void write(char[] chr) throws IOException { method in class:FileWriterWithEncoding
285 public void write(char[] chr, int st, int end) throws IOException { method in class:FileWriterWithEncoding
294 public void write(String str) throws IOException { method in class:FileWriterWithEncoding
305 public void write(String str, int st, int end) throws IOException { method in class:FileWriterWithEncoding
[all...]
H A DLockableFileWriter.java66 * @param fileName the file to write to, not null
77 * @param fileName file to write to, not null
89 * @param fileName the file to write to, not null
103 * @param file the file to write to, not null
114 * @param file the file to write to, not null
126 * @param file the file to write to, not null
139 * @param file the file to write to, not null
151 * @param file the file to write to, not null
188 * Tests that we can write to the lock directory.
191 * @throws IOException if we cannot write t
281 public void write(int idx) throws IOException { method in class:LockableFileWriter
290 public void write(char[] chr) throws IOException { method in class:LockableFileWriter
301 public void write(char[] chr, int st, int end) throws IOException { method in class:LockableFileWriter
310 public void write(String str) throws IOException { method in class:LockableFileWriter
321 public void write(String str, int st, int end) throws IOException { method in class:LockableFileWriter
[all...]
H A DThresholdingOutputStream.java34 * is actually reached, since it triggers when a pending write operation would
91 public void write(int b) throws IOException method in class:ThresholdingOutputStream
94 getStream().write(b);
107 public void write(byte b[]) throws IOException method in class:ThresholdingOutputStream
110 getStream().write(b);
121 * @param len The number of bytes to write.
125 public void write(byte b[], int off, int len) throws IOException method in class:ThresholdingOutputStream
128 getStream().write(b, off, len);
H A DByteArrayOutputStream.java135 * @param b the bytes to write
137 * @param len The number of bytes to write
140 public void write(byte[] b, int off, int len) { method in class:ByteArrayOutputStream
169 * @param b the byte to write
172 public synchronized void write(int b) { method in class:ByteArrayOutputStream
193 public synchronized int write(InputStream in) throws IOException { method in class:ByteArrayOutputStream
245 * @param out the output stream to write to
254 out.write(buf, 0, c);
/packages/apps/Calculator/src/com/android/calculator2/
H A DHistoryEntry.java43 void write(DataOutput out) throws IOException { method in class:HistoryEntry
H A DHistory.java66 void write(DataOutput out) throws IOException { method in class:History
69 entry.write(out);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DInterruptableOutputStream.java37 public void write(int oneByte) throws IOException { method in class:InterruptableOutputStream
39 mOutputStream.write(oneByte);
43 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:InterruptableOutputStream
48 mOutputStream.write(buffer, offset, bytesCount);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DMetaData.java160 * Writes the meta-data for the CalendarProvider. The values to write are
170 public void write(String timezone, long begin, long end, int startDay, int endDay) { method in class:MetaData
185 * Writes the meta-data for the CalendarProvider. The values to write are
/packages/apps/Email/src/org/apache/commons/io/
H A DIOUtils.java47 * <li>write - these methods write data to a stream
616 // write byte[]
621 * @param data the byte array to write, do not modify during output,
623 * @param output the <code>OutputStream</code> to write to
628 public static void write(byte[] data, OutputStream output) method in class:IOUtils
631 output.write(data);
641 * @param data the byte array to write, do not modify during output,
643 * @param output the <code>Writer</code> to write to
648 public static void write(byt method in class:IOUtils
671 public static void write(byte[] data, Writer output, String encoding) method in class:IOUtils
695 public static void write(char[] data, Writer output) throws IOException { method in class:IOUtils
715 public static void write(char[] data, OutputStream output) method in class:IOUtils
740 public static void write(char[] data, OutputStream output, String encoding) method in class:IOUtils
762 public static void write(String data, Writer output) throws IOException { method in class:IOUtils
781 public static void write(String data, OutputStream output) method in class:IOUtils
804 public static void write(String data, OutputStream output, String encoding) method in class:IOUtils
826 public static void write(StringBuffer data, Writer output) method in class:IOUtils
846 public static void write(StringBuffer data, OutputStream output) method in class:IOUtils
869 public static void write(StringBuffer data, OutputStream output, method in class:IOUtils
[all...]
/packages/apps/Settings/src/com/android/settings/net/
H A DNetworkPolicyEditor.java87 // when we cleaned policies above, write back changes
97 write(policies);
103 public void write(NetworkPolicy[] policies) { method in class:NetworkPolicyEditor
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapVcardManager.java615 private boolean write(String vCard) { method in class:BluetoothPbapVcardManager.HandlerForStringBuffer
618 outputStream.write(vCard.getBytes());
622 Log.e(TAG, "write outputstrem failed" + e.toString());
631 return write(phoneOwnVCard);
641 return write(vcard);
/packages/apps/Browser/src/com/android/browser/homepages/
H A DTemplate.java52 void write(OutputStream stream, EntityData params) throws IOException; method in interface:Template.Entity
74 public void write(OutputStream stream, EntityData params) throws IOException { method in class:Template.StringEntity
75 stream.write(mValue);
89 public void write(OutputStream stream, EntityData params) throws IOException { method in class:Template.SimpleEntity
106 public void write(OutputStream stream, EntityData params) throws IOException { method in class:Template.ListEntity
110 mSubTemplate.write(stream, iter);
160 stream.write((byte[]) mData.get(key));
226 public void write(OutputStream stream) throws IOException { method in class:Template
227 write(stream, new HashMapEntityData(mData));
230 public void write(OutputStrea method in class:Template
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifOutputStream.java43 * eos.write(jpeg);
118 public void write(byte[] buffer, int offset, int length) throws IOException { method in class:ExifOutputStream
129 out.write(buffer, offset, byteToProcess);
147 throw new IOException("Not a valid jpeg image, cannot write exif");
149 out.write(mBuffer.array(), 0, 2);
164 out.write(mBuffer.array(), 0, 2);
177 out.write(mBuffer.array(), 0, 4);
180 out.write(mBuffer.array(), 0, 4);
187 out.write(buffer, offset, length);
196 public void write(in method in class:ExifOutputStream
205 public void write(byte[] buffer) throws IOException { method in class:ExifOutputStream
[all...]
/packages/apps/Nfc/src/com/android/nfc/echoserver/
H A DEchoServer.java77 public void write(byte[] data); method in interface:EchoServer.WriteCallback
162 callback.write(dataQueue.remove());
252 public void write(byte[] data) { method in class:EchoServer.ServerThread
344 public void write(byte[] data) { method in class:EchoServer.ConnectionlessServerThread

Completed in 790 milliseconds

12