Home
last modified time | relevance | path

Searched refs:readSize (Results 1 – 3 of 3) sorted by relevance

/cts/suite/audio_quality/lib/src/audio/
DAudioRecordingLocal.cpp80 int readSize = (toRead > mBufferSize) ? mBufferSize : toRead; in doPlaybackOrRecord() local
81 if (pcm_read(mPcmHandle, buffer->getUnhanledData(), readSize)) { in doPlaybackOrRecord()
85 buffer->increaseHandled(readSize); in doPlaybackOrRecord()
86 toRead -= readSize; in doPlaybackOrRecord()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java271 int readSize = rowStride; in getDataFromImage() local
272 if (buffer.remaining() < readSize) { in getDataFromImage()
273 readSize = buffer.remaining(); in getDataFromImage()
275 buffer.get(rowData, 0, readSize); in getDataFromImage()
/cts/tests/tests/media/src/android/media/cts/
DAudioPlaybackCaptureTest.java427 int readSize = 0; in testStopMediaProjectionDuringCapture() local
431 readSize += status; in testStopMediaProjectionDuringCapture()
433 + audioRecord.getRecordingState(), readSize, lessThan(MAX_READ_SIZE)); in testStopMediaProjectionDuringCapture()