Home
last modified time | relevance | path

Searched refs:externalStats (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java279 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 …]
DCachedStorageValuesHelper.java113 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()
DStorageAsyncLoader.java154 result.externalStats = mStatsManager.getExternalStorageStats(mUuid, in getStorageResultForUser()
174 public StorageStatsSource.ExternalStorageStats externalStats; field in StorageAsyncLoader.AppsStorageResult
DUserProfileController.java102 setSize(result.externalStats.totalBytes in handleResult()
DSecondaryUserController.java169 setSize(result.externalStats.totalBytes); in handleResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DCachedStorageValuesHelper.java113 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()
DStorageItemPreferenceController.java256 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()
DStorageAsyncLoader.java154 result.externalStats = mStatsManager.getExternalStorageStats(mUuid, in getStorageResultForUser()
174 public StorageStatsSource.ExternalStorageStats externalStats; field in StorageAsyncLoader.AppsStorageResult
DUserProfileController.java103 setSize(result.externalStats.totalBytes in handleResult()
DSecondaryUserController.java170 setSize(result.externalStats.totalBytes); in handleResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DStorageProfileFragmentTest.java52 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/
DCachedStorageValuesHelperTest.java138 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()
DUserProfileControllerTest.java108 userResult.externalStats = in acceptingResultUpdatesPreferenceSize()
DSecondaryUserControllerTest.java181 userResult.externalStats = in controllerUpdatesPreferenceOnAcceptingResult()
DStorageItemPreferenceControllerTest.java313 result.externalStats = in testMeasurementCompletedUpdatesPreferences()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java236 StorageStatsSource.ExternalStorageStats externalStats) { in setExternalStats() argument
237 this.mStorageStats = externalStats; in setExternalStats()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java149 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()