Searched defs:write (Results 26 - 50 of 77) sorted by relevance

1234

/frameworks/volley/src/com/android/volley/toolbox/
H A DPoolingByteArrayOutputStream.java83 public synchronized void write(byte[] buffer, int offset, int len) { method in class:PoolingByteArrayOutputStream
85 super.write(buffer, offset, len);
89 public synchronized void write(int oneByte) { method in class:PoolingByteArrayOutputStream
91 super.write(oneByte);
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp53 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) function in class:android::AudioStreamOutSink
59 ssize_t ret = mStream->write(mStream, buffer, count * mFrameSize);
H A DMonoPipe.cpp117 ssize_t MonoPipe::write(const void *buffer, size_t count) function in class:android::MonoPipe
184 // deduct the elapsed time since previous write() completed
207 // record the time that this write() completed
239 // use the current value of the write pointer to figure out how many
241 // next time we write to the MonoPipe, the data will hit the speakers at
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp58 write(src, buflen);
85 write(src, buflen);
100 void SkipCutBuffer::write(const char *src, size_t num) { function in class:android::SkipCutBuffer
/frameworks/base/core/java/android/hardware/
H A DSerialPort.java102 * @param buffer to write
103 * @param length number of bytes to write
105 public void write(ByteBuffer buffer, int length) throws IOException { method in class:SerialPort
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java27 * Delays writing indent until first actual write on a newline, enabling indent
43 * next write should be prefixed with the current indent.
76 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter
88 super.write(buf, lineStart, lineEnd - lineStart);
98 super.write('\n');
104 super.write(buf, lineStart, lineEnd - lineStart);
105 super.write('\n');
115 super.write(buf, lineStart, lineEnd - lineStart);
126 super.write(mCurrentIndent, 0, mCurrentIndent.length);
H A DFastPrintWriter.java32 public void write(char[] buf, int offset, int count) throws IOException { method in class:FastPrintWriter.DummyWriter
334 mOutputStream.write(mBytes.array(), 0, position);
358 mWriter.write(mText, 0, mPos);
452 * The bytes are then written to the target with {@code write(int)}.
458 * @see #write(int)
552 * the buffer to write to the target.
554 * the index of the first character in {@code buffer} to write.
556 * the number of characters in {@code buffer} to write.
562 public void write(char[] buf, int offset, int count) { method in class:FastPrintWriter
579 * the character to write t
582 public void write(int oneChar) { method in class:FastPrintWriter
598 public void write(String str) { method in class:FastPrintWriter
622 public void write(String str, int offset, int count) { method in class:FastPrintWriter
[all...]
H A DFileRotator.java76 public void write(OutputStream out) throws IOException; method in interface:FileRotator.Writer
118 // write failed with backup; recover last file
128 // write failed without backup; delete both
178 * writing modified data. Maintains a backup during write, which is restored
179 * if the write fails.
207 public void write(OutputStream out) throws IOException {
208 writer.write(out);
229 * writing modified data. Maintains a backup during write, which is restored
230 * if the write fails.
244 // skip when rewriter has nothing to write
[all...]
/frameworks/native/libs/gui/
H A DBitTube.cpp107 ssize_t BitTube::write(void const* vaddr, size_t size) function in class:android::BitTube
149 ssize_t size = tube->write(vaddr, count*objSize);
H A DSensorEventQueue.cpp59 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, function in class:android::SensorEventQueue
/frameworks/av/media/mtp/
H A DMtpProperty.cpp178 void MtpProperty::write(MtpDataPacket& packet) { function in class:android::MtpProperty
/frameworks/base/core/java/android/os/
H A DFileBridge.java108 IoBridge.write(mTarget, temp, 0, n);
115 IoBridge.write(mServer, temp, 0, MSG_LENGTH);
122 IoBridge.write(mServer, temp, 0, MSG_LENGTH);
165 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH);
178 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:FileBridge.FileBridgeOutputStream
182 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH);
183 IoBridge.write(mClient, buffer, byteOffset, byteCount);
187 public void write(int oneByte) throws IOException { method in class:FileBridge.FileBridgeOutputStream
H A DMemoryFile.java33 * After a file is purged, attempts to read or write the file will
97 * After this method has been called, read and write operations through this object
216 * @param buffer byte array to write bytes from.
217 * @param srcOffset offset into the byte array buffer to write from.
218 * @param destOffset offset into the memory file to write to.
219 * @param count number of bytes to write.
225 throw new IOException("Can't write to deactivated memory file.");
336 public void write(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryOutputStream
342 public void write(int oneByte) throws IOException { method in class:MemoryFile.MemoryOutputStream
347 write(mSingleByt
[all...]
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXmlV1.java150 // Now write the attributes representing the configuration object.
226 * @param xml The serializer to which to write the packageStats data.
227 * @param stats The stats object to write to the XML file.
229 public static void write(XmlSerializer xml, IntervalStats stats) throws IOException { method in class:UsageStatsXmlV1
/frameworks/base/tools/aapt/
H A DZipEntry.cpp469 status_t ZipEntry::LocalFileHeader::write(FILE* fp) function in class:ZipEntry::LocalFileHeader
488 /* write filename */
494 /* write "extra field" */
627 status_t ZipEntry::CentralDirEntry::write(FILE* fp) function in class:ZipEntry::CentralDirEntry
652 /* write filename */
658 /* write "extra field" */
664 /* write comment */
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp187 bool FileHandle::write(const void* pMemBuffer, size_t pStartOffset, size_t pLength) function in class:FileHandle
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java300 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
304 super.write(buffer, offset, count);
309 super.write(buffer, offset, count);
313 public void write(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
318 super.write(buffer);
323 super.write(buffer);
327 public void write(int oneByte) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
330 super.write(oneByte);
335 super.write(oneByte);
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java230 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/android/speech/tts/
H A DBlockingAudioTrack.java117 public int write(byte[] data) { method in class:BlockingAudioTrack
164 // The last call to AudioTrack.write( ) will return only after
202 int written = audioTrack.write(bytes, count, bytes.length);
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java63 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/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp191 virtual bool write(const void* buffer, size_t size) { function in class:SkJavaOutputStream
210 SkDebugf("--- write:SetByteArrayElements threw an exception\n");
219 SkDebugf("------- write threw an exception\n");
273 gOutputStream_writeMethodID = getMethodIDCheck(env, outputStream_Clazz, "write", "([BII)V");
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp94 void write(SkWStream* stream) { function in class:android::PdfDocument
149 document->write(skWStream);
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFileRotatorTest.java82 // write single new value
98 // first combine should have empty read, but still write data.
104 // and write final data to disk.
181 // first, write some valid data
190 public void write(OutputStream out) throws IOException {
196 fail("woah, somehow able to write exception");
202 // the failed write above.
226 write("rotator.100-200", "meow");
312 // return to present and verify we write oldest active file
323 // write activ
389 private void write(String name, String value) throws IOException { method in class:FileRotatorTest
[all...]
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfEditor.java219 public void write(ParcelFileDescriptor output) throws IOException { method in class:PdfEditor
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java88 public final void write(byte b[]) { method in class:SerializedFrame.DirectByteOutputStream
89 write(b, 0, b.length);
93 public final void write(byte b[], int off, int len) { method in class:SerializedFrame.DirectByteOutputStream
100 public final void write(int b) { method in class:SerializedFrame.DirectByteOutputStream

Completed in 979 milliseconds

1234