Searched refs:write (Results 276 - 300 of 1003) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/img_utils/src/
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());
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalPlay.h52 aaudio_result_t write(const void *buffer,
74 * Low level write that will not block. It will just write as much as it can.
86 * Asynchronous write with data conversion.
/frameworks/av/media/libaaudio/src/fifo/
H A DFifoBuffer.h54 fifo_frames_t write(const void *source, fifo_frames_t framesToWrite);
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
H A DMonoPipe.h31 // - write() cannot overrun; instead it will return a short actual count if insufficient space
32 // - write() can optionally block if the pipe is full
63 virtual ssize_t write(const void *buffer, size_t count);
67 // See throttling mechanism in MonoPipe::write()
72 // Set the shutdown state for the write side of a pipe.
74 // a write that would otherwise block instead returns a short transfer count.
80 // Return true if the write side of a pipe is currently shutdown.
92 struct timespec mWriteTs; // time that the previous write() completed
94 const bool mWriteCanBlock; // whether write() should block if the pipe is full
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.h70 * the write() is not allowed to block. It must write only the number of
72 * this byte count. If this is less than the requested write size the
76 virtual ssize_t write(const void *buffer, size_t bytes);
H A DSpdifStreamOut.h57 * the write() is not allowed to block. It must write only the number of
59 * this byte count. If this is less than the requested write size the
63 virtual ssize_t write(const void* buffer, size_t bytes);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DEffectDescriptor.cpp41 write(fd, result.string(), result.size());
185 write(fd, buffer, strlen(buffer));
188 write(fd, buffer, strlen(buffer));
191 write(fd, buffer, strlen(buffer));
H A DStreamDescriptor.cpp99 write(fd, result.string(), result.size());
213 write(fd, buffer, strlen(buffer));
216 write(fd, buffer, strlen(buffer));
219 write(fd, buffer, strlen(buffer));
/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/util/
H A DPackageUtils.java95 bytes.write(sha256Digest.getBytes());
/frameworks/base/core/java/android/view/
H A DRemoteAnimationTarget.java196 proto.write(TASK_ID, taskId);
197 proto.write(MODE, mode);
199 proto.write(IS_TRANSLUCENT, isTranslucent);
202 proto.write(PREFIX_ORDER_INDEX, prefixOrderIndex);
/frameworks/base/core/java/com/android/internal/util/
H A DLocalLog.java73 proto.write(LocalLogProto.LINES, mLines.get(i));
/frameworks/base/core/tests/coretests/src/android/net/
H A DSSLTest.java42 // System.out.println("going for write...");
43 out.write(get.getBytes());
/frameworks/base/libs/androidfw/
H A DBackupData.cpp76 amt = write(m_fd, &padding, paddingSize);
123 amt = write(m_fd, &header, sizeof(entity_header_v1));
131 amt = write(m_fd, k.string(), keyLen+1);
157 // We don't write padding here, because they're allowed to call this several
158 // times with smaller buffers. We write it at the end of WriteEntityHeader
160 ssize_t amt = write(m_fd, data, size);
163 if (kIsDebug) ALOGD("write returned error %d (%s)", m_status, strerror(m_status));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DKeyValueMap.java77 writer.write(entry.getKey() + " = " + valueString + ";\n");
H A DSerializedFrame.java88 public final void write(byte b[]) { method in class:SerializedFrame.DirectByteOutputStream
89 write(b, 0, b.length);
93 public final void write(byte b[], int off, int len) { method in class:SerializedFrame.DirectByteOutputStream
100 public final void write(int b) { method in class:SerializedFrame.DirectByteOutputStream
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java49 writer.write(buffer, 0, bytesRead);
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java191 out.write(value);
192 out.write("\n");
316 out.write("LIST UPDATE\n");
320 out.write("ACTION_FOCUS UPDATE\n");
H A DWindowTracing.java78 proto.write(MAGIC_NUMBER, MAGIC_NUMBER_VALUE);
147 os.write(proto.getBytes());
150 Log.e(TAG, "Failed to write file " + mTraceFile, e);
197 os.write(ELAPSED_REALTIME_NANOS, SystemClock.elapsedRealtimeNanos());
198 os.write(WHERE, where);
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBackupDataOutput.java82 mOutput.write(data, 0, size);
/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/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java68 mOutputStream.write(buffer, offset, count);
/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/cmds/bugreport/
H A Dbugreport.cpp82 bytes_written = TEMP_FAILURE_RETRY(write(STDOUT_FILENO,
86 printf("Failed to write data to stdout: read %zd, trying to send %zd (%s)\n",

Completed in 500 milliseconds

<<11121314151617181920>>