/frameworks/base/awt/com/android/internal/awt/ |
H A D | ImageOutputStreamWrapper.java | 43 public void write(int oneByte) throws IOException { method in class:ImageOutputStreamWrapper 45 mIos.write(mBuff, 0, 1); 48 public void write(byte[] b) throws IOException { method in class:ImageOutputStreamWrapper 49 mIos.write(b, 0, b.length); 52 public void write(byte[] b, int off, int len) throws IOException { method in class:ImageOutputStreamWrapper 53 mIos.write(b, off, len);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothOutputStream.java | 53 public void write(int oneByte) throws IOException { method in class:BluetoothOutputStream 56 mSocket.write(b, 0, 1); 68 * the number of bytes from {@code buffer} to write to this 78 public void write(byte[] b, int offset, int count) throws IOException { method in class:BluetoothOutputStream 85 mSocket.write(b, offset, count);
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 55 * Creates an empty <code>PrivateOutputStream</code> to write to. 75 * write is that one byte is written to the output stream. The byte to be 78 * @param b the byte to write 82 public synchronized void write(int b) throws IOException { method in class:PrivateOutputStream 85 mArray.write(b); 92 public void write(byte[] buffer) throws IOException { method in class:PrivateOutputStream 93 write(buffer, 0, buffer.length); 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { method in class:PrivateOutputStream 111 mArray.write(buffer, offset, count); 114 mArray.write(buffe [all...] |
H A D | ObexHelper.java | 356 out.write((byte)HeaderSet.CONNECTION_ID); 357 out.write(headImpl.mConnectionID); 363 out.write((byte)HeaderSet.COUNT); 365 out.write(value); 374 out.write((byte)HeaderSet.NAME); 379 out.write(lengthArray); 380 out.write(value); 389 out.write((byte)HeaderSet.TYPE); 399 out.write(lengthArray); 400 out.write(valu [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
H A D | ResponseData.java | 27 * Format the data appropriate for TERMINAL RESPONSE and write it into 46 buf.write(tag); // tag 47 buf.write(1); // length 48 buf.write(id); // identifier of item chosen 89 buf.write(tag); // tag 123 buf.write(data.length + 1); 127 buf.write(0x08); // UCS2 129 buf.write(0x00); // 7 bit packed 131 buf.write(0x04); // 8 bit unpacked 135 buf.write( [all...] |
H A D | StkService.java | 323 buf.write(tag); 324 buf.write(0x03); // length 325 buf.write(cmdDet.commandNumber); 326 buf.write(cmdDet.typeOfCommand); 327 buf.write(cmdDet.commandQualifier); 331 buf.write(tag); 332 buf.write(0x02); // length 333 buf.write(DEV_ID_TERMINAL); // source device id 334 buf.write(DEV_ID_UICC); // destination device id 338 buf.write(ta [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | CharArrayWriterTest.java | 35 a.write(str, 0, 26); 36 a.write('X'); 42 b.write("alphabravodelta", 5, 5);
|
H A D | StringWriterTest.java | 31 a.write(str, 0, 26); 32 a.write('X'); 36 a.write("alphabravodelta", 5, 5);
|
H A D | BufferedWriterTest.java | 37 a.write(str.toCharArray(), 0, 26); 38 a.write('X'); 42 a.write("alphabravodelta", 5, 5); 46 a.write("I'm on a new line.");
|
H A D | BufferedOutputStreamTest.java | 36 a.write(str.getBytes(), 0, 26); 37 a.write('A');
|
H A D | ByteArrayOutputStreamTest.java | 35 a.write(str.getBytes(), 0, 26); 36 a.write('X');
|
H A D | DataOutputStreamTest.java | 37 a.write(str.getBytes(), 0, 26); 38 a.write('A');
|
H A D | OutputStreamWriterTest.java | 36 a.write(str, 0, 4); 37 a.write('A');
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | Part.java | 205 out.write(EXTRA_BYTES); 206 out.write(getPartBoundary()); 207 out.write(CRLF_BYTES); 218 out.write(CONTENT_DISPOSITION_BYTES); 219 out.write(QUOTE_BYTES); 220 out.write(EncodingUtils.getAsciiBytes(getName())); 221 out.write(QUOTE_BYTES); 233 out.write(CRLF_BYTES); 234 out.write(CONTENT_TYPE_BYTES); 235 out.write(EncodingUtil [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SmsHeader.java | 187 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); 188 outStream.write(3); 189 outStream.write(concatRef.refNumber); 191 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); 192 outStream.write(4); 193 outStream.write(concatRef.refNumber >>> 8); 194 outStream.write(concatRef.refNumber & 0x00FF); 196 outStream.write(concatRef.msgCount); 197 outStream.write(concatRef.seqNumber); 202 outStream.write(ELT_ID_APPLICATION_PORT_ADDRESSING_8_BI [all...] |
/frameworks/base/awt/javax/imageio/stream/ |
H A D | ImageOutputStreamImpl.java | 47 public abstract void write(int b) throws IOException; method in class:ImageOutputStreamImpl 49 public void write(byte[] b) throws IOException { method in class:ImageOutputStreamImpl 50 write(b, 0, b.length); 53 public abstract void write(byte[] b, int off, int len) throws IOException; method in class:ImageOutputStreamImpl 56 write(v ? 1 : 0); 60 write(v); 106 write(s.getBytes()); 160 * Flushes the bits. This method should be called in the write methods by
|
H A D | FileImageOutputStream.java | 68 public void write(int b) throws IOException { method in class:FileImageOutputStream 72 file.write(b); 77 public void write(byte[] b, int off, int len) throws IOException { method in class:FileImageOutputStream 81 file.write(b, off, len);
|
H A D | FileCacheImageOutputStream.java | 109 public void write(int b) throws IOException { method in class:FileCacheImageOutputStream 112 raf.write(b); 117 public void write(byte[] b, int off, int len) throws IOException { method in class:FileCacheImageOutputStream 120 raf.write(b, off, len); 159 os.write(buffer); 165 os.write(buffer, 0, count);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | LocalSocketTest.java | 46 // Test trivial read and write 47 ls.getOutputStream().write(42); 60 ls.getOutputStream().write(42); 68 // Test multible byte write and available() 69 ls1.getOutputStream().write(new byte[]{0, 1, 2, 3, 4, 5}, 1, 5); 94 ls.getOutputStream().write(buffer, 1, 16); 101 ls.getOutputStream().write(buffer, -1, 15); 108 ls.getOutputStream().write(buffer, 0, -1); 129 ls.getOutputStream().write(42); 138 // Try write o [all...] |
/frameworks/base/libs/surfaceflinger_client/ |
H A D | LayerState.cpp | 23 status_t layer_state_t::write(Parcel& output) const function in class:android::layer_state_t 27 size_t len = transparentRegion.write(NULL, 0); 34 err = transparentRegion.write(buf, len); 40 err = output.write(this, size);
|
/frameworks/base/core/jni/ |
H A D | android_server_Watchdog.cpp | 38 write(outFd, buf, strlen(buf)); 43 write(outFd, buf, nBytes); 47 write(outFd, "\n", 1); 73 write(outFd, buf, strlen(buf)); 91 write(outFd, buf, strlen(buf));
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | WaveHeader.java | 230 public int write(OutputStream out) throws IOException { method in class:WaveHeader 254 for (int i = 0; i < id.length(); i++) out.write(id.charAt(i)); 258 out.write(val >> 0); 259 out.write(val >> 8); 260 out.write(val >> 16); 261 out.write(val >> 24); 265 out.write(val >> 0); 266 out.write(val >> 8);
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | QuotedPrintable.java | 58 buffer.write((char) ((u << 4) + l)); 63 buffer.write(b);
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
H A D | ustdxept.cpp | 56 void error_message::write (ostream& os) const function in class:ustl::error_message 58 exception::write (os);
|
H A D | cmemlink.cpp | 42 void cmemlink::write (ostream& os) const function in class:ustl::cmemlink 47 os.write (cdata(), sz); 54 os.write (begin(), readable_size()); 57 /// Returns the number of bytes required to write this object to a stream. 70 f.write (cdata(), readable_size());
|