Searched defs:write (Results 51 - 75 of 136) sorted by relevance

123456

/frameworks/av/services/audioflinger/
H A DBufLog.cpp75 size_t BufLog::write(int streamid, const char *tag, int format, int channels, function in class:BufLog
88 return pBLStream->write(buf, size);
163 size_t BufLogStream::write(const void *buf, size_t size) { function in class:BufLogStream
181 ALOGV("Warning: trying to write to %s BufLogStream id:%d tag:%s",
/frameworks/base/cmds/statsd/src/logd/
H A DLogEvent.cpp89 bool LogEvent::write(int32_t value) { function in class:android::os::statsd::LogEvent
96 bool LogEvent::write(uint32_t value) { function in class:android::os::statsd::LogEvent
103 bool LogEvent::write(int64_t value) { function in class:android::os::statsd::LogEvent
110 bool LogEvent::write(uint64_t value) { function in class:android::os::statsd::LogEvent
117 bool LogEvent::write(const string& value) { function in class:android::os::statsd::LogEvent
124 bool LogEvent::write(float value) { function in class:android::os::statsd::LogEvent
131 bool LogEvent::write(const std::vector<AttributionNodeInternal>& nodes) { function in class:android::os::statsd::LogEvent
137 if (!write(nodes[i])) {
149 bool LogEvent::write(const AttributionNodeInternal& node) { function in class:android::os::statsd::LogEvent
/frameworks/base/core/java/android/hardware/usb/
H A DDeviceFilter.java138 public void write(XmlSerializer serializer) throws IOException { method in class:DeviceFilter
324 dump.write("vendor_id", UsbDeviceFilterProto.VENDOR_ID, mVendorId);
325 dump.write("product_id", UsbDeviceFilterProto.PRODUCT_ID, mProductId);
326 dump.write("class", UsbDeviceFilterProto.CLASS, mClass);
327 dump.write("subclass", UsbDeviceFilterProto.SUBCLASS, mSubclass);
328 dump.write("protocol", UsbDeviceFilterProto.PROTOCOL, mProtocol);
329 dump.write("manufacturer_name", UsbDeviceFilterProto.MANUFACTURER_NAME, mManufacturerName);
330 dump.write("product_name", UsbDeviceFilterProto.PRODUCT_NAME, mProductName);
331 dump.write("serial_number", UsbDeviceFilterProto.SERIAL_NUMBER, mSerialNumber);
/frameworks/base/core/java/android/os/
H A DFileBridge.java110 IoBridge.write(mTarget, temp, 0, n);
117 IoBridge.write(mServer, temp, 0, MSG_LENGTH);
124 IoBridge.write(mServer, temp, 0, MSG_LENGTH);
167 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH);
180 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:FileBridge.FileBridgeOutputStream
184 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH);
185 IoBridge.write(mClient, buffer, byteOffset, byteCount);
189 public void write(int oneByte) throws IOException { method in class:FileBridge.FileBridgeOutputStream
H A DMemoryFile.java36 * After a file is purged, attempts to read or write the file will
77 * After this method has been called, read and write operations through this object
199 * @param buffer byte array to write bytes from.
200 * @param srcOffset offset into the byte array buffer to write from.
201 * @param destOffset offset into the memory file to write to.
202 * @param count number of bytes to write.
316 public void write(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryOutputStream
322 public void write(int oneByte) throws IOException { method in class:MemoryFile.MemoryOutputStream
327 write(mSingleByte, 0, 1);
/frameworks/base/core/java/android/provider/
H A DSettingsStringUtil.java172 public boolean write(String value) { method in class:SettingsStringUtil.SettingStringHelper
178 return write(change.apply(read()));
/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifest.java173 public void write(OutputStream os) throws IOException { method in class:StrictJarManifest
174 write(this, os);
249 * the manifest to write out.
251 * The {@code OutputStream} to write to.
255 static void write(StrictJarManifest manifest, OutputStream out) throws IOException { method in class:StrictJarManifest
275 out.write(LINE_SEPARATOR);
286 out.write(LINE_SEPARATOR);
293 os.write(nameString.getBytes(StandardCharsets.US_ASCII));
294 os.write(VALUE_SEPARATOR);
306 os.write(bBu
[all...]
H A DStrictJarVerifier.java125 public void write(int value) { method in class:StrictJarVerifier.VerifierEntry
133 public void write(byte[] buf, int off, int nbytes) { method in class:StrictJarVerifier.VerifierEntry
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java28 * Delays writing indent until first actual write on a newline, enabling indent
44 * next write should be prefixed with the current indent.
104 write('\n');
108 public void write(int c) { method in class:IndentingPrintWriter
110 write(mSingleChar, 0, 1);
114 public void write(String s, int off, int len) { method in class:IndentingPrintWriter
117 write(buf, 0, len);
121 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter
133 super.write(buf, lineStart, lineEnd - lineStart);
143 super.write('\
[all...]
/frameworks/base/core/java/com/android/internal/util/dump/
H A DDualDumpOutputStream.java157 public void write(@NonNull String fieldName, long fieldId, double val) { method in class:DualDumpOutputStream
159 mProtoStream.write(fieldId, val);
165 public void write(@NonNull String fieldName, long fieldId, boolean val) { method in class:DualDumpOutputStream
167 mProtoStream.write(fieldId, val);
173 public void write(@NonNull String fieldName, long fieldId, int val) { method in class:DualDumpOutputStream
175 mProtoStream.write(fieldId, val);
181 public void write(@NonNull String fieldName, long fieldId, float val) { method in class:DualDumpOutputStream
183 mProtoStream.write(fieldId, val);
189 public void write(@NonNull String fieldName, long fieldId, byte[] val) { method in class:DualDumpOutputStream
191 mProtoStream.write(fieldI
197 public void write(@NonNull String fieldName, long fieldId, long val) { method in class:DualDumpOutputStream
205 public void write(@NonNull String fieldName, long fieldId, @Nullable String val) { method in class:DualDumpOutputStream
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DLineBreakBufferedWriterTest.java212 // A writer recording calls to write.
225 public void write(char[] cbuf, int off, int len) { method in class:LineBreakBufferedWriterTest.RecordingWriter
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DNetworkPolicyEditor.java79 // when we cleaned policies above, write back changes
89 write(policies);
95 public void write(NetworkPolicy[] policies) { method in class:NetworkPolicyEditor
/frameworks/base/services/core/java/com/android/server/pm/
H A DCompilerStats.java176 public void write(Writer out) { method in class:CompilerStats
268 write(osw);
275 Log.e(PackageManagerService.TAG, "Failed to write compiler stats", e);
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
H A DReportCanvas.java45 public abstract void write(String text); method in class:ReportCanvas
66 write(text);
116 write(text);
159 * @param builder The StringBuilder to write text into.
/frameworks/base/tools/aapt/
H A DZipEntry.cpp452 status_t ZipEntry::LocalFileHeader::write(FILE* fp) function in class:ZipEntry::LocalFileHeader
471 /* write filename */
477 /* write "extra field" */
610 status_t ZipEntry::CentralDirEntry::write(FILE* fp) function in class:ZipEntry::CentralDirEntry
635 /* write filename */
641 /* write "extra field" */
647 /* write comment */
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp179 bool FileHandle::write(const void* pMemBuffer, function in class:mcld::FileHandle
/frameworks/native/libs/sensor/
H A DSensorEventQueue.cpp60 ssize_t SensorEventQueue::write(const sp<BitTube>& tube, function in class:android::SensorEventQueue
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsRttTextHandlerTest.java52 public synchronized void write(String s) { method in class:ImsRttTextHandlerTest.MockNetworkWriter
110 mPipeToHandler.write("abcd");
133 mPipeToHandler.write("abcd");
148 mPipeToHandler.write("efgh");
152 // Wait for the handler to write to the mock network writer
176 mPipeToHandler.write(String.valueOf(c));
183 // Make sure that the ordering is correct and that there was only one write
194 mPipeToHandler.write(toSend);
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalPlay.cpp100 aaudio_result_t AudioStreamInternalPlay::write(const void *buffer, int32_t numFrames, function in class:AudioStreamInternalPlay
143 // If the read index passed the write index then consider it an underrun.
155 //ALOGD("AudioStreamInternal::processDataNow() - tried to write %d frames, wrote %d",
172 // Don't wait to write more data. Just prime the buffer.
275 // Render audio in the application callback and then write the data to the stream.
290 result = write(mCallbackBuffer, mCallbackFrames, timeoutNanos);
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.h353 void write(T value) { function in class:SimpleDoubleBuffer
360 * This should only be called by the same thread that calls write() or when
361 * no other thread is calling write.
373 // Check to see if a write occurred while were reading.
/frameworks/av/media/mtp/
H A DMtpFfsCompatHandle.cpp76 int n = TEMP_FAILURE_RETRY(::write(fd, buf, write_len));
79 PLOG(ERROR) << "write ERROR: fd = " << fd << ", n = " << n;
156 int MtpFfsCompatHandle::write(const void* data, size_t len) { function in class:android::MtpFfsCompatHandle
177 bool write = false; local
182 while (file_length > 0 || write) {
186 // Read data from USB, handle errors after waiting for write thread.
196 if (write) {
197 // get the return status of the last write request
209 write = false;
226 // Enqueue a new write reques
269 bool write = false; local
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java300 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
304 super.write(buffer, offset, count);
309 super.write(buffer, offset, count);
313 public void write(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
318 super.write(buffer);
323 super.write(buffer);
327 public void write(int oneByte) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
330 super.write(oneByte);
335 super.write(oneByte);
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java51 /** file descriptor array that should be written during next write */
130 public void write (byte[] b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
131 write(b, 0, b.length);
136 public void write (byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
150 public void write (int b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
547 * is one deep. The file descriptors will be sent with the next write
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java116 public int write(byte[] data) { method in class:BlockingAudioTrack
163 // The last call to AudioTrack.write( ) will return only after
201 int written = audioTrack.write(bytes, count, bytes.length);
/frameworks/base/core/java/android/util/
H A DLog.java34 * {@link #i Log.i()}, {@link #w Log.w()}, and {@link #e Log.e()} methods to write logs.
384 * up long messages and stacktraces along newlines, but tries to write in large
441 * Helper class to write to the logcat. Different from LogWriter, this writes
467 public void write(char[] cbuf, int off, int len) { method in class:Log.ImmediateLogWriter

Completed in 408 milliseconds

123456