/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 279 attributedSize += otherData.externalStats.totalBytes in onLoadFinished() 280 - otherData.externalStats.appBytes; in onLoadFinished() 329 return data.photosAppsSize + data.externalStats.imageBytes in getPhotosSize() 330 + data.externalStats.videoBytes in getPhotosSize() 331 + profileData.photosAppsSize + profileData.externalStats.imageBytes in getPhotosSize() 332 + profileData.externalStats.videoBytes; in getPhotosSize() 334 return data.photosAppsSize + data.externalStats.imageBytes in getPhotosSize() 335 + data.externalStats.videoBytes; in getPhotosSize() 361 return data.musicAppsSize + data.externalStats.audioBytes in getAudioSize() 362 + profileData.musicAppsSize + profileData.externalStats.audioBytes; in getAudioSize() [all …]
|
D | CachedStorageValuesHelper.java | 113 final StorageStatsSource.ExternalStorageStats externalStats = in getCachedAppsStorageResult() local 128 result.externalStats = externalStats; in getCachedAppsStorageResult() 146 .putLong(EXTERNAL_TOTAL_BYTES, result.externalStats.totalBytes) in cacheResult() 147 .putLong(EXTERNAL_AUDIO_BYTES, result.externalStats.audioBytes) in cacheResult() 148 .putLong(EXTERNAL_VIDEO_BYTES, result.externalStats.videoBytes) in cacheResult() 149 .putLong(EXTERNAL_IMAGE_BYTES, result.externalStats.imageBytes) in cacheResult() 150 .putLong(EXTERNAL_APP_BYTES, result.externalStats.appBytes) in cacheResult()
|
D | StorageAsyncLoader.java | 154 result.externalStats = mStatsManager.getExternalStorageStats(mUuid, in getStorageResultForUser() 174 public StorageStatsSource.ExternalStorageStats externalStats; field in StorageAsyncLoader.AppsStorageResult
|
D | UserProfileController.java | 102 setSize(result.externalStats.totalBytes in handleResult()
|
D | SecondaryUserController.java | 169 setSize(result.externalStats.totalBytes); in handleResult()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | CachedStorageValuesHelper.java | 113 final StorageStatsSource.ExternalStorageStats externalStats = in getCachedAppsStorageResult() local 128 result.externalStats = externalStats; in getCachedAppsStorageResult() 146 .putLong(EXTERNAL_TOTAL_BYTES, result.externalStats.totalBytes) in cacheResult() 147 .putLong(EXTERNAL_AUDIO_BYTES, result.externalStats.audioBytes) in cacheResult() 148 .putLong(EXTERNAL_VIDEO_BYTES, result.externalStats.videoBytes) in cacheResult() 149 .putLong(EXTERNAL_IMAGE_BYTES, result.externalStats.imageBytes) in cacheResult() 150 .putLong(EXTERNAL_APP_BYTES, result.externalStats.appBytes) in cacheResult()
|
D | StorageItemPreferenceController.java | 256 data.photosAppsSize + data.externalStats.imageBytes + data.externalStats.videoBytes, in onLoadFinished() 259 data.musicAppsSize + data.externalStats.audioBytes, mTotalSize); in onLoadFinished() 265 data.externalStats.totalBytes in onLoadFinished() 266 - data.externalStats.audioBytes in onLoadFinished() 267 - data.externalStats.videoBytes in onLoadFinished() 268 - data.externalStats.imageBytes in onLoadFinished() 269 - data.externalStats.appBytes; in onLoadFinished() 284 attributedSize += otherData.externalStats.totalBytes in onLoadFinished() 285 - otherData.externalStats.appBytes; in onLoadFinished()
|
D | StorageAsyncLoader.java | 154 result.externalStats = mStatsManager.getExternalStorageStats(mUuid, in getStorageResultForUser() 174 public StorageStatsSource.ExternalStorageStats externalStats; field in StorageAsyncLoader.AppsStorageResult
|
D | UserProfileController.java | 103 setSize(result.externalStats.totalBytes in handleResult()
|
D | SecondaryUserController.java | 170 setSize(result.externalStats.totalBytes); in handleResult()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | StorageProfileFragmentTest.java | 52 result.externalStats = new StorageStatsSource.ExternalStorageStats(6, 1, 2, 3, 0); in verifyAppSizesAreNotZeroedOut() 67 assertThat(extractedResult.externalStats.audioBytes).isEqualTo(1); in verifyAppSizesAreNotZeroedOut() 68 assertThat(extractedResult.externalStats.videoBytes).isEqualTo(2); in verifyAppSizesAreNotZeroedOut() 69 assertThat(extractedResult.externalStats.imageBytes).isEqualTo(3); in verifyAppSizesAreNotZeroedOut() 70 assertThat(extractedResult.externalStats.totalBytes).isEqualTo(6); in verifyAppSizesAreNotZeroedOut()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | CachedStorageValuesHelperTest.java | 138 assertThat(primaryResult.externalStats.totalBytes).isEqualTo(222222L); in getCachedAppsStorageResult_cachedValuesAreLoaded() 139 assertThat(primaryResult.externalStats.audioBytes).isEqualTo(22L); in getCachedAppsStorageResult_cachedValuesAreLoaded() 140 assertThat(primaryResult.externalStats.videoBytes).isEqualTo(222L); in getCachedAppsStorageResult_cachedValuesAreLoaded() 141 assertThat(primaryResult.externalStats.imageBytes).isEqualTo(2222L); in getCachedAppsStorageResult_cachedValuesAreLoaded() 142 assertThat(primaryResult.externalStats.appBytes).isEqualTo(22222L); in getCachedAppsStorageResult_cachedValuesAreLoaded() 267 final StorageStatsSource.ExternalStorageStats externalStats = in cacheResult_succeeds() local 277 result.externalStats = externalStats; in cacheResult_succeeds()
|
D | UserProfileControllerTest.java | 108 userResult.externalStats = in acceptingResultUpdatesPreferenceSize()
|
D | SecondaryUserControllerTest.java | 181 userResult.externalStats = in controllerUpdatesPreferenceOnAcceptingResult()
|
D | StorageItemPreferenceControllerTest.java | 313 result.externalStats = in testMeasurementCompletedUpdatesPreferences()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageAsyncLoader.java | 236 StorageStatsSource.ExternalStorageStats externalStats) { in setExternalStats() argument 237 this.mStorageStats = externalStats; in setExternalStats()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 149 assertThat(result.get(PRIMARY_USER_ID).externalStats.totalBytes).isEqualTo(9L); in testMultipleUsers() 150 assertThat(result.get(SECONDARY_USER_ID).externalStats.totalBytes).isEqualTo(10L); in testMultipleUsers()
|