/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSizesController.java | 33 private final Preference mTotalSize; field in AppStorageSizesController 52 mTotalSize = total; in AppStorageSizesController() 71 mTotalSize.setSummary(errorRes); in updateUi() 93 mTotalSize.setSummary(getSizeStr(context, totalSize)); in updateUi() 137 private Preference mTotalSize; field in AppStorageSizesController.Builder 160 mTotalSize = preference; in setTotalSizePreference() 176 Preconditions.checkNotNull(mTotalSize), in build()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStorageSizesController.java | 33 private final Preference mTotalSize; field in AppStorageSizesController 52 mTotalSize = total; in AppStorageSizesController() 71 mTotalSize.setSummary(errorRes); in updateUi() 93 mTotalSize.setSummary(getSizeStr(context, totalSize)); in updateUi() 137 private Preference mTotalSize; field in AppStorageSizesController.Builder 160 mTotalSize = preference; in setTotalSizePreference() 176 Preconditions.checkNotNull(mTotalSize), in build()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 85 private long mTotalSize; field in StorageItemPreferenceController 257 mTotalSize); in onLoadFinished() 259 data.musicAppsSize + data.externalStats.audioBytes, mTotalSize); in onLoadFinished() 260 mGamePreference.setStorageSize(data.gamesSize, mTotalSize); in onLoadFinished() 261 mMoviesPreference.setStorageSize(data.videoAppsSize, mTotalSize); in onLoadFinished() 262 mAppPreference.setStorageSize(data.otherAppsSize, mTotalSize); in onLoadFinished() 270 mFilePreference.setStorageSize(otherExternalBytes, mTotalSize); in onLoadFinished() 289 mSystemPreference.setStorageSize(systemSize, mTotalSize); in onLoadFinished() 298 mTotalSize = totalSizeBytes; in setTotalSize()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 85 private long mTotalSize; field in StorageItemPreferenceController 257 mTotalSize); in onLoadFinished() 259 data.musicAppsSize + data.externalStats.audioBytes, mTotalSize); in onLoadFinished() 260 mGamePreference.setStorageSize(data.gamesSize, mTotalSize); in onLoadFinished() 261 mMoviesPreference.setStorageSize(data.videoAppsSize, mTotalSize); in onLoadFinished() 262 mAppPreference.setStorageSize(data.otherAppsSize, mTotalSize); in onLoadFinished() 270 mFilePreference.setStorageSize(otherExternalBytes, mTotalSize); in onLoadFinished() 289 mSystemPreference.setStorageSize(systemSize, mTotalSize); in onLoadFinished() 298 mTotalSize = totalSizeBytes; in setTotalSize()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoStore.java | 54 private long mTotalSize = 0; field in PhotoStore 100 mTotalSize = 0; in clear() 105 return mTotalSize; in getTotalSize() 260 mTotalSize += entry.size; in putEntry() 263 mTotalSize += (entry.size - oldEntry.size); in putEntry() 275 mTotalSize -= entry.size; in removeEntry()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PrivateVolumeSettings.java | 115 private long mTotalSize; field in PrivateVolumeSettings 159 mTotalSize = getArguments().getLong(EXTRA_VOLUME_SIZE, 0); in onCreate() 160 mSystemSize = mTotalSize - sharedDataSize; in onCreate() 162 "onCreate() mTotalSize: " + mTotalSize + " sharedDataSize: " + sharedDataSize); in onCreate() 164 if (mTotalSize <= 0) { in onCreate() 165 mTotalSize = sharedDataSize; in onCreate() 254 final long usedBytes = mTotalSize - freeBytes; in update() 262 Formatter.formatFileSize(context, mTotalSize))); in update() 263 mSummary.setPercent(usedBytes, mTotalSize); in update() 644 final long usedSize = mTotalSize - details.availSize; in updateDetails() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 115 private long mTotalSize; field in PrivateVolumeSettings 159 mTotalSize = getArguments().getLong(EXTRA_VOLUME_SIZE, 0); in onCreate() 160 mSystemSize = mTotalSize - sharedDataSize; in onCreate() 162 "onCreate() mTotalSize: " + mTotalSize + " sharedDataSize: " + sharedDataSize); in onCreate() 164 if (mTotalSize <= 0) { in onCreate() 165 mTotalSize = sharedDataSize; in onCreate() 254 final long usedBytes = mTotalSize - freeBytes; in update() 262 Formatter.formatFileSize(context, mTotalSize))); in update() 263 mSummary.setPercent(usedBytes, mTotalSize); in update() 619 final long usedSize = mTotalSize - details.availSize; in updateDetails() [all …]
|