Home
last modified time | relevance | path

Searched refs:mStorageStatsManager (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceControllerTest.java57 private StorageStatsManager mStorageStatsManager; field in StorageUsageProgressBarPreferenceControllerTest
66 when(mContext.getSystemService(StorageStatsManager.class)).thenReturn(mStorageStatsManager); in setUp()
80 when(mStorageStatsManager.getTotalBytes(defaultInternalStorageEntry.getFsUuid())) in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()
82 when(mStorageStatsManager.getFreeBytes(defaultInternalStorageEntry.getFsUuid())) in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceController.java43 private final StorageStatsManager mStorageStatsManager; field in StorageUsageProgressBarPreferenceController
56 mStorageStatsManager = context.getSystemService(StorageStatsManager.class); in StorageUsageProgressBarPreferenceController()
94 mTotalBytes = mStorageStatsManager.getTotalBytes(mStorageEntry.getFsUuid()); in getStorageStatsAndUpdateUi()
96 - mStorageStatsManager.getFreeBytes(mStorageEntry.getFsUuid()); in getStorageStatsAndUpdateUi()