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

1234

/frameworks/volley/src/main/java/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.cpp67 ssize_t MonoPipe::write(const void *buffer, size_t count) function in class:android::MonoPipe
134 // deduct the elapsed time since previous write() completed
157 // record the time that this write() completed
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp81 write(src, buflen);
113 write(src, buflen);
128 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/android/service/persistentdata/
H A DPersistentDataBlockManager.java31 * {@link PersistentDataBlockManager#write(byte[])}
82 * @param data the data to write
84 public int write(byte[] data) { method in class:PersistentDataBlockManager
86 return sService.write(data);
/frameworks/base/core/java/com/android/internal/util/
H A DLineBreakBufferedWriter.java65 * @param out The writer to write to.
75 * @param out The writer to write to.
98 public void write(int c) { method in class:LineBreakBufferedWriter
108 write(new char[] { (char)c }, 0 ,1);
114 write(lineSeparator);
118 public void write(char[] buf, int off, int len) { method in class:LineBreakBufferedWriter
172 public void write(String s, int off, int len) { method in class:LineBreakBufferedWriter
285 * Helper method, write the given part of the buffer, [start,length), to the output.
290 super.write(buffer, 0, length);
H A DIndentingPrintWriter.java28 * Delays writing indent until first actual write on a newline, enabling indent
44 * next write should be prefixed with the current indent.
84 write('\n');
88 public void write(int c) { method in class:IndentingPrintWriter
90 write(mSingleChar, 0, 1);
94 public void write(String s, int off, int len) { method in class:IndentingPrintWriter
97 write(buf, 0, len);
101 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter
113 super.write(buf, lineStart, lineEnd - lineStart);
123 super.write('\
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentStack.java78 * details included in {@link #write(DataOutputStream)}, since they change
125 public void write(DataOutputStream out) throws IOException { method in class:DocumentStack
129 root.write(out);
137 doc.write(out);
/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.cpp63 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/av/services/audioflinger/
H A DAudioStreamOut.cpp202 ssize_t AudioStreamOut::write(const void *buffer, size_t numBytes) function in class:android::AudioStreamOut
205 ssize_t bytesWritten = stream->write(stream, buffer, numBytes);
/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/core/java/android/util/jar/
H A DStrictJarManifest.java173 public void write(OutputStream os) throws IOException { method in class:StrictJarManifest
174 write(this, os);
249 * the manifest to write out.
251 * The {@code OutputStream} to write to.
255 static void write(StrictJarManifest manifest, OutputStream out) throws IOException { method in class:StrictJarManifest
275 out.write(LINE_SEPARATOR);
286 out.write(LINE_SEPARATOR);
293 os.write(nameString.getBytes(StandardCharsets.US_ASCII));
294 os.write(VALUE_SEPARATOR);
306 os.write(bBu
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DLineBreakBufferedWriterTest.java212 // A writer recording calls to write.
225 public void write(char[] cbuf, int off, int len) { method in class:LineBreakBufferedWriterTest.RecordingWriter
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DNetworkPolicyEditor.java76 // when we cleaned policies above, write back changes
86 write(policies);
92 public void write(NetworkPolicy[] policies) { method in class:NetworkPolicyEditor
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXmlV1.java149 // Now write the attributes representing the configuration object.
225 * @param xml The serializer to which to write the packageStats data.
226 * @param stats The stats object to write to the XML file.
228 public static void write(XmlSerializer xml, IntervalStats stats) throws IOException { method in class:UsageStatsXmlV1
/frameworks/base/tools/aapt/
H A DZipEntry.cpp451 status_t ZipEntry::LocalFileHeader::write(FILE* fp) function in class:ZipEntry::LocalFileHeader
470 /* write filename */
476 /* write "extra field" */
609 status_t ZipEntry::CentralDirEntry::write(FILE* fp) function in class:ZipEntry::CentralDirEntry
634 /* write filename */
640 /* write "extra field" */
646 /* write comment */
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp179 bool FileHandle::write(const void* pMemBuffer, function in class:mcld::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/net/
H A DLocalSocketImpl.java51 /** file descriptor array that should be written during next write */
130 public void write (byte[] b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
131 write(b, 0, b.length);
136 public void write (byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
150 public void write (int b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
549 * is one deep. The file descriptors will be sent with the next write
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java116 public int write(byte[] data) { method in class:BlockingAudioTrack
163 // The last call to AudioTrack.write( ) will return only after
201 int written = audioTrack.write(bytes, count, bytes.length);
/frameworks/base/core/java/android/util/
H A DLog.java380 * up long messages and stacktraces along newlines, but tries to write in large
437 * Helper class to write to the logcat. Different from LogWriter, this writes
463 public void write(char[] cbuf, int off, int len) { method in class:Log.ImmediateLogWriter

Completed in 4514 milliseconds

1234