/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 63 public void write(int oneByte) throws IOException { 110 public void write(int oneByte) { method in class:LoggingPrintStream 111 write(new byte[] { (byte) oneByte }, 0, 1); 115 public void write(byte[] buffer) { method in class:LoggingPrintStream 116 write(buffer, 0, buffer.length); 120 public synchronized void write(byte bytes[], int start, int count) { method in class:LoggingPrintStream
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LoggingPrintStreamTest.java | 136 out.write(expected.getBytes("UTF-8")); 144 out.write(b); 152 out.write(expected.getBytes()); 162 out.write(bytes, i, 5); 165 out.write(bytes, i, bytes.length - i); 175 out.write(toWrite.getBytes());
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | CameraStressTest.java | 159 fos.write(data); 210 output.write("Camera zoom stress:\n"); 211 output.write("Total number of loops: " + NUMBER_OF_ZOOM_LOOPS + "\n"); 215 output.write("No of loop: "); 268 output.write(" ," + i); 278 output.write("\n\n");
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LayoutTestsAutoTest.java | 54 mBufferedOutputPassedStream.write(layout_file.getBytes()); 55 mBufferedOutputPassedStream.write('\n'); 64 mBufferedOutputFailedStream.write(layout_file.getBytes()); 65 mBufferedOutputFailedStream.write('\n'); 74 mBufferedOutputIgnoreResultStream.write(layout_file.getBytes()); 75 mBufferedOutputIgnoreResultStream.write('\n'); 84 mBufferedOutputNoResultStream.write(layout_file.getBytes()); 85 mBufferedOutputNoResultStream.write('\n'); 483 out.write(buf, 0, len);
|
H A D | FsUtils.java | 92 bos.write(s.getBytes()); 95 bos.write((" IGNORE_RESULT").getBytes()); 97 bos.write('\n'); 108 bos.write(s.getBytes()); 218 fw.write(line);
|
/frameworks/base/obex/javax/obex/ |
H A D | ServerOperation.java | 95 * @param out the output stream to write to 339 out.write(headerArray); 367 out.write(0x49); 369 out.write(0x48); 373 out.write((byte)(bodyLength >> 8)); 374 out.write((byte)bodyLength); 375 out.write(body); 380 out.write(0x49); 382 out.write((byte)(orginalBodyLength >> 8)); 383 out.write((byt [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MemoryFileTest.java | 86 os.write(testString); 107 os.write(new byte[] { 1, 2, 3, 4, 5 }); 108 os.write(new byte[] { -1, -1, 6, 7, 8, -1 }, 2, 3); 109 os.write(9); 111 os.write(new byte[] { -1, -1 }); 214 // Tests that we can't write to a closed memory file
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 79 // A helper class to handle faster write box with table entries 167 // @arg writer the writer to actual write to the storage 168 void write(MPEG4Writer *writer) const { function in struct:android::MPEG4Writer::Track::ListTableEntries 176 writer->write(*it, sizeof(TYPE) * mEntryCapacity, mElementCapacity); 179 writer->write(*it, sizeof(TYPE) * mEntryCapacity, nEntries); 399 ::write(fd, result.string(), result.size()); 421 ::write(fd, result.string(), result.size()); 604 write("free", 4); 613 write("????mdat", 8); 615 write("\x0 992 size_t MPEG4Writer::write( function in class:android::MPEG4Writer 1152 void MPEG4Writer::write(const void *data, size_t size) { function in class:android::MPEG4Writer [all...] |
H A D | SkipCutBuffer.cpp | 58 write(src, buflen); 85 write(src, buflen); 99 void SkipCutBuffer::write(const char *src, size_t num) { function in class:android::SkipCutBuffer
|
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 477 out.write("-1 -1 -1"); 480 out.write("DONE."); 571 out.write(String.valueOf(durationMeasure)); 572 out.write(' '); 573 out.write(String.valueOf(durationLayout)); 574 out.write(' '); 575 out.write(String.valueOf(durationDraw)); 642 clientStream.write(2); 660 clientStream.write(1); 764 out.write("DON [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 110 out.write(buffer, 0, bytesRead); 187 if (len > 0) contents.write(data, 0, len); 207 out.write(string);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SocketTest.java | 77 s.getOutputStream().write(0xa5); 81 s1.getOutputStream().write(0x5a); 140 client.getOutputStream().write(1);
|
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 87 if (size != write(fd, data.string(), size)) { 88 ALOGE("Failed to write the data to: %s", filePath.string()); 103 if (size != write(fd, data.string(), size)) { 104 ALOGE("Failed to write the data to: %s", filePath.string());
|
/frameworks/av/media/libmedia/ |
H A D | IEffectClient.cpp | 75 data.write(pCmdData, size); 83 data.write(pReplyData, size);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 80 // write single new value 96 // first combine should have empty read, but still write data. 102 // and write final data to disk. 179 // first, write some valid data 188 public void write(OutputStream out) throws IOException { 194 fail("woah, somehow able to write exception"); 200 // the failed write above. 224 write("rotator.100-200", "meow"); 310 // return to present and verify we write oldest active file 321 // write activ 377 private void write(String name, String value) throws IOException { method in class:FileRotatorTest [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | DeviceMonitor.java | 159 out.write(buffer, 0, count); 172 out.write(header.getBytes());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 480 dos.write(destAddr.digitMode); 481 dos.write(destAddr.numberMode); 482 dos.write(destAddr.ton); // number_type 483 dos.write(destAddr.numberPlan); 484 dos.write(destAddr.numberOfDigits); 485 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits 487 dos.write(0); //subaddressType 488 dos.write(0); //subaddr_odd 489 dos.write(0); //subaddr_nbr_of_digits 490 dos.write(encodedBearerDat [all...] |
H A D | SmsMessage.java | 871 dos.write(destAddr.digitMode); 872 dos.write(destAddr.numberMode); 873 dos.write(destAddr.ton); // number_type 874 dos.write(destAddr.numberPlan); 875 dos.write(destAddr.numberOfDigits); 876 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits 878 dos.write(0); //subaddressType 879 dos.write(0); //subaddr_odd 880 dos.write(0); //subaddr_nbr_of_digits 881 dos.write(encodedBearerDat [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | MonoPipe.h | 28 // - write() cannot overrun; instead it will return a short actual count if insufficient space 29 // - write() can optionally block if the pipe is full 57 virtual ssize_t write(const void *buffer, size_t count); 68 // MonoPipe who would like to know when their next write operation will hit 75 // See throttling mechanism in MonoPipe::write() 80 // Set the shutdown state for the write side of a pipe. 82 // a write that would otherwise block instead returns a short transfer count. 88 // Return true if the write side of a pipe is currently shutdown. 122 struct timespec mWriteTs; // time that the previous write() completed 124 const bool mWriteCanBlock; // whether write() shoul [all...] |
/frameworks/av/media/libnbaio/ |
H A D | Pipe.cpp | 43 ssize_t Pipe::write(const void *buffer, size_t count) function in class:android::Pipe 49 // write() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mRear
|
/frameworks/base/core/java/android/hardware/ |
H A D | SerialPort.java | 103 * @param buffer to write 104 * @param length number of bytes to write 106 public void write(ByteBuffer buffer, int length) throws IOException { method in class:SerialPort
|
/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 42 /** file descriptor array that should be written during next write */ 112 public void write (byte[] b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream 113 write(b, 0, b.length); 118 public void write (byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketOutputStream 132 public void write (int b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream 428 * is one deep. The file descriptors will be sent with the next write
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | StringPart.java | 121 * @param out the OutputStream to write to 122 * @throws IOException if there is a write error 127 out.write(getContent());
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | SSLTest.java | 42 // System.out.println("going for write..."); 43 out.write(get.getBytes());
|
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 82 amt = write(m_fd, &padding, paddingSize); 129 amt = write(m_fd, &header, sizeof(entity_header_v1)); 137 amt = write(m_fd, k.string(), keyLen+1); 163 // We don't write padding here, because they're allowed to call this several 164 // times with smaller buffers. We write it at the end of WriteEntityHeader 166 ssize_t amt = write(m_fd, data, size); 169 if (DEBUG) ALOGD("write returned error %d (%s)", m_status, strerror(m_status));
|