Home
last modified time | relevance | path

Searched refs:mUsedBytes (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceController.java45 long mUsedBytes; field in StorageUsageProgressBarPreferenceController
81 mUsedBytes = cachedData.totalUsedSize; in getStorageStatsAndUpdateUi()
95 mUsedBytes = mTotalBytes in getStorageStatsAndUpdateUi()
104 mUsedBytes = mTotalBytes - rootFile.getFreeSpace(); in getStorageStatsAndUpdateUi()
109 mUsedBytes = 0; in getStorageStatsAndUpdateUi()
128 mContext, R.string.storage_usage_summary, mUsedBytes)); in updateState()
131 mUsageProgressBarPreference.setPercent(mUsedBytes, mTotalBytes); in updateState()
DStorageItemPreferenceController.java128 private long mUsedBytes; field in StorageItemPreferenceController
516 mUsedBytes - attributedSize); in getSizeInfo()
521 mUsedBytes = usedSizeBytes; in setUsedSize()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCacheStorageUsageInfo.java35 private long mUsedBytes; field in CacheStorageUsageInfo
69 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()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceControllerTest.java91 assertThat(mController.mUsedBytes).isEqualTo(USAGE_BYTES); in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()