/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 103 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_appInstalledSameDayNeverUsed_isInvalid() local 117 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() local 131 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_unusedApp_isValid() local 145 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_noThresholdFilter_unusedApp_isValid() local 160 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_unknownLastUse_isFilteredOut() local 175 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_noThresholdFilter_unknownLastUse_isFilteredOut() local 190 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_oldAppRecentlyUsed_isNotValid() local 205 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_noThresholdFilter_oldAppRecentlyUsed_isValid() local 220 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_oldUnusedApp_isValid() local 235 UsageStatsState stats = (UsageStatsState) app.extraInfo; in test_noThresholdFilter_oldUnusedApp_isValid() local [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | AppsStorageStatsManagerTest.java | 83 StorageStats stats = new StorageStats(); in callback_onLoadFinished_listenerOnDataLoadedCalled() local 98 StorageStats stats = new StorageStats(); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() local 113 StorageStats stats = new StorageStats(); in callback_notLoaded_listenerOnDataLoadedCalled() local 130 StorageStats stats = new StorageStats(); in callback_cachedCleared_listenerOnDataLoadedCalled() local 147 StorageStats stats = new StorageStats(); in callback_userDataCleared_listenerOnDataLoadedCalled() local
|
D | AppStorageSettingsDetailsFragmentTest.java | 166 StorageStats stats = new StorageStats(); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() local 189 StorageStats stats = new StorageStats(); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() local 208 StorageStats stats = new StorageStats(); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear() local 230 StorageStats stats = new StorageStats(); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear() local 256 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled() local 271 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_dataButtonsShouldBeEnabled() local 286 StorageStats stats = new StorageStats(); in updateUiWithSize_resultLoaded_cacheButtonDisabledAndDataButtonsEnabled() local 302 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_cacheButtonEnabledAndDataButtonDisabled() local
|
D | StorageSizeBasePreferenceControllerTest.java | 113 StorageStats stats = new StorageStats(); in onDataLoaded_appStorageStatsSet_shouldUpdateDetailText() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppStatsMixinTest.java | 94 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp() local 115 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() local 150 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() local 188 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_oneInstantAppSet_shouldHaveOneRecentApp() local 213 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_withNullAppEntryOrInfo_shouldNotCrash() local 240 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_hiddenSystemModuleSet_shouldNotHaveHiddenSystemModule() local 289 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_powerSaverModeOn_shouldHaveEmptyList() local
|
D | AllAppsInfoPreferenceControllerTest.java | 70 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_recentAppsSet_hidePreference() local 83 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_noRecentAppSet_showPreference() local
|
D | RecentAppsPreferenceControllerTest.java | 127 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime() local 160 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_noRecentOpenAppsSet_shouldHideRecentAppPreference() local
|
D | FetchPackageStorageAsyncLoaderTest.java | 61 AppStorageStats stats = mock(AppStorageStats.class); in worksForValidPackageNameAndUid() local
|
D | AppStorageSettingsTest.java | 90 final AppStorageStats stats = mock(AppStorageStats.class); in updateUiWithSize_hasDataAndCache_shouldEnableClearButtons() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateNotificationBridge.java | 85 NotificationsSentState stats = in loadAllExtraInfo() local 95 NotificationsSentState stats = getAggregatedUsageEvents( in updateExtraInfo() local 120 private void addBlockStatus(AppEntry entry, NotificationsSentState stats) { in addBlockStatus() 128 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts() 154 NotificationsSentState stats = in getAggregatedUsageEvents() local 158 aggregatedStats.put(getKey(userId, event.getPackageName()), stats); in getAggregatedUsageEvents() local 175 NotificationsSentState stats = null; in getAggregatedUsageEvents() local 232 NotificationsSentState stats = getNotificationsSentState(entry); in getSwitchOnClickListener() local 320 NotificationsSentState stats = getNotificationsSentState(entry); in enableSwitch() local 329 NotificationsSentState stats = getNotificationsSentState(entry); in checkSwitch() local
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 85 NotificationsSentState stats = in loadAllExtraInfo() local 95 NotificationsSentState stats = getAggregatedUsageEvents( in updateExtraInfo() local 122 private void addBlockStatus(AppEntry entry, NotificationsSentState stats) { in addBlockStatus() 130 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts() 156 NotificationsSentState stats = in getAggregatedUsageEvents() local 160 aggregatedStats.put(getKey(userId, event.getPackageName()), stats); in getAggregatedUsageEvents() local 177 NotificationsSentState stats = null; in getAggregatedUsageEvents() local 234 NotificationsSentState stats = getNotificationsSentState(entry); in getSwitchOnClickListener() local 322 NotificationsSentState stats = getNotificationsSentState(entry); in enableSwitch() local 331 NotificationsSentState stats = getNotificationsSentState(entry); in checkSwitch() local
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceControllerTest.java | 140 final List<UsageStats> stats = new ArrayList<>(); in display_showRecents() local 179 final List<UsageStats> stats = new ArrayList<>(); in display_showRecentsWithInstantApp() local 221 final List<UsageStats> stats = new ArrayList<>(); in display_showRecentsWithNullAppEntryOrInfo() local 248 final List<UsageStats> stats = new ArrayList<>(); in display_hasRecentButNoneDisplayable_showAllApps() local 279 final List<UsageStats> stats = new ArrayList<>(); in display_showRecents_formatSummary() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppStoragePreferenceControllerTest.java | 104 final StorageStatsSource.AppStorageStats stats = in getStorageSummary_shouldWorkForExternal() local 114 final StorageStatsSource.AppStorageStats stats = in getStorageSummary_shouldWorkForInternal() local
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | VolumeSizesLoader.java | 39 StorageStatsManager stats, in VolumeSizesLoader() 63 StorageVolumeProvider storageVolumeProvider, StorageStatsManager stats, VolumeInfo info) in getVolumeSize()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | VolumeSizesLoader.java | 39 StorageStatsManager stats, in VolumeSizesLoader() 63 StorageVolumeProvider storageVolumeProvider, StorageStatsManager stats, VolumeInfo info) in getVolumeSize()
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | AssistantTest.java | 171 NotificationStats stats = new NotificationStats(); in dismissBadNotification() local 222 NotificationStats stats = new NotificationStats(); in testGroupChildCanTriggerAdjustment() local 246 NotificationStats stats = new NotificationStats(); in testGroupSummaryCannotTriggerAdjustment() local 265 NotificationStats stats = new NotificationStats(); in testAodCannotTriggerAdjustment() local 283 NotificationStats stats = new NotificationStats(); in testInteractedCannotTriggerAdjustment() local 303 NotificationStats stats = new NotificationStats(); in testAppDismissedCannotTriggerAdjustment() local
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | DataStallStatsUtils.java | 58 public static void write(@NonNull final DataStallDetectionStats stats, in write()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | AppsNetworkStatsManager.java | 53 void onDataLoaded(@Nullable NetworkStats stats, @Nullable int[] restrictedUids); in onDataLoaded() 100 private void onAppsNetworkStatsLoaded(NetworkStats stats, int[] restrictedUids) { in onAppsNetworkStatsLoaded()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryInfo.java | 166 final BatteryStats stats; in getBatteryInfo() local 213 BatteryStats stats, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfoOld() 224 BatteryStats stats, Estimate estimate, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfo() 245 BatteryStats stats, long elapsedRealtimeUs, BatteryInfo info) { in updateBatteryInfoCharging() 306 public static void parse(BatteryStats stats, BatteryDataParser... parsers) { in parse()
|
D | DebugEstimatesLoader.java | 56 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground() local
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 168 final BatteryStats stats; in getBatteryInfo() local 216 BatteryStats stats, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfoOld() 227 BatteryStats stats, Estimate estimate, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfo() 248 BatteryStats stats, long elapsedRealtimeUs, BatteryInfo info) { in updateBatteryInfoCharging() 309 public static void parse(BatteryStats stats, BatteryDataParser... parsers) { in parse()
|
D | DebugEstimatesLoader.java | 58 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | VolumeSizesLoader.java | 38 StorageStatsManager stats, VolumeInfo volume) { in VolumeSizesLoader()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/ |
D | PhotosViewHolderController.java | 58 StorageStatsSource.ExternalStorageStats stats = in queryStats() local
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | PhotosViewHolderController.java | 58 StorageStatsSource.ExternalStorageStats stats = in queryStats() local
|