/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/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | SmsMessage.java | 905 dos.write(destAddr.digitMode); 906 dos.write(destAddr.numberMode); 907 dos.write(destAddr.ton); // number_type 908 dos.write(destAddr.numberPlan); 909 dos.write(destAddr.numberOfDigits); 910 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits 912 dos.write(0); //subaddressType 913 dos.write(0); //subaddr_odd 914 dos.write(0); //subaddr_nbr_of_digits 915 dos.write(encodedBearerDat [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | MonoPipe.h | 31 // - write() cannot overrun; instead it will return a short actual count if insufficient space 32 // - write() can optionally block if the pipe is full 60 virtual ssize_t write(const void *buffer, size_t count); 71 // MonoPipe who would like to know when their next write operation will hit 78 // See throttling mechanism in MonoPipe::write() 83 // Set the shutdown state for the write side of a pipe. 85 // a write that would otherwise block instead returns a short transfer count. 91 // Return true if the write side of a pipe is currently shutdown. 128 struct timespec mWriteTs; // time that the previous write() completed 130 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/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 129 write(fd, result.string(), result.size()); 142 write(fd, result.string(), result.size()); 146 write(fd, result.string(), result.size()); 154 write(fd, result.string(), result.size());
|
/frameworks/base/core/java/android/hardware/ |
H A D | SerialPort.java | 107 * @param buffer to write 108 * @param length number of bytes to write 110 public void write(ByteBuffer buffer, int length) throws IOException { method in class:SerialPort
|
/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 48 /** file descriptor array that should be written during next write */ 118 public void write (byte[] b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream 119 write(b, 0, b.length); 124 public void write (byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketOutputStream 138 public void write (int b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream 478 * 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/java/com/android/internal/os/ |
H A D | TransferPipe.java | 133 if (DEBUG) Slog.i(TAG, "read=" + getReadFd() + " write=" + getWriteFd() 136 // Close the write fd, so we know when the other side is done. 199 fos.write(buffer, 0, size); 205 fos.write(buffer, start, i-start); 209 fos.write(bufferPrefix); 221 fos.write(buffer, start, size-start);
|
/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));
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | KeyValueMap.java | 77 writer.write(entry.getKey() + " = " + valueString + ";\n");
|
H A D | SerializedFrame.java | 92 public final void write(byte b[]) { method in class:SerializedFrame.DirectByteOutputStream 93 write(b, 0, b.length); 97 public final void write(byte b[], int off, int len) { method in class:SerializedFrame.DirectByteOutputStream 104 public final void write(int b) { method in class:SerializedFrame.DirectByteOutputStream
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | GraphReader.java | 49 writer.write(buffer, 0, bytesRead);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | OutputStreamTarget.java | 59 mOutputStream.write(data.array(), 0, data.limit()); 63 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!");
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | ViewServer.java | 188 out.write(value); 189 out.write("\n"); 313 out.write("LIST UPDATE\n"); 317 out.write("FOCUS UPDATE\n");
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | UsbAccessoryStreamTransport.java | 68 mOutputStream.write(buffer, offset, count);
|
/frameworks/native/include/gui/ |
H A D | BitTube.h | 72 // send a message. The write is guaranteed to send the whole message or fail. 73 ssize_t write(void const* vaddr, size_t size); 76 // write call used to send the message, excess data is silently discarded.
|
H A D | SensorEventQueue.h | 61 static ssize_t write(const sp<BitTube>& tube,
|
/frameworks/webview/chromium/tools/ |
H A D | generate_local_manifest.py | 38 local_manifest_tree.write(local_manifest_path,
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 90 status_t write(const void* data, size_t len); 108 status_t write(const Flattenable<T>& val); 111 status_t write(const LightFlattenable<T>& val); 298 status_t write(const FlattenableHelperInterface& val); 318 status_t Parcel::write(const Flattenable<T>& val) { function in class:android::Parcel 320 return write(helper); 324 status_t Parcel::write(const LightFlattenable<T>& val) { function in class:android::Parcel
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 56 // write the size of the text sample 58 // write the text sample as a byte array 60 parcel->write(data, size); 76 // write start time to display this text sample 82 // write text sample length and text sample itself 86 parcel->write(data + 2, textLen); 222 parcel->write(tmpData + 5, len); 232 parcel->write(tmpData + 1, len); 362 parcel->write(tmpData + 3, len);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 180 public void write(Writer w) throws IOException { method in class:SettingsBackupAgent.Network 181 w.write("\nnetwork={\n"); 183 w.write("\t" + line + "\n"); 185 w.write("}\n"); 254 public void write(Writer w) throws IOException { method in class:SettingsBackupAgent.WifiNetworkSettings 263 net.write(w); 452 out.write(systemSettingsData); 455 out.write(secureSettingsData); 458 out.write(globalSettingsData); 461 out.write(local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 320 bo.write(0x00); 329 bo.write(0x08); 333 bo.write(userData, 0, userData.length); 421 bo.write(0x04); 426 bo.write(data.length + smsHeaderData.length + 1); 429 bo.write(smsHeaderData.length); 430 bo.write(smsHeaderData, 0, smsHeaderData.length); 433 bo.write(data, 0, data.length); 471 bo.write(mtiByte); 474 bo.write( [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 58 void write(const void *data, size_t size); 59 inline size_t write(const void *ptr, size_t size, size_t nmemb); 155 // Retrieve the proper chunk to write if there is one 159 // Actually write the given chunk to the file.
|