/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioPolicyDeathTestActivity.java | 124 short[] readBuffer = new short[samplesLeft / 10]; in run() local 129 int read = readBuffer.length < samplesLeft ? readBuffer.length : samplesLeft; in run() 130 read = mAudioRecord.read(readBuffer, 0, read); in run()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | ZipFileReadPerfTest.java | 93 byte[] readBuffer = new byte[readBufferSize]; in timeZipFileRead() 101 if (is.read(readBuffer, 0, readBuffer.length) < 0) { in timeZipFileRead()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/ |
D | WireBuffer.java | 170 public byte[] readBuffer() { in readBuffer() method in WireBuffer 177 public byte[] readBuffer(int maxSize) { in readBuffer() method in WireBuffer 189 byte[] stringBuffer = readBuffer(); in readUTF8() 194 byte[] stringBuffer = readBuffer(maxSize); in readUTF8()
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 335 uint8_t readBuffer[AMIDI_PACKET_SIZE]; in receive() local 336 ssize_t readCount = TEMP_FAILURE_RETRY(read(mPort->ufd, readBuffer, sizeof(readBuffer))); in receive() 343 *opcodePtr = readBuffer[0]; in receive() 347 memcpy(buffer, readBuffer + 1, numMessageBytes); in receive() 349 memcpy(timestampPtr, readBuffer + readCount - sizeof(uint64_t), in receive()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 46 char* readBuffer = static_cast<char*>(buffer); in readAllBytes() local 49 ssize_t readByteCount = TEMP_FAILURE_RETRY(read(fd, readBuffer, remainingBytes)); in readAllBytes() 57 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()
|
D | InstallationAsyncTask.java | 706 byte[] readBuffer = new byte[sharedMemory.getSize()]; in installImage() 712 final int numBytesRead = sis.read(readBuffer, 0, readBuffer.length); in installImage() 745 buffer.put(readBuffer, 0, numBytesRead); in installImage()
|
/frameworks/av/media/module/extractors/flac/ |
D | FLACExtractor.cpp | 131 MediaBufferHelper *readBuffer() { in readBuffer() function in android::FLACParser 132 return readBuffer(false, 0LL); in readBuffer() 134 MediaBufferHelper *readBuffer(FLAC__uint64 sample) { in readBuffer() function in android::FLACParser 135 return readBuffer(true, sample); in readBuffer() 171 MediaBufferHelper *readBuffer(bool doSeek, FLAC__uint64 sample); 580 MediaBufferHelper *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) in readBuffer() function in android::FLACParser 725 buffer = mParser->readBuffer(sample); in read() 728 buffer = mParser->readBuffer(); in read()
|
/frameworks/layoutlib/bridge/bridge_client/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/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/libs/protoutil/src/ |
D | EncodedBuffer.cpp | 244 while ((buf = reader->readBuffer()) != nullptr) { in writeRaw() 260 while (size > 0 && (buf = reader->readBuffer()) != nullptr) { in writeRaw() 379 EncodedBuffer::Reader::readBuffer() in readBuffer() function in android::util::EncodedBuffer::Reader
|
D | ProtoOutputStream.cpp | 474 while (reader->readBuffer() != NULL) { in flush() 475 if (!android::base::WriteFully(fd, reader->readBuffer(), reader->currentToRead())) { in flush() 492 out->append(static_cast<const char*>(static_cast<const void*>(reader->readBuffer())), in serializeToString() 508 const uint8_t* buf = reader->readBuffer(); in serializeToVector()
|
D | ProtoFileReader.cpp | 78 ProtoFileReader::readBuffer() in readBuffer() function in android::util::ProtoFileReader
|
/frameworks/base/core/java/android/util/proto/ |
D | EncodedBuffer.java | 471 byte[] readBuffer = mBuffers.get(readBufIndex); 479 readBuffer = mBuffers.get(readBufIndex); 485 System.arraycopy(readBuffer, readIndex, mWriteBuffer, mWriteIndex, amt);
|
/frameworks/av/media/module/extractors/midi/include/ |
D | MidiExtractor.h | 43 MediaBufferHelper* readBuffer();
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 64 bool readBuffer(MediaBufferBase **buffer); 96 bool readBuffer(MediaBufferBase **buffer); 132 bool MediaCodecSource::Puller::Queue::readBuffer(MediaBufferBase **mbuf) { in readBuffer() function in android::MediaCodecSource::Puller::Queue 144 while (readBuffer(&mbuf)) { in flush() 150 bool MediaCodecSource::Puller::readBuffer(MediaBufferBase **mbuf) { in readBuffer() function in android::MediaCodecSource::Puller 152 return queue->readBuffer(mbuf); in readBuffer() 707 while (!mAvailEncoderInputIndices.empty() && mPuller->readBuffer(&mbuf)) { in feedEncoderInputBuffers()
|
/frameworks/base/cmds/incidentd/tests/ |
D | ProtoFileReader_test.cpp | 39 while (size > 0 && (buf = reader->readBuffer()) != nullptr) { in read()
|
/frameworks/av/media/module/extractors/midi/ |
D | MidiExtractor.cpp | 131 buffer = mEngine.readBuffer(); in read() 235 MediaBufferHelper* MidiEngine::readBuffer() { in readBuffer() function in android::MidiEngine
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | BitmapData.java | 90 byte[] bitmap = buffer.readBuffer(); in read()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 683 readBuffer(trackType, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, in onMessageReceived() 685 readBuffer(counterpartType, -1, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, in onMessageReceived() 742 readBuffer(type, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, &subTimeUs); in fetchTextData() 776 readBuffer(type, -1, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, &nextSubTimeUs); in sendTextData() 1164 readBuffer(MEDIA_TRACK_TYPE_VIDEO, seekTimeUs, mode, &actualTimeUs); in doSeek() 1174 readBuffer(MEDIA_TRACK_TYPE_AUDIO, seekTimeUs, MediaPlayerSeekMode::SEEK_CLOSEST); in doSeek() 1326 readBuffer(trackType); in onReadBuffer() 1329 void NuPlayer::GenericSource::readBuffer( in readBuffer() function in android::NuPlayer::GenericSource
|
/frameworks/base/cmds/incidentd/src/ |
D | PrivacyFilter.cpp | 235 while (reader->readBuffer() != NULL) { in writeData() 236 err = WriteFully(fd, reader->readBuffer(), reader->currentToRead()) ? NO_ERROR : -errno; in writeData()
|
/frameworks/base/core/jni/ |
D | android_os_HwParcel.cpp | 704 status_t err = parcel->readBuffer(sizeof(*s), &parentHandle, in JHwParcel_native_readString() 763 status_t err = parcel->readBuffer(sizeof(*vec), &parentHandle, \ 804 status_t err = parcel->readBuffer(sizeof(*vec), &parentHandle, in DEFINE_PARCEL_VECTOR_READER() 865 status_t err = parcel->readBuffer(sizeof(hidl_vec<T>), in ReadHidlVector() 946 status_t err = parcel->readBuffer(sizeof(*mem), in JHwParcel_native_readHidlMemory() 1016 status_t status = parcel->readBuffer(expectedSize, &handle, &ptr); in JHwParcel_native_readBuffer()
|
/frameworks/base/libs/protoutil/tests/ |
D | EncodedBuffer_test.cpp | 134 while (reader1->readBuffer() != NULL) { in TEST()
|