Home
last modified time | relevance | path

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

/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
H A DStorageUsageProgressBarPreferenceController.java45 long mUsedBytes; field in StorageUsageProgressBarPreferenceController
84 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()
H A DStorageItemPreferenceController.java112 private long mUsedBytes; field in StorageItemPreferenceController
392 final long systemSize = Math.max(TrafficStats.GB_IN_BYTES, mUsedBytes - attributedSize); in onLoadFinished()
401 mUsedBytes = usedSizeBytes; in setUsedSize()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
H A DStorageUsageProgressBarPreferenceControllerTest.java91 assertThat(mController.mUsedBytes).isEqualTo(USAGE_BYTES); in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()