Home
last modified time | relevance | path

Searched refs:readCounter (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/av/services/oboeservice/
H A DSharedRingBuffer.cpp110 int32_t readCounter = mFifoBuffer->getReadCounter(); in dump() local
113 result << std::setw(10) << readCounter; in dump()
114 result << std::setw(8) << (writeCounter - readCounter); in dump()
/aosp12/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalPlay.cpp103 int64_t readCounter = mAudioEndpoint->getDataReadCounter() + serverMargin; in advanceClientToMatchServerPosition() local
107 int64_t offset = writeCounter - readCounter; in advanceClientToMatchServerPosition()
110 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
114 mAudioEndpoint->setDataWriteCounter(readCounter); in advanceClientToMatchServerPosition()
H A DAudioStreamInternalCapture.cpp52 int64_t readCounter = mAudioEndpoint->getDataReadCounter(); in advanceClientToMatchServerPosition() local
56 int64_t offset = readCounter - writeCounter; in advanceClientToMatchServerPosition()
59 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
/aosp12/hardware/invensense/6515/libsensors_iio/
H A DMPLSensor.cpp3998 ssize_t readCounter = 0; local
4093 if(readCounter < MAX_READ_SIZE) {
4119 mLeftOverBufferSize = readCounter;
4147 while (readCounter > 0) {
4178 readCounter -= BYTES_PER_SENSOR;
4186 readCounter -= BYTES_PER_SENSOR;
4346 if (readCounter != 0) {
4355 readCounter -= BYTES_PER_SENSOR;
4360 if (readCounter == 0) {
4377 readCounter = 0;
[all …]
/aosp12/system/libfmq/fuzzer/
H A Dfmq_fuzzer.cpp113 uint64_t* readCounter = reinterpret_cast<uint64_t*>(reinterpret_cast<uint8_t*>(firstStart) - in writer() local
115 *readCounter = fdp.ConsumeIntegral<uint64_t>(); in writer()
/aosp12/frameworks/av/media/libaaudio/src/fifo/
H A DREADME.md4 One thread modifies the readCounter and the other thread modifies the writeCounter.
/aosp12/hardware/invensense/65xx/libsensors_iio/
H A DMPLSensor.cpp3704 size_t readCounter = 0; in buildMpuEvent() local
3787 readCounter = 24; in buildMpuEvent()
3790 readCounter = rsize + mLeftOverBufferSize; in buildMpuEvent()
3813 while (readCounter > 0) { in buildMpuEvent()
3857 readCounter -= BYTES_QUAT_DATA; in buildMpuEvent()
3866 readCounter -= BYTES_QUAT_DATA; in buildMpuEvent()
3875 readCounter -= BYTES_PER_SENSOR_PACKET; in buildMpuEvent()
3882 readCounter -= BYTES_PER_SENSOR_PACKET; in buildMpuEvent()
3949 mLeftOverBufferSize = readCounter; in buildMpuEvent()
3950 readCounter = 0; in buildMpuEvent()
[all …]