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

12345

/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java55 * Creates an empty <code>PrivateOutputStream</code> to write to.
75 * write is that one byte is written to the output stream. The byte to be
78 * @param b the byte to write
82 public synchronized void write(int b) throws IOException { method in class:PrivateOutputStream
85 mArray.write(b);
92 public void write(byte[] buffer) throws IOException { method in class:PrivateOutputStream
93 write(buffer, 0, buffer.length);
97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { method in class:PrivateOutputStream
112 mArray.write(buffer, offset1, bufferLeft);
118 mArray.write(buffe
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpFileWriter.java52 int write(long offset, int size, byte[] bytes) throws IOException, ErrnoException { method in class:MtpFileWriter
61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size);
/frameworks/base/services/core/java/com/android/server/net/
H A DDelayedDiskWrite.java40 public void write(final String filePath, final Writer w) { method in class:DelayedDiskWrite
41 write(filePath, w, true);
44 public void write(final String filePath, final Writer w, final boolean open) { method in class:DelayedDiskWrite
49 /* Do a delayed write to disk on a separate handler thread */
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXml.java78 public static void write(AtomicFile file, IntervalStats stats) throws IOException { method in class:UsageStatsXml
81 write(fos, stats);
85 // When fos is null (successful write), this will no-op
116 static void write(OutputStream out, IntervalStats stats) throws IOException { method in class:UsageStatsXml
124 UsageStatsXmlV1.write(xml, stats);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DUnsafeByteSequence.java43 * Moves the write pointer back to the beginning of the sequence,
50 public void write(byte[] buffer, int offset, int length) { method in class:UnsafeByteSequence
60 public void write(int b) { method in class:UnsafeByteSequence
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMediaStoreSaver.java37 void write(OutputStream imageOut) throws IOException; method in interface:MediaStoreSaver.StreamWriter
46 public void write(OutputStream imageOut) {
77 source.write(imageOut);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java37 void write(OutputStream imageOut) throws IOException; method in interface:MediaStoreSaver.StreamWriter
46 public void write(OutputStream imageOut) {
77 source.write(imageOut);
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp58 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) function in class:android::AudioStreamOutSink
65 status_t ret = mStream->write(buffer, count * mFrameSize, &written);
H A DMonoPipe.cpp66 ssize_t MonoPipe::write(const void *buffer, size_t count) function in class:android::MonoPipe
73 ssize_t actual = mFifoWriter.write(buffer, count);
128 // deduct the elapsed time since previous write() completed
151 // record the time that this write() completed
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp81 write(src, buflen);
114 write(src, buflen);
137 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.java35 * {@link PersistentDataBlockManager#write(byte[])}
88 * {@link #wipe} will block any further {@link #write} operation until reboot,
91 * @param data the data to write
94 public int write(byte[] data) { method in class:PersistentDataBlockManager
96 return sService.write(data);
144 * It will also prevent any further {@link #write} operation until reboot,
/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java50 public void write(LogMaker content) { method in class:MetricsLogger
189 /** @deprecated use {@link #write(LogMaker)} */
192 getLogger().write(content);
/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);
/frameworks/native/libs/gui/
H A DBitTube.cpp89 ssize_t BitTube::write(void const* vaddr, size_t size) { function in class:android::gui::BitTube
134 ssize_t size = tube->write(vaddr, count * objSize);
/frameworks/native/libs/sensor/
H A DBitTube.cpp105 ssize_t BitTube::write(void const* vaddr, size_t size) function in class:android::BitTube
147 ssize_t size = tube->write(vaddr, count*objSize);
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalPlay.cpp38 aaudio_result_t AudioStreamInternalPlay::write(const void *buffer, int32_t numFrames, function in class:AudioStreamInternalPlay
61 // If the read index passed the write index then consider it an underrun.
69 //ALOGD("AudioStreamInternal::processDataNow() - tried to write %d frames, wrote %d",
83 // Don't wait to write more data. Just prime the buffer.
236 // Render audio in the application callback and then write the data to the stream.
257 result = write(mCallbackBuffer, mCallbackFrames, timeoutNanos);
259 ALOGE("AudioStreamInternalPlay(): callbackLoop: write() returned %d", result);
/frameworks/av/media/libaaudio/src/fifo/
H A DFifoBuffer.cpp151 fifo_frames_t FifoBuffer::write(const void *buffer, fifo_frames_t numFrames) { function in class:FifoBuffer
/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.cpp205 ssize_t AudioStreamOut::write(const void *buffer, size_t numBytes) function in class:android::AudioStreamOut
208 status_t result = stream->write(buffer, numBytes, &bytesWritten);
H A DBufLog.cpp74 size_t BufLog::write(int streamid, const char *tag, int format, int channels, function in class:BufLog
87 return pBLStream->write(buf, size);
162 size_t BufLogStream::write(const void *buf, size_t size) { function in class:BufLogStream
180 ALOGV("Warning: trying to write to %s BufLogStream id:%d tag:%s",
/frameworks/base/cmds/incidentd/src/
H A DReporter.cpp44 ssize_t amt = ::write(fd, buf, size);
95 ReportRequestSet::write(uint8_t const* buf, size_t size) function in class:ReportRequestSet
121 // Return an error only when there are no FDs to write.
226 // Execute - go get the data and write it into the file descriptors.
/frameworks/base/core/java/android/os/
H A DFileBridge.java110 IoBridge.write(mTarget, temp, 0, n);
117 IoBridge.write(mServer, temp, 0, MSG_LENGTH);
124 IoBridge.write(mServer, temp, 0, MSG_LENGTH);
167 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH);
180 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:FileBridge.FileBridgeOutputStream
184 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH);
185 IoBridge.write(mClient, buffer, byteOffset, byteCount);
189 public void write(int oneByte) throws IOException { method in class:FileBridge.FileBridgeOutputStream
/frameworks/base/core/java/android/provider/
H A DSettingsStringUtil.java172 public boolean write(String value) { method in class:SettingsStringUtil.SettingStringHelper
178 return write(change.apply(read()));
/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...]

Completed in 765 milliseconds

12345