/frameworks/base/media/native/midi/ |
D | amidi.cpp | 327 uint8_t readBuffer[AMIDI_PACKET_SIZE]; in receive() local 328 ssize_t readCount = read(mPort->ufd, readBuffer, sizeof(readBuffer)); in receive() 335 *opcodePtr = readBuffer[0]; in receive() 339 memcpy(buffer, readBuffer + 1, numMessageBytes); in receive() 341 memcpy(timestampPtr, readBuffer + readCount - sizeof(uint64_t), in receive()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 49 char* readBuffer = static_cast<char*>(buffer); in readAllBytes() local 52 ssize_t readByteCount = read(fd, readBuffer, remainingBytes); in readAllBytes() 55 readBuffer += readByteCount; in readAllBytes()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | SparseInputStream.java | 65 private ByteBuffer readBuffer(InputStream in, int size) throws IOException { in readBuffer() method in SparseInputStream 71 ByteBuffer buf = readBuffer(in, CHUNK_HDR_SIZE); in readChunk() 91 ByteBuffer buf = readBuffer(mIn, FILE_HDR_SIZE); in SparseInputStream()
|
/frameworks/base/cmds/statsd/tests/ |
D | FieldValue_test.cpp | 258 while (reader->readBuffer() != NULL) { in TEST() 260 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST() 349 while (reader->readBuffer() != NULL) { in TEST() 351 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST() 411 while (reader->readBuffer() != NULL) { in TEST() 413 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST() 464 while (reader->readBuffer() != NULL) { in TEST() 466 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST()
|
D | LogEvent_test.cpp | 595 while (reader->readBuffer() != NULL) { in TEST() 597 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST() 634 while (reader->readBuffer() != NULL) { in TEST() 636 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST()
|
/frameworks/av/media/extractors/flac/ |
D | FLACExtractor.cpp | 129 MediaBufferHelper *readBuffer() { in readBuffer() function in android::FLACParser 130 return readBuffer(false, 0LL); in readBuffer() 132 MediaBufferHelper *readBuffer(FLAC__uint64 sample) { in readBuffer() function in android::FLACParser 133 return readBuffer(true, sample); in readBuffer() 169 MediaBufferHelper *readBuffer(bool doSeek, FLAC__uint64 sample); 578 MediaBufferHelper *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) in readBuffer() function in android::FLACParser 723 buffer = mParser->readBuffer(sample); in read() 726 buffer = mParser->readBuffer(); in read()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 87 byte[] readBuffer = new byte[bytes]; in calibrateMethod() 89 input.read(readBuffer); in calibrateMethod() 90 buffer = readBuffer; in calibrateMethod()
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.h | 84 while (reader->readBuffer() != NULL) { in parseProtoOutputStream() 86 pbBytes.append(reinterpret_cast<const char*>(reader->readBuffer()), toRead); in parseProtoOutputStream()
|
/frameworks/base/libs/protoutil/include/android/util/ |
D | ProtoReader.h | 47 virtual uint8_t const* readBuffer() = 0;
|
D | ProtoFileReader.h | 46 virtual uint8_t const* readBuffer();
|
D | EncodedBuffer.h | 197 virtual uint8_t const* readBuffer();
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 94 while (reader->readBuffer() != NULL) { in serializeProtoLocked() 96 std::memcpy(&((*buffer)[pos]), reader->readBuffer(), toRead); in serializeProtoLocked()
|
/frameworks/base/cmds/statsd/src/external/ |
D | GpuStatsPuller.cpp | 129 while (reader->readBuffer() != nullptr) { in protoOutputStreamToByteString() 131 byteString.append((char*)reader->readBuffer(), toRead); in protoOutputStreamToByteString()
|
/frameworks/base/libs/protoutil/src/ |
D | EncodedBuffer.cpp | 236 while ((buf = reader->readBuffer()) != nullptr) { in writeRaw() 252 while (size > 0 && (buf = reader->readBuffer()) != nullptr) { in writeRaw() 371 EncodedBuffer::Reader::readBuffer() in readBuffer() function in android::util::EncodedBuffer::Reader
|
D | ProtoOutputStream.cpp | 470 while (reader->readBuffer() != NULL) { in flush() 471 if (!android::base::WriteFully(fd, reader->readBuffer(), reader->currentToRead())) { in flush() 488 out->append(static_cast<const char*>(static_cast<const void*>(reader->readBuffer())), in serializeToString() 504 const uint8_t* buf = reader->readBuffer(); in serializeToVector()
|
D | ProtoFileReader.cpp | 78 ProtoFileReader::readBuffer() in readBuffer() function in android::util::ProtoFileReader
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 127 while (reader->readBuffer() != NULL) { in getProtoData() 129 std::memcpy(&((*protoData)[pos]), reader->readBuffer(), toRead); in getProtoData()
|
/frameworks/base/core/java/android/util/proto/ |
D | EncodedBuffer.java | 470 byte[] readBuffer = mBuffers.get(readBufIndex); 478 readBuffer = mBuffers.get(readBufIndex); 484 System.arraycopy(readBuffer, readIndex, mWriteBuffer, mWriteIndex, amt);
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 63 bool readBuffer(MediaBufferBase **buffer); 95 bool readBuffer(MediaBufferBase **buffer); 131 bool MediaCodecSource::Puller::Queue::readBuffer(MediaBufferBase **mbuf) { in readBuffer() function in android::MediaCodecSource::Puller::Queue 143 while (readBuffer(&mbuf)) { in flush() 149 bool MediaCodecSource::Puller::readBuffer(MediaBufferBase **mbuf) { in readBuffer() function in android::MediaCodecSource::Puller 151 return queue->readBuffer(mbuf); in readBuffer() 691 while (!mAvailEncoderInputIndices.empty() && mPuller->readBuffer(&mbuf)) { in feedEncoderInputBuffers()
|
/frameworks/av/media/extractors/midi/ |
D | MidiExtractor.h | 43 MediaBufferHelper* readBuffer();
|
D | MidiExtractor.cpp | 131 buffer = mEngine.readBuffer(); in read() 235 MediaBufferHelper* MidiEngine::readBuffer() { in readBuffer() function in android::MidiEngine
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 695 readBuffer(trackType, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, in onMessageReceived() 697 readBuffer(counterpartType, -1, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, in onMessageReceived() 754 readBuffer(type, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, &subTimeUs); in fetchTextData() 788 readBuffer(type, -1, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, &nextSubTimeUs); in sendTextData() 1171 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mode, &actualTimeUs); in doSeek() 1181 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs, MediaPlayerSeekMode::SEEK_CLOSEST); in doSeek() 1333 readBuffer(trackType); in onReadBuffer() 1336 void NuPlayer::GenericSource::readBuffer( in readBuffer() function in android::NuPlayer::GenericSource
|
/frameworks/base/cmds/incidentd/tests/ |
D | ProtoFileReader_test.cpp | 39 while (size > 0 && (buf = reader->readBuffer()) != nullptr) { in read()
|
/frameworks/base/core/jni/ |
D | android_os_HwParcel.cpp | 702 status_t err = parcel->readBuffer(sizeof(*s), &parentHandle, in JHwParcel_native_readString() 761 status_t err = parcel->readBuffer(sizeof(*vec), &parentHandle, \ 802 status_t err = parcel->readBuffer(sizeof(*vec), &parentHandle, in DEFINE_PARCEL_VECTOR_READER() 863 status_t err = parcel->readBuffer(sizeof(hidl_vec<T>), in ReadHidlVector() 944 status_t err = parcel->readBuffer(sizeof(*mem), in JHwParcel_native_readHidlMemory() 1012 status_t status = parcel->readBuffer(expectedSize, &handle, &ptr); in JHwParcel_native_readBuffer()
|
/frameworks/base/cmds/incidentd/src/ |
D | PrivacyFilter.cpp | 227 while (reader->readBuffer() != NULL) { in writeData() 228 err = WriteFully(fd, reader->readBuffer(), reader->currentToRead()) ? NO_ERROR : -errno; in writeData()
|