Searched refs:mUsedBytes (Results 1 – 4 of 4) sorted by relevance
35 private long mUsedBytes; field in CacheStorageUsageInfo69 mUsedBytes = blockSize * (totalBlocks - availableBlocks); in loadStorageInfo()79 return mUsedBytes - mUsedCacheBytes + mTargetCacheBytes + mUserChangeDelta; in getExpectedUsedBytes()84 return mUsedBytes; in getUsedBytes()88 return mTotalBytes - mUsedBytes; in getFreeBytes()
45 long mUsedBytes; field in StorageUsageProgressBarPreferenceController84 mUsedBytes = mTotalBytes in getStorageStatsAndUpdateUi()93 mUsedBytes = mTotalBytes - rootFile.getFreeSpace(); in getStorageStatsAndUpdateUi()98 mUsedBytes = 0; in getStorageStatsAndUpdateUi()117 getStorageSummary(R.string.storage_usage_summary, mUsedBytes)); in updateState()120 mUsageProgressBarPreference.setPercent(mUsedBytes, mTotalBytes); in updateState()
112 private long mUsedBytes; field in StorageItemPreferenceController392 final long systemSize = Math.max(TrafficStats.GB_IN_BYTES, mUsedBytes - attributedSize); in onLoadFinished()401 mUsedBytes = usedSizeBytes; in setUsedSize()
91 assertThat(mController.mUsedBytes).isEqualTo(USAGE_BYTES); in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()