Searched refs:actualRead (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/ |
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() 459 const ssize_t actualRead = reader(buffer, FRAMES_PER_READ); in createInternal() local 460 if (actualRead <= 0) { in createInternal() 467 buffer, writeFormat, buffer, format, actualRead * info.channels); in createInternal() 473 reallyWritten = sf_writef_short(sf, (const int16_t *)buffer, actualRead); in createInternal() 476 reallyWritten = sf_writef_int(sf, (const int32_t *)buffer, actualRead); in createInternal() 479 reallyWritten = sf_writef_float(sf, (const float *)buffer, actualRead); in createInternal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 399 int actualRead = 0; in verifyFileContents() local 402 while (((actualRead = input.read(actual)) != -1) && in verifyFileContents() 404 assertEquals(actualRead, expectedRead); in verifyFileContents()
|