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

123456

/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
63 mMetricsLogger.write(mLogMaker.setCategory(category)
/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/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.cpp59 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) function in class:android::AudioStreamOutSink
66 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/hardware/usb/
H A DAccessoryFilter.java81 public void write(XmlSerializer serializer)throws IOException { method in class:AccessoryFilter
157 dump.write("manufacturer", UsbAccessoryFilterProto.MANUFACTURER, mManufacturer);
158 dump.write("model", UsbAccessoryFilterProto.MODEL, mModel);
159 dump.write("version", UsbAccessoryFilterProto.VERSION, mVersion);
/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);
145 * It will also prevent any further {@link #write} operation until reboot,
/frameworks/base/core/java/android/util/
H A DAtomicFile.java33 * backup file until a write has successfully completed. If you need this
40 * to be invalid (left over from a previous attempt to write the file).
89 * Start a new write operation on the file. This returns a FileOutputStream
90 * to which you can write the new file data. The existing file is replaced
96 * a write, this will simply replace whatever that thread is writing
98 * thread finishes the write the new write operation will no longer be
172 * write stream, and roll back to the previous state of the file.
214 * incomplete write, this will roll back to the last good data before
219 * a write, thi
288 public void write(Consumer<FileOutputStream> writeContent) { method in class:AtomicFile
[all...]
/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/base/services/core/java/com/android/server/display/utils/
H A DPlog.java55 write(formatTitle(title));
68 write(formatPoint(name, x, y));
81 write(formatCurve(name, xs, ys));
104 private void write(String message) { method in class:Plog
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DMockWeaverService.java35 public int write(int slotId, ArrayList<Byte> key, ArrayList<Byte> value) method in class:MockWeaverService
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
H A DHTMLReportCanvas.java42 public void write(String text) { method in class:HTMLReportCanvas
H A DTextReportCanvas.java50 public void write(String text) { method in class:TextReportCanvas
/frameworks/ml/nn/tools/
H A Dsync_enums_to_hal.py76 def write(self): member in class:HeaderReader
78 f.write(self.get_contents())
242 types10.write()
243 types11.write()
/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/fifo/
H A DFifoBuffer.cpp155 fifo_frames_t FifoBuffer::write(const void *buffer, fifo_frames_t numFrames) { function in class:FifoBuffer
/frameworks/av/media/mtp/
H A DMtpProperty.cpp182 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);

Completed in 563 milliseconds

123456