Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/tv/tuner/aidl/vts/functional/
DDvrTests.cpp51 int readBytes; in playbackThreadLoop() local
78 readBytes = read(fd, buffer, regionSize); in playbackThreadLoop()
79 if (readBytes <= 0) { in playbackThreadLoop()
80 if (readBytes < 0) { in playbackThreadLoop()
89 if (regionSize == 0 || (readBytes == regionSize && regionSize < totalWrite)) { in playbackThreadLoop()
103 readBytes += ret; in playbackThreadLoop()
105 if (!mPlaybackMQ->commitWrite(readBytes)) { in playbackThreadLoop()
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DDvrTests.cpp53 int readBytes; in playbackThreadLoop() local
81 readBytes = read(fd, buffer, regionSize); in playbackThreadLoop()
82 if (readBytes <= 0) { in playbackThreadLoop()
83 if (readBytes < 0) { in playbackThreadLoop()
92 if (regionSize == 0 || (readBytes == regionSize && regionSize < totalWrite)) { in playbackThreadLoop()
106 readBytes += ret; in playbackThreadLoop()
108 if (!mPlaybackMQ->commitWrite(readBytes)) { in playbackThreadLoop()
/hardware/interfaces/tv/tuner/1.1/vts/functional/
DDvrTests.cpp53 int readBytes; in playbackThreadLoop() local
80 readBytes = read(fd, buffer, regionSize); in playbackThreadLoop()
81 if (readBytes <= 0) { in playbackThreadLoop()
82 if (readBytes < 0) { in playbackThreadLoop()
91 if (regionSize == 0 || (readBytes == regionSize && regionSize < totalWrite)) { in playbackThreadLoop()
105 readBytes += ret; in playbackThreadLoop()
107 if (!mPlaybackMQ->commitWrite(readBytes)) { in playbackThreadLoop()
/hardware/google/aemu/host-common/
Daddress_space_graphics_unittests.cpp610 void setRoundTrip(bool enabled, size_t writeBytes, size_t readBytes) { in setRoundTrip() argument
612 mCurrentConsumer->setRoundTrip(enabled, writeBytes, readBytes); in setRoundTrip()
617 size_t readBytes; member
624 mCurrentConsumer->setRoundTrip(true, trip.writeBytes, trip.readBytes); in runRoundTrips()
627 std::vector<char> expectedRead(trip.readBytes, ASG_TEST_READ_PATTERN); in runRoundTrips()
628 std::vector<char> toRead(trip.readBytes, 0); in runRoundTrips()
646 while (recv < trip.readBytes) { in runRoundTrips()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp817 ssize_t readBytes; in copyCacheFiles() local
818 while ((readBytes = read(fromFd, &buffer, kBufferSize)) > 0) { in copyCacheFiles()
819 ASSERT_EQ(write(toFd, &buffer, readBytes), readBytes); in copyCacheFiles()
821 ASSERT_GE(readBytes, 0); in copyCacheFiles()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp1014 ssize_t readBytes; in copyCacheFiles() local
1015 while ((readBytes = read(fromFd, &buffer, kBufferSize)) > 0) { in copyCacheFiles()
1016 ASSERT_EQ(write(toFd, &buffer, readBytes), readBytes); in copyCacheFiles()
1018 ASSERT_GE(readBytes, 0); in copyCacheFiles()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCompilationCachingTests.cpp1005 ssize_t readBytes; in copyCacheFiles() local
1006 while ((readBytes = read(fromFd, &buffer, kBufferSize)) > 0) { in copyCacheFiles()
1007 ASSERT_EQ(write(toFd, &buffer, readBytes), readBytes); in copyCacheFiles()
1009 ASSERT_GE(readBytes, 0); in copyCacheFiles()
/hardware/google/gfxstream/host/
Dvirtio-gpu-gfxstream-renderer.cpp1265 size_t readBytes = 0; in handleTransferReadPipe() local
1266 size_t wantedBytes = readBytes + (size_t)box->w; in handleTransferReadPipe()
1268 while (readBytes < wantedBytes) { in handleTransferReadPipe()
1270 ((char*)res->linear) + box->x + readBytes, in handleTransferReadPipe()
1271 wantedBytes - readBytes, in handleTransferReadPipe()
1276 readBytes += status; in handleTransferReadPipe()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp570 int readBytes =0; in ebd_thread() local
591 if((readBytes = Read_Buffer(pBuffer)) > 0) { in ebd_thread()
592 pBuffer->nFilledLen = readBytes; in ebd_thread()
601 pBuffer->nFilledLen = readBytes; in ebd_thread()
1030 int readBytes =0; int bufCnt=0; in EmptyBufferDone() local
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp691 int readBytes =0; in ebd_thread() local
715 if (((readBytes = Read_Buffer(pBuffer)) > 0) && !signal_eos) { in ebd_thread()
716 pBuffer->nFilledLen = readBytes; in ebd_thread()
723 pBuffer->nFilledLen = readBytes; in ebd_thread()
1240 int readBytes =0; in EmptyBufferDone() local