Home
last modified time | relevance | path

Searched defs:stats (Results 1 – 25 of 70) sorted by relevance

123

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java103 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/
DAppsStorageStatsManagerTest.java83 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
DAppStorageSettingsDetailsFragmentTest.java166 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
DStorageSizeBasePreferenceControllerTest.java113 StorageStats stats = new StorageStats(); in onDataLoaded_appStorageStatsSet_shouldUpdateDetailText() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppStatsMixinTest.java94 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
DAllAppsInfoPreferenceControllerTest.java70 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_recentAppsSet_hidePreference() local
83 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_noRecentAppSet_showPreference() local
DRecentAppsPreferenceControllerTest.java127 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime() local
160 final List<UsageStats> stats = new ArrayList<>(); in onReloadDataCompleted_noRecentOpenAppsSet_shouldHideRecentAppPreference() local
DFetchPackageStorageAsyncLoaderTest.java61 AppStorageStats stats = mock(AppStorageStats.class); in worksForValidPackageNameAndUid() local
DAppStorageSettingsTest.java90 final AppStorageStats stats = mock(AppStorageStats.class); in updateUiWithSize_hasDataAndCache_shouldEnableClearButtons() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateNotificationBridge.java85 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/
DAppStateNotificationBridge.java85 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/
DRecentAppsPreferenceControllerTest.java140 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/
DAppStoragePreferenceControllerTest.java104 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/
DVolumeSizesLoader.java39 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/
DVolumeSizesLoader.java39 StorageStatsManager stats, in VolumeSizesLoader()
63 StorageVolumeProvider storageVolumeProvider, StorageStatsManager stats, VolumeInfo info) in getVolumeSize()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java171 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/
DDataStallStatsUtils.java58 public static void write(@NonNull final DataStallDetectionStats stats, in write()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppsNetworkStatsManager.java53 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/
DBatteryInfo.java166 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()
DDebugEstimatesLoader.java56 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java168 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()
DDebugEstimatesLoader.java58 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground() local
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DVolumeSizesLoader.java38 StorageStatsManager stats, VolumeInfo volume) { in VolumeSizesLoader()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DPhotosViewHolderController.java58 StorageStatsSource.ExternalStorageStats stats = in queryStats() local
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DPhotosViewHolderController.java58 StorageStatsSource.ExternalStorageStats stats = in queryStats() local

123