/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
H A D | AppsStorageStatsManagerTest.java | 83 StorageStatsSource.AppStorageStats storageStats = in callback_onLoadFinished_listenerOnDataLoadedCalled() local 88 verify(mCallback1).onDataLoaded(storageStats, false, false); in callback_onLoadFinished_listenerOnDataLoadedCalled() 89 verify(mCallback2).onDataLoaded(storageStats, false, false); in callback_onLoadFinished_listenerOnDataLoadedCalled() 98 StorageStatsSource.AppStorageStats storageStats = in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() local 103 verify(mCallback1).onDataLoaded(storageStats, false, false); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 104 verify(mCallback2, never()).onDataLoaded(storageStats, false, false); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 113 StorageStatsSource.AppStorageStats storageStats = in callback_notLoaded_listenerOnDataLoadedCalled() local 130 StorageStatsSource.AppStorageStats storageStats = in callback_cachedCleared_listenerOnDataLoadedCalled() local 133 verify(mCallback1, never()).onDataLoaded(storageStats, true, false); in callback_cachedCleared_listenerOnDataLoadedCalled() 134 verify(mCallback2, never()).onDataLoaded(storageStats, true, false); in callback_cachedCleared_listenerOnDataLoadedCalled() [all …]
|
H A D | StorageApplicationActionButtonsPreferenceControllerTest.java | 194 StorageStatsSource.AppStorageStats storageStats = in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() local 197 mPreferenceController.onDataLoaded(storageStats, false, false); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() 218 StorageStatsSource.AppStorageStats storageStats = in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() local 240 StorageStatsSource.AppStorageStats storageStats = in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear() local 262 StorageStatsSource.AppStorageStats storageStats = in handleClearDataClick_allowedBySystem_shouldShowDialogToClear() local 291 StorageStatsSource.AppStorageStats storageStats = in handleClearDataClick_hasValidManageSpaceActivity_shouldNotShowDialogToClear() local 320 StorageStatsSource.AppStorageStats storageStats = in handleClearDataClick_hasInvalidManageSpaceActivity_shouldShowDialogToClear() local 352 StorageStatsSource.AppStorageStats storageStats = in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled() local 370 StorageStatsSource.AppStorageStats storageStats = in onDataLoaded_resultLoaded_dataButtonsShouldBeEnabled() local 388 StorageStatsSource.AppStorageStats storageStats = in updateUiWithSize_resultLoaded_cacheButtonDisabledAndDataButtonsEnabled() local [all …]
|
H A D | StorageSizeBasePreferenceControllerTest.java | 122 StorageStatsSource.AppStorageStats storageStats = in onDataLoaded_appStorageStatsSet_shouldUpdateDetailText() local 124 mPreferenceController.setAppStorageStats(storageStats); in onDataLoaded_appStorageStatsSet_shouldUpdateDetailText()
|
H A D | StorageAsyncLoaderTest.java | 265 StorageStatsSource.AppStorageStats storageStats = in createAppInfo() local 269 .thenReturn(storageStats); in createAppInfo()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
H A D | StorageStatsSourceTest.java | 31 StorageStats storageStats = new StorageStats(); in AppStorageStatsImpl_totalCorrectly() local 32 storageStats.cacheBytes = 1; in AppStorageStatsImpl_totalCorrectly() 33 storageStats.codeBytes = 10; in AppStorageStatsImpl_totalCorrectly() 34 storageStats.dataBytes = 100; in AppStorageStatsImpl_totalCorrectly() 36 storageStats); in AppStorageStatsImpl_totalCorrectly()
|
/aosp12/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | AppCollector.java | 132 StorageStats storageStats = in handleMessage() local 137 packageStats.cacheSize = storageStats.getCacheBytes(); in handleMessage() 138 packageStats.codeSize = storageStats.getAppBytes(); in handleMessage() 139 packageStats.dataSize = storageStats.getDataBytes(); in handleMessage()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
H A D | StorageAsyncLoaderTest.java | 213 StorageStatsSource.AppStorageStats storageStats = in addPackage() local 215 when(storageStats.getCodeBytes()).thenReturn(codeSize); in addPackage() 216 when(storageStats.getDataBytes()).thenReturn(dataSize + cacheSize); in addPackage() 217 when(storageStats.getCacheBytes()).thenReturn(cacheSize); in addPackage() 219 .thenReturn(storageStats); in addPackage()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
H A D | ApplicationsStateRoboTest.java | 192 StorageStats storageStats = new StorageStats(); in setUp() local 193 storageStats.codeBytes = 10; in setUp() 194 storageStats.cacheBytes = 30; in setUp() 196 storageStats.dataBytes = storageStats.cacheBytes + 20; in setUp() 198 anyString(), any(UserHandle.class))).thenReturn(storageStats); in setUp()
|
/aosp12/system/security/keystore2/aidl/android/security/metrics/ |
H A D | KeystoreAtomPayload.aidl | 33 StorageStats storageStats;
|
/aosp12/frameworks/base/services/core/java/com/android/server/stats/pull/ |
H A D | StatsPullAtomService.java | 4189 if (atomWrapper.payload.getTag() != KeystoreAtomPayload.storageStats) {
|