Searched defs:write (Results 1 - 25 of 56) sorted by path

123

/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp489 ssize_t VideoEditorPlayer::VeAudioOutput::write( function in class:android::VideoEditorPlayer::VeAudioOutput
492 LOG_FATAL_IF(mCallback != NULL, "Don't call write if supplying a callback.");
494 //ALOGV("write(%p, %u)", buffer, size);
497 ssize_t ret = mTrack->write(buffer, size);
573 ::write(fd, result.string(), result.size());
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp1072 ssize_t AudioTrack::write(const void* buffer, size_t userSize) function in class:android::AudioTrack
1081 ALOGE("AudioTrack::write(buffer=%p, size=%u (%d)",
1086 ALOGV("write %p: %d bytes, mActive=%d", this, userSize, mActive);
1359 // restore write index and set other indexes to reflect empty buffer status
1450 ::write(fd, result.string(), result.size());
H A DSoundPoolThread.cpp25 void SoundPoolThread::write(SoundPoolMsg msg) { function in class:android::SoundPoolThread
102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID));
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp316 ::write(fd, result.string(), result.size());
337 ::write(fd, result.string(), result.size());
353 write(fd, result.string(), result.size());
360 write(fd, "\n", 1);
389 write(fd, result.string(), result.size());
474 write(fd, result.string(), result.size());
1455 ALOGV("can't chain callback and write");
1552 ssize_t MediaPlayerService::AudioOutput::write(const void* buffer, size_t size) function in class:android::MediaPlayerService::AudioOutput
1554 LOG_FATAL_IF(mCallback != NULL, "Don't call write if supplying a callback.");
1556 //ALOGV("write(
1807 ssize_t MediaPlayerService::AudioCache::write(const void* buffer, size_t size) function in class:android::MediaPlayerService::AudioCache
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp54 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) function in class:android::AudioStreamOutSink
60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift);
H A DLibsndfileSink.cpp37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) function in class:android::LibsndfileSink
H A DMonoPipe.cpp96 ssize_t MonoPipe::write(const void *buffer, size_t count) function in class:android::MonoPipe
163 // deduct the elapsed time since previous write() completed
186 // record the time that this write() completed
218 // use the current value of the write pointer to figure out how many
220 // next time we write to the MonoPipe, the data will hit the speakers at
H A DPipe.cpp43 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/media/libstagefright/
H A DMPEG4Writer.cpp79 // A helper class to handle faster write box with table entries
167 // @arg writer the writer to actual write to the storage
168 void write(MPEG4Writer *writer) const { function in struct:android::MPEG4Writer::Track::ListTableEntries
176 writer->write(*it, sizeof(TYPE) * mEntryCapacity, mElementCapacity);
179 writer->write(*it, sizeof(TYPE) * mEntryCapacity, nEntries);
399 ::write(fd, result.string(), result.size());
421 ::write(fd, result.string(), result.size());
604 write("free", 4);
613 write("????mdat", 8);
615 write("\x0
992 size_t MPEG4Writer::write( function in class:android::MPEG4Writer
1152 void MPEG4Writer::write(const void *data, size_t size) { function in class:android::MPEG4Writer
[all...]
H A DSkipCutBuffer.cpp58 write(src, buflen);
85 write(src, buflen);
99 void SkipCutBuffer::write(const char *src, size_t num) { function in class:android::SkipCutBuffer
/frameworks/av/media/mtp/
H A DMtpEventPacket.cpp43 int MtpEventPacket::write(int fd) { function in class:android::MtpEventPacket
H A DMtpProperty.cpp165 void MtpProperty::write(MtpDataPacket& packet) { function in class:android::MtpProperty
H A DMtpRequestPacket.cpp49 // write our buffer to the given endpoint (host mode)
50 int MtpRequestPacket::write(struct usb_request *request) function in class:android::MtpRequestPacket
H A DMtpResponsePacket.cpp38 int MtpResponsePacket::write(int fd) { function in class:android::MtpResponsePacket
41 int ret = ::write(fd, mBuffer, mPacketSize);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp155 // For example, one HAL implementation returns an error from a large write,
335 write(fd, result.string(), result.size());
351 write(fd, result.string(), result.size());
364 write(fd, result.string(), result.size());
389 write(fd, result.string(), result.size());
399 write(fd, result.string(), result.size());
1276 write(fd, buffer, strlen(buffer));
1317 write(fd, result.string(), result.size());
1331 write(fd, buffer, strlen(buffer));
1624 write(f
5542 bool AudioFlinger::PlaybackThread::OutputTrack::write(int16_t* data, uint32_t frames) function in class:android::AudioFlinger::PlaybackThread::OutputTrack
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothOutputStream.java53 public void write(int oneByte) throws IOException { method in class:BluetoothOutputStream
56 mSocket.write(b, 0, 1);
68 * the number of bytes from {@code buffer} to write to this
78 public void write(byte[] b, int offset, int count) throws IOException { method in class:BluetoothOutputStream
85 mSocket.write(b, offset, count);
H A DBluetoothSocket.java420 /*package*/ int write(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket
422 if (VDBG) Log.d(TAG, "write: " + mSocketOS + " length: " + length);
423 mSocketOS.write(b, offset, length);
425 if (VDBG) Log.d(TAG, "write out: " + mSocketOS + " length: " + length);
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java270 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
274 super.write(buffer, offset, count);
279 super.write(buffer, offset, count);
283 public void write(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
288 super.write(buffer);
293 super.write(buffer);
297 public void write(int oneByte) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
300 super.write(oneByte);
305 super.write(oneByte);
/frameworks/base/core/java/android/hardware/
H A DSerialPort.java103 * @param buffer to write
104 * @param length number of bytes to write
106 public void write(ByteBuffer buffer, int length) throws IOException { method in class:SerialPort
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java42 /** file descriptor array that should be written during next write */
112 public void write (byte[] b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
113 write(b, 0, b.length);
118 public void write (byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
132 public void write (int b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
428 * 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
92 * After this method has been called, read and write operations through this object
211 * @param buffer byte array to write bytes from.
212 * @param srcOffset offset into the byte array buffer to write from.
213 * @param destOffset offset into the memory file to write to.
214 * @param count number of bytes to write.
220 throw new IOException("Can't write to deactivated memory file.");
331 public void write(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryOutputStream
337 public void write(int oneByte) throws IOException { method in class:MemoryFile.MemoryOutputStream
342 write(mSingleByt
[all...]
/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/android/util/
H A DBase64OutputStream.java40 * @param out the OutputStream to write the encoded data to
53 * @param out the OutputStream to write the encoded data to
70 public void write(int b) throws IOException { method in class:Base64OutputStream
72 // bytes, we buffer up calls to write(int) in an internal
80 // internal buffer full; write it out.
88 * Flush any buffered data from calls to write(int). Needed
89 * before doing a write(byte[], int, int) or a close().
98 public void write(byte[] b, int off, int len) throws IOException { method in class:Base64OutputStream
141 out.write(coder.output, 0, coder.op);
H A DLogWriter.java64 @Override public void write(char[] buf, int offset, int count) { method in class:LogWriter

Completed in 102 milliseconds

123