Home
last modified time | relevance | path

Searched refs:totalRead (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWspTypeDecoder.java479 int totalRead = 0;
488 totalRead += mDataLength;
491 totalRead += mDataLength;
499 if (decodeUintvarInteger(startIndex + totalRead)) {
500 totalRead += mDataLength;
503 return readContentParameters(startIndex + totalRead, leftToRead
504 - totalRead, accumulator + totalRead);
514 if (decodeNoValue(startIndex + totalRead)) {
515 totalRead += mDataLength;
517 } else if (decodeIntegerValue(startIndex + totalRead)) {
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DSessionStager.kt59 var totalRead: Long = 0 in <lambda>() variable
71 totalRead += numRead.toLong() in <lambda>()
72 val fraction = totalRead.toFloat() / sizeBytes.toFloat() in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java185 int totalRead = 0; in readExactly() local
187 int n = Os.read(fd, buffer, offset + totalRead, numBytes); in readExactly()
195 totalRead += n; in readExactly()
197 return totalRead; in readExactly()
DPhantomProcessList.java176 long totalRead = 0; in lookForPhantomProcessesLocked() local
182 totalRead += read; in lookForPhantomProcessesLocked()
202 input.skip(-totalRead); in lookForPhantomProcessesLocked()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStaging.java320 long totalRead = 0; in doInBackground() local
337 totalRead += numRead; in doInBackground()
338 float fraction = ((float) totalRead / (float) sizeBytes); in doInBackground()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java456 long totalRead = 0; in run() local
487 totalRead += nRead; in run()
491 new BackupProgress(preflightResult, totalRead)); in run()
499 + ": " + totalRead + " of " + quota); in run()
505 mBackupRunner.sendQuotaExceeded(totalRead, quota); in run()