Searched refs:freeBytes (Results 1 – 10 of 10) sorted by relevance
63 final double usedPercentage = (double) (info.totalBytes - info.freeBytes) / info.totalBytes; in getSlice()67 final String freeSizeString = Formatter.formatFileSize(mContext, info.freeBytes); in getSlice()
179 final long freeBytes = file.getFreeSpace(); in update() local180 final long usedBytes = totalBytes - freeBytes; in update()
79 long usedBytes = info.totalBytes - info.freeBytes; in refreshSummaryThread()
215 final long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes; in onReceivedSizes()
389 final long privateUsedBytes = mStorageInfo.totalBytes - mStorageInfo.freeBytes; in onReceivedSizes()
46 assertThat(storageInfo.freeBytes).isEqualTo(1000L); in getVolumeSize_getsValidSizes()
52 assertThat(storageInfo.freeBytes).isEqualTo(1000L); in getVolumeSize_getsValidSizes()
371 long freeBytes = mCacheStorageInfo.getFreeBytes(); in refreshCacheStorageInfo() local386 Formatter.formatFileSize(activity, freeBytes)); in refreshCacheStorageInfo()
97 long privateUsedBytes = mPrivateStorageInfo.totalBytes - mPrivateStorageInfo.freeBytes; in onReceivedSizes()
122 return info.freeBytes < lowStorageThreshold; in volumeNeedsManagement()