Home
last modified time | relevance | path

Searched refs:soFar (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DRecoverySystem.java256 long soFar = 0; in verifyPackage()
268 if (soFar >= toRead) { in verifyPackage()
276 if (soFar + size > toRead) { in verifyPackage()
277 size = (int)(toRead - soFar); in verifyPackage()
280 soFar += read; in verifyPackage()
284 int p = (int)(soFar * 100 / toRead); in verifyPackage()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java6310 int soFar = 0; in readExactly() local
6311 while (soFar < size) { in readExactly()
6312 int nRead = in.read(buffer, offset + soFar, size - soFar); in readExactly()
6314 … if (MORE_DEBUG) Slog.w(TAG, "- wanted exactly " + size + " but got only " + soFar); in readExactly()
6317 soFar += nRead; in readExactly()
6318 if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soFar)); in readExactly()
6320 return soFar; in readExactly()
7682 int soFar = 0; in readExactly() local
7683 while (soFar < size) { in readExactly()
7684 int nRead = in.read(buffer, offset + soFar, size - soFar); in readExactly()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java2254 final int soFar = totalScrolled.get(); in consecutiveSmoothScroll()
2255 scrollAmt.set(soFar); in consecutiveSmoothScroll()
2256 rv.smoothScrollBy(0, 5000 - soFar); in consecutiveSmoothScroll()
2262 final int soFar = totalScrolled.get(); in consecutiveSmoothScroll() local
2263 assertEquals("second scroll should be competed properly", 5000, soFar); in consecutiveSmoothScroll()