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

1234

/frameworks/native/libs/gui/
H A DLayerState.cpp25 status_t layer_state_t::write(Parcel& output) const function in class:android::layer_state_t
40 output.write(crop);
41 output.write(transparentRegion);
69 status_t ComposerState::write(Parcel& output) const { function in class:android::ComposerState
71 return state.write(output);
80 status_t DisplayState::write(Parcel& output) const { function in class:android::DisplayState
86 output.write(viewport);
87 output.write(frame);
/frameworks/av/media/mtp/
H A DMtpRequestPacket.cpp61 // write our buffer to the given endpoint (host mode)
62 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
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDurable.java26 public void write(DataOutputStream out) throws IOException; method in interface:Durable
H A DDocumentStack.java76 * details included in {@link #write(DataOutputStream)}, since they change
123 public void write(DataOutputStream out) throws IOException { method in class:DocumentStack
127 root.write(out);
135 doc.write(out);
/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::ByteArrayOutput
34 ALOGE("%s: Failed to write to ByteArrayOutput.", __FUNCTION__);
H A DFileOutput.cpp47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::FileOutput
49 ALOGE("%s: Could not write file %s, file not open.", __FUNCTION__, mPath.string());
H A DEndianUtils.cpp48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
50 if((res = mOutput->write(buf, offset, count)) == OK) {
56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count);
61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \
72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
/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.cpp46 ssize_t Pipe::write(const void *buffer, size_t count) function in class:android::Pipe
52 // write() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mRear
/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()
130 // And write out an item.
131 if (pOutput.write(&item, sizeof(item)) != sizeof(item)) {
132 ALOGE("Cannot write out item of %s for RSInfo file %s! (%s)",
144 bool RSInfo::write(OutputFile &pOutput) { function in class:RSInfo
160 if (pOutput.write(&mHeader, sizeof(mHeader)) != sizeof(mHeader)) {
161 ALOGE("Cannot write out the header for RSInfo file %s! (%s)",
167 if (static_cast<size_t>(pOutput.write(mStringPool, mHeader.strPoolSize))
169 ALOGE("Cannot write out the string pool for RSInfo file %s! (%s)",
/frameworks/compile/libbcc/lib/Support/
H A DOutputFile.cpp30 ssize_t OutputFile::write(const void *pBuf, size_t count) { function in class:OutputFile
37 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf);
42 ssize_t write_size = ::write(mFD, pBuf, count);
47 // 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/service/persistentdata/
H A DPersistentDataBlockManager.java27 * {@link PersistentDataBlockManager#write(byte[])}
57 * @param data the data to write
59 public int write(byte[] data) { method in class:PersistentDataBlockManager
61 return sService.write(data);
/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)));
/frameworks/base/drm/java/android/drm/
H A DDrmOutputStream.java76 IoBridge.write(mFd, status.convertedData, 0, status.convertedData.length);
93 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:DrmOutputStream
106 IoBridge.write(mFd, status.convertedData, 0, status.convertedData.length);
113 public void write(int oneByte) throws IOException { method in class:DrmOutputStream
/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/services/core/java/com/android/server/net/
H A DDelayedDiskWrite.java40 public void write(final String filePath, final Writer w) { method in class:DelayedDiskWrite
45 /* Do a delayed write to disk on a separate handler thread */
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXml.java73 public static void write(AtomicFile file, IntervalStats stats) throws IOException { method in class:UsageStatsXml
76 write(fos, stats);
80 // When fos is null (successful write), this will no-op
111 private static void write(OutputStream out, IntervalStats stats) throws IOException { method in class:UsageStatsXml
119 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

Completed in 468 milliseconds

1234