Home
last modified time | relevance | path

Searched refs:totalBytesRead (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DWiFiLoadTest.java46 long totalBytesRead = 0; in test() local
57 totalBytesRead += count; in test()
68 mPowerMetricsCollector.report("Total bytes read over WiFi: " + totalBytesRead); in test()
/frameworks/av/media/codecs/mp3dec/test/
Dmp3reader.cpp248 ssize_t totalBytesRead = 0; in resync() local
271 totalBytesRead = sourceReadAt(fp, pos + remainingBytes, in resync()
274 if (totalBytesRead <= 0) { in resync()
277 reachEOS = (totalBytesRead != bytesToRead); in resync()
278 remainingBytes += totalBytesRead; in resync()
/frameworks/ex/framesequence/jni/
DStream.cpp123 size_t totalBytesRead = 0; in doRead() local
136 totalBytesRead += bytesRead; in doRead()
140 return totalBytesRead; in doRead()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp98 ssize_t totalBytesRead = 0; in Resync() local
122 totalBytesRead = source->readAt(pos + remainingBytes, in Resync()
125 if (totalBytesRead <= 0) { in Resync()
128 reachEOS = (totalBytesRead != bytesToRead); in Resync()
129 totalBytesRead += remainingBytes; in Resync()
130 remainingBytes = totalBytesRead; in Resync()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java270 int totalBytesRead = 0; in streamAudio() local
274 while (bytesRead >= 0 && totalBytesRead in streamAudio()
279 totalBytesRead += bytesRead; in streamAudio()
294 String.format("Streamed %s bytes from audio record", totalBytesRead)); in streamAudio()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp457 ssize_t totalBytesRead = 0; in read() local
471 totalBytesRead += bytesActuallyRead; in read()
484 totalBytesRead = bytesActuallyRead; in read()
497 int32_t framesRead = (int32_t)(totalBytesRead / bytesPerDeviceFrame); in read()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenInternalAudioRecorder.java211 int totalBytesRead = 0; in encode() local
221 totalBytesRead += bytesToRead; in encode()
226 mTotalBytes += totalBytesRead; in encode()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java4544 int totalBytesRead = 0; in uploadCallComposerPicture() local
4570 totalBytesRead += numRead; in uploadCallComposerPicture()
4571 if (totalBytesRead > getMaximumCallComposerPictureSize()) { in uploadCallComposerPicture()
4573 + totalBytesRead); in uploadCallComposerPicture()