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

123

/frameworks/native/libs/gui/
H A DLayerState.cpp25 status_t layer_state_t::write(Parcel& output) const function in class:android::layer_state_t
29 err = output.write(transparentRegion);
35 err = output.write(this, size);
53 status_t ComposerState::write(Parcel& output) const { function in class:android::ComposerState
55 return state.write(output);
64 status_t DisplayState::write(Parcel& output) const { function in class:android::DisplayState
70 output.write(viewport);
71 output.write(frame);
H A DBitTube.cpp96 ssize_t BitTube::write(void const* vaddr, size_t size) function in class:android::BitTube
140 ssize_t size = tube->write(vaddr, objSize);
H A DSensor.cpp111 size_t write(void* buffer, size_t offset, const String8& value) { function in namespace:android
117 size_t write(void* buffer, size_t offset, float value) { function in namespace:android
123 size_t write(void* buffer, size_t offset, int32_t value) { function in namespace:android
131 offset += write(buffer, offset, int32_t(mName.length()));
132 offset += write(buffer, offset, mName);
133 offset += write(buffer, offset, int32_t(mVendor.length()));
134 offset += write(buffer, offset, mVendor);
135 offset += write(buffer, offset, mVersion);
136 offset += write(buffer, offset, mHandle);
137 offset += write(buffe
[all...]
H A DSensorEventQueue.cpp57 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, function in class:android::SensorEventQueue
/frameworks/av/media/mtp/
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);
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
/frameworks/av/media/libnbaio/
H A DLibsndfileSink.cpp37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) function in class:android::LibsndfileSink
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
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);
/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);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoWriter.cpp18 // This file implements RSInfo::write()
153 // And write out an item.
154 if (pOutput.write(&item, sizeof(item)) != sizeof(item)) {
155 ALOGE("Cannot write out item of %s for RSInfo file %s! (%s)",
167 bool RSInfo::write(OutputFile &pOutput) { function in class:RSInfo
183 if (pOutput.write(&mHeader, sizeof(mHeader)) != sizeof(mHeader)) {
184 ALOGE("Cannot write out the header for RSInfo file %s! (%s)",
190 if (static_cast<size_t>(pOutput.write(mStringPool, mHeader.strPoolSize))
192 ALOGE("Cannot write out the string pool for RSInfo file %s! (%s)",
/frameworks/compile/libbcc/lib/Support/
H A DOutputFile.cpp83 ssize_t OutputFile::write(const void *pBuf, size_t count) { function in class:OutputFile
90 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf);
95 ssize_t write_size = ::write(mFD, pBuf, count);
100 // If the errno is EAGAIN or EINTR, then we try to write again.
/frameworks/support/v4/java/android/support/v4/util/
H A DLogWriter.java51 @Override public void write(char[] buf, int offset, int count) { method in class:LogWriter
/frameworks/av/media/libmedia/
H A DSoundPoolThread.cpp25 void SoundPoolThread::write(SoundPoolMsg msg) { function in class:android::SoundPoolThread
102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID));
/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
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseOutputStream.java20 * An object that provides bitwise incremental write access to a byte array.
89 * @param bits the amount of data to write (gte 0, lte 8)
90 * @param data to write, will be masked to expose only bits param from lsb
92 public void write(int bits, int data) throws AccessException { method in class:BitwiseOutputStream
94 throw new AccessException("illegal write (" + bits + " bits)");
109 * @param bits the amount of data to write
116 write(increment, (byte)(arr[i] >>> (8 - increment)));
H A DIndentingPrintWriter.java25 * write on a newline, enabling indent modification after newline.
54 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter
62 super.write(buf, lineStart, lineEnd - lineStart);
70 super.write(buf, lineStart, lineEnd - lineStart);
81 super.write(mCurrent, 0, mCurrent.length);
/frameworks/support/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/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/av/media/libstagefright/
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/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/compile/slang/
H A Dslang_rs_reflection_base.cpp84 errorMsg = "failed to open file '" + cf + "' for write";
98 write(mLicenseNote);
101 write("/*");
102 write(" * This file is auto-generated. DO NOT MODIFY!");
103 write(" * The source Renderscript file: " + mInputFileName);
104 write(" */");
105 write("");
118 void RSReflectionBase::write(const std::string &t) { function in class:slang::RSReflectionBase
123 void RSReflectionBase::write(const std::stringstream &t) { function in class:slang::RSReflectionBase
139 fprintf(stderr, "Error: could not write fil
[all...]

Completed in 465 milliseconds

123