Searched defs:write (Results 51 - 75 of 117) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/util/
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...]
H A DFastPrintWriter.java49 public void write(char[] buf, int offset, int count) throws IOException { method in class:FastPrintWriter.DummyWriter
352 mOutputStream.write(mBytes.array(), 0, position);
380 mWriter.write(mText, 0, mPos);
483 * The bytes are then written to the target with {@code write(int)}.
489 * @see #write(int)
585 * the buffer to write to the target.
587 * the index of the first character in {@code buffer} to write.
589 * the number of characters in {@code buffer} to write.
595 public void write(char[] buf, int offset, int count) { method in class:FastPrintWriter
614 * the character to write t
617 public void write(int oneChar) { method in class:FastPrintWriter
635 public void write(String str) { method in class:FastPrintWriter
661 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/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/core/java/com/android/server/pm/
H A DCompilerStats.java176 public void write(Writer out) { method in class:CompilerStats
268 write(osw);
275 Log.e(PackageManagerService.TAG, "Failed to write compiler stats", e);
/frameworks/base/tools/aapt/
H A DZipEntry.cpp452 status_t ZipEntry::LocalFileHeader::write(FILE* fp) function in class:ZipEntry::LocalFileHeader
471 /* write filename */
477 /* write "extra field" */
610 status_t ZipEntry::CentralDirEntry::write(FILE* fp) function in class:ZipEntry::CentralDirEntry
635 /* write filename */
641 /* write "extra field" */
647 /* write comment */
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp179 bool FileHandle::write(const void* pMemBuffer, function in class:mcld::FileHandle
/frameworks/native/libs/sensor/
H A DSensorEventQueue.cpp60 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, function in class:android::SensorEventQueue
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamTrack.cpp344 aaudio_result_t AudioStreamTrack::write(const void *buffer, function in class:AudioStreamTrack
361 ssize_t bytesWritten = mAudioTrack->write(buffer, numBytes, blocking);
365 ALOGE("invalid write, returned %d", (int)bytesWritten);
/frameworks/av/media/libaudiohal/
H A DStreamHalHidl.cpp299 status_t StreamOutHalHidl::write(const void *buffer, size_t bytes, size_t *written) { function in class:StreamOutHalHidl
304 // Can't determine the size for the MQ buffer. Wait for a non-empty write request.
305 ALOGW_IF(mCallback.unsafe_get(), "First call to async write with 0 bytes");
315 WriteCommand::WRITE, "write", static_cast<const uint8_t*>(buffer), bytes,
328 if (!mCommandMQ->write(&cmd)) {
329 ALOGE("command message queue write failed for \"%s\"", cmdName);
335 ALOGW("truncating write data from %lld to %lld due to insufficient data queue space",
339 if (!mDataMQ->write(data, dataSize)) {
340 ALOGE("data message queue write failed for \"%s\"", cmdName);
599 if (!mCommandMQ->write(
[all...]
/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
547 * is one deep. The file descriptors will be sent with the next write
/frameworks/base/core/java/android/os/
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/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.java382 * up long messages and stacktraces along newlines, but tries to write in large
439 * Helper class to write to the logcat. Different from LogWriter, this writes
465 public void write(char[] cbuf, int off, int len) { method in class:Log.ImmediateLogWriter
/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java113 public void write(int value) { method in class:StrictJarVerifier.VerifierEntry
121 public void write(byte[] buf, int off, int nbytes) { method in class:StrictJarVerifier.VerifierEntry
/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.cpp192 virtual bool write(const void* buffer, size_t size) { function in class:SkJavaOutputStream
211 SkDebugf("--- write:SetByteArrayElements threw an exception\n");
220 SkDebugf("------- write threw an exception\n");
274 gOutputStream_writeMethodID = getMethodIDCheck(env, outputStream_Clazz, "write", "([BII)V");
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp91 void write(SkWStream* stream) { function in class:android::PdfDocument
146 document->write(skWStream);
/frameworks/base/core/jni/
H A Dandroid_os_HwBlob.cpp142 status_t JHwBlob::write(size_t offset, const void *data, size_t size) { function in class:android::JHwBlob
180 return write(offset, &data, sizeof(data));
336 status_t err = blob->write(offset, &x, sizeof(x)); \
356 status_t err = blob->write(offset, &b, sizeof(b));
379 subBlob->write(0 /* offset */, s, size);
388 blob->write(offset, &tmp, sizeof(tmp));
/frameworks/base/core/tests/utiltests/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.java249 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
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java354 public void write(ParcelFileDescriptor destination) throws RemoteException { method in class:PdfManipulationService.PdfEditorImpl
359 Log.i(LOG_TAG, "write()");
361 mEditor.write(destination);

Completed in 1856 milliseconds

12345