Searched refs:actualRead (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/afutils/ |
D | NBAIO_Tee.cpp | 207 ssize_t actualRead = source->read(buffer, frames); in dumpTee() local 208 if (actualRead == (ssize_t)OVERRUN && firstRead) { in dumpTee() 210 actualRead = source->read(buffer, frames); in dumpTee() 213 return actualRead; in dumpTee() 461 const ssize_t actualRead = reader(buffer, FRAMES_PER_READ); in createInternal() local 462 if (actualRead <= 0) { in createInternal() 469 buffer, writeFormat, buffer, format, actualRead * info.channels); in createInternal() 475 reallyWritten = sf_writef_short(sf, (const int16_t *)buffer, actualRead); in createInternal() 478 reallyWritten = sf_writef_int(sf, (const int32_t *)buffer, actualRead); in createInternal() 481 reallyWritten = sf_writef_float(sf, (const float *)buffer, actualRead); in createInternal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 400 int actualRead = 0; in verifyFileContents() local 403 while (((actualRead = input.read(actual)) != -1) && in verifyFileContents() 405 assertEquals(actualRead, expectedRead); in verifyFileContents()
|