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

12345

/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(finalCrop);
48 output.write(transparentRegion);
84 status_t ComposerState::write(Parcel& output) const { function in class:android::ComposerState
86 return state.write(output);
105 status_t DisplayState::write(Parcel& output) const { function in class:android::DisplayState
111 output.write(viewport);
112 output.write(frame);
/frameworks/av/media/mtp/
H A DMtpResponsePacket.cpp39 int MtpResponsePacket::write(IMtpHandle *h) { function in class:android::MtpResponsePacket
42 int ret = h->write(mBuffer, mPacketSize);
H A DMtpEventPacket.cpp39 int MtpEventPacket::write(IMtpHandle *h) { function in class:android::MtpEventPacket
H A DMtpRequestPacket.cpp63 // write our buffer to the given endpoint (host mode)
64 int MtpRequestPacket::write(struct usb_request *request) function in class:android::MtpRequestPacket
H A DMtpDevHandle.cpp46 int write(const void *data, int len);
67 int MtpDevHandle::write(const void *data, int len) { function in class:MtpDevHandle
68 return ::write(mFd, data, len);
/frameworks/native/include/binder/
H A DSafeInterface.h46 status_t write(Parcel* parcel, bool b) const { function in namespace:android::SafeInterface
58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, function in namespace:android
60 return write(parcel, static_cast<typename std::underlying_type<E>::type>(e));
68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( function
70 return callParcel("write(Flattenable)", [&]() { return parcel->write(t); });
79 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write(
81 return callParcel("write(sp<Flattenable>)", [&]() { return parcel->write(*(t.get())); });
89 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type write(
[all...]
/frameworks/native/libs/binder/include/binder/
H A DSafeInterface.h46 status_t write(Parcel* parcel, bool b) const { function in namespace:android::SafeInterface
58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, function in namespace:android
60 return write(parcel, static_cast<typename std::underlying_type<E>::type>(e));
68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( function
70 return callParcel("write(Flattenable)", [&]() { return parcel->write(t); });
79 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write(
81 return callParcel("write(sp<Flattenable>)", [&]() { return parcel->write(*(t.get())); });
89 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type write(
[all...]
/frameworks/support/buildSrc/src/main/groovy/android/support/doclava/
H A DDoclavaJavadocOptionFileOption.java41 public void write(JavadocOptionFileWriterContext writerContext) throws IOException { method in class:DoclavaJavadocOptionFileOption
52 writerContext.write(" ");
H A DDoclavaMultilineJavadocOptionFileOption.java62 public void write(JavadocOptionFileWriterContext writerContext) throws IOException { method in class:DoclavaMultilineJavadocOptionFileOption
74 writerContext.write(" ");
/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.cpp48 ssize_t Pipe::write(const void *buffer, size_t count) function in class:android::Pipe
54 ssize_t actual = mFifoWriter.write(buffer, count);
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenGestureLogger.java46 public void write(int gesture, int length, int velocity) { method in class:LockscreenGestureLogger
47 mMetricsLogger.write(mLogMaker.setCategory(gesture)
51 // also write old-style logs for backward-0compatibility
/frameworks/support/compat/java/android/support/v4/util/
H A DLogWriter.java55 @Override public void write(char[] buf, int offset, int count) { method in class:LogWriter
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp118 return AudioStreamOut::write(buffer, bytes);
121 ssize_t SpdifStreamOut::write(const void* buffer, size_t numBytes) function in class:android::SpdifStreamOut
124 return mSpdifEncoder.write(buffer, numBytes);
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp119 FdBuffer::write(ReportRequestSet* reporter) function in class:FdBuffer
123 reporter->write(mBuffers[i], BUFFER_SIZE);
125 reporter->write(mBuffers[N], mCurrentWritten);
/frameworks/base/core/java/android/util/
H A DAtomicFile.java32 * backup file until a write has successfully completed. If you need this
39 * to be invalid (left over from a previous attempt to write the file).
77 * Start a new write operation on the file. This returns a FileOutputStream
78 * to which you can write the new file data. The existing file is replaced
84 * a write, this will simply replace whatever that thread is writing
86 * thread finishes the write the new write operation will no longer be
144 * write stream, and roll back to the previous state of the file.
186 * incomplete write, this will roll back to the last good data before
191 * a write, thi
251 public void write(Consumer<FileOutputStream> writeContent) { method in class:AtomicFile
[all...]
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/media/jni/soundpool/
H A DSoundPoolThread.cpp25 void SoundPoolThread::write(SoundPoolMsg msg) { function in class:android::SoundPoolThread
102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID));

Completed in 391 milliseconds

12345