Home
last modified time | relevance | path

Searched refs:writeBuffer (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DLineBreakBufferedWriter.java93 writeBuffer(bufferIndex); in flush()
138 writeBuffer(bufferIndex); in write()
145 writeBuffer(lastNewline); in write()
152 writeBuffer(bufferIndex); in write()
192 writeBuffer(bufferIndex); in write()
199 writeBuffer(lastNewline); in write()
206 writeBuffer(bufferIndex); in write()
289 private void writeBuffer(int length) { in writeBuffer() method in LineBreakBufferedWriter
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DZipFilePerfTest.java80 byte[] writeBuffer = new byte[8192]; in writeEntries()
88 for (long i = 0; i < entrySize; i += writeBuffer.length) { in writeEntries()
89 random.nextBytes(writeBuffer); in writeEntries()
90 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); in writeEntries()
91 out.write(writeBuffer, 0, byteCount); in writeEntries()
DZipFileReadPerfTest.java69 byte[] writeBuffer = new byte[8192]; in writeEntries()
77 for (long i = 0; i < entrySize; i += writeBuffer.length) { in writeEntries()
78 random.nextBytes(writeBuffer); in writeEntries()
79 int byteCount = (int) Math.min(writeBuffer.length, entrySize - i); in writeEntries()
80 out.write(writeBuffer, 0, byteCount); in writeEntries()
/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp67 if (mBuffer->writeBuffer() == NULL) { in read()
93 ::read(fd, mBuffer->writeBuffer(), mBuffer->currentToWrite())); in read()
123 if (mBuffer->writeBuffer() == NULL) { in readFully()
129 TEMP_FAILURE_RETRY(::read(fd, mBuffer->writeBuffer(), mBuffer->currentToWrite())); in readFully()
172 if (mBuffer->writeBuffer() == NULL) { in readProcessedDataInStream()
265 ::read(fromFd.get(), mBuffer->writeBuffer(), mBuffer->currentToWrite())); in readProcessedDataInStream()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp30 char* writeBuffer = static_cast<char*>(buffer); in writeAllBytes() local
33 ssize_t writtenByteCount = TEMP_FAILURE_RETRY(write(fd, writeBuffer, remainingBytes)); in writeAllBytes()
40 writeBuffer += writtenByteCount; in writeAllBytes()
/frameworks/base/libs/hwui/jni/pdf/
DPdfEditor.cpp67 char* writeBuffer = static_cast<char*>(const_cast<void*>(buffer)); in writeAllBytes() local
70 ssize_t writtenByteCount = write(fd, writeBuffer, remainingBytes); in writeAllBytes()
79 writeBuffer += writtenByteCount; in writeAllBytes()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp137 EncodedBuffer::writeBuffer() in writeBuffer() function in android::util::EncodedBuffer
164 *writeBuffer() = val; in writeRawByte()
223 uint8_t* target = writeBuffer(); in writeRaw()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DWireBuffer.java254 public void writeBuffer(byte[] b) { in writeBuffer() method in WireBuffer
266 writeBuffer(buffer); in writeUTF8()
/frameworks/base/media/native/midi/
Damidi.cpp414 uint8_t writeBuffer[AMIDI_BUFFER_SIZE + AMIDI_PACKET_OVERHEAD]; in AMidiInputPort_sendWithTimestamp() local
421 AMIDI_makeSendBuffer(writeBuffer, data + numSent, blockSize, timestamp); in AMidiInputPort_sendWithTimestamp()
422 ssize_t numWritten = TEMP_FAILURE_RETRY(write(((AMIDI_Port*)inputPort)->ufd, writeBuffer, in AMidiInputPort_sendWithTimestamp()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DBitmapData.java76 buffer.writeBuffer(bitmap); in apply()
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h92 uint8_t* writeBuffer();
/frameworks/av/media/mtp/
DMtpDevice.cpp786 void* writeBuffer = NULL; in readData() local
794 writeBuffer = req->buffer; in readData()
813 if (writeBuffer && !writingError) { in readData()
814 if (!callback(writeBuffer, offset, writeLength, clientData)) { in readData()
/frameworks/base/services/core/java/com/android/server/wm/
DSnapshotPersistQueue.java287 if (!writeBuffer()) { in write()
333 boolean writeBuffer() { in writeBuffer() method in SnapshotPersistQueue.StoreWriteQueueItem
/frameworks/base/core/jni/
Dandroid_os_HwParcel.cpp439 status_t err = parcel->writeBuffer(s, sizeof(*s), &parentHandle); in JHwParcel_native_writeString()
477 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle); \
533 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle); in DEFINE_PARCEL_VECTOR_WRITER()
554 status_t err = parcel->writeBuffer(&vec, sizeof(vec), &parentHandle); in WriteHidlVector()
683 err = parcel->writeBuffer(cmem, sizeof(*cmem), &parentHandle); in JHwParcel_native_writeHidlMemory()
Dandroid_os_HwBlob.cpp190 status_t err = parcel->writeBuffer(data(), size(), &handle); in writeToParcel()
/frameworks/base/core/java/android/os/
DHwParcel.java655 public native final void writeBuffer(HwBlob blob); in writeBuffer() method in HwParcel
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java546 private byte[] writeBuffer() { in writeBuffer() method in CameraStreamer.CamFrameHandlerGB
563 camera.addCallbackBuffer(writeBuffer());
576 camera.addCallbackBuffer(writeBuffer()); in setupServerFrame()
/frameworks/base/core/api/
Dsystem-current.txt10813 method public final void writeBuffer(android.os.HwBlob);
/frameworks/base/boot/
Dboot-image-profile.txt22037 HSPLcom/android/internal/util/LineBreakBufferedWriter;->writeBuffer(I)V
/frameworks/base/config/
Dboot-image-profile.txt22101 HSPLcom/android/internal/util/LineBreakBufferedWriter;->writeBuffer(I)V