Home
last modified time | relevance | path

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

/frameworks/base/services/incremental/
DIncrementalService.h128 ssize_t totalBlocks; member
130 bool isError() const { return totalBlocks < 0; } in isError()
131 bool started() const { return totalBlocks > 0; } in started()
132 bool fullyLoaded() const { return !isError() && (totalBlocks == filledBlocks); } in fullyLoaded()
135 return totalBlocks <= 0 ? totalBlocks : totalBlocks - filledBlocks; in blocksRemainingOrError()
139 return totalBlocks < 0 in getProgress()
140 ? totalBlocks in getProgress()
141 : totalBlocks > 0 ? double(filledBlocks) / double(totalBlocks) : 1.f; in getProgress()
DIncrementalService.cpp2210 ssize_t totalBlocks = 0, filledBlocks = 0, error = 0; in getLoadingProgressFromPath() local
2226 totalBlocks += totalBlocksCount; in getLoadingProgressFromPath()
2231 return error ? LoadingProgress{error, error} : LoadingProgress{filledBlocks, totalBlocks}; in getLoadingProgressFromPath()
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
DLowStorageTest.java53 int totalBlocks = stat.getBlockCount(); in onCreate() local
56 startSizeTextView.setText(Long.toString((totalBlocks * mBlockSize) / BYTE_SIZE)); in onCreate()
81 int totalBlocks = stat.getBlockCount(); in fillupdisk() local