/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 | AppStorageSettingsDetailsFragmentTest.java | 155 StorageStats stats = new StorageStats(); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() local 178 StorageStats stats = new StorageStats(); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() local 197 StorageStats stats = new StorageStats(); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear() local 217 StorageStats stats = new StorageStats(); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear() local 243 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled() local 258 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_dataButtonsShouldBeEnabled() local 273 StorageStats stats = new StorageStats(); in updateUiWithSize_resultLoaded_cacheButtonDisabledAndDataButtonsEnabled() local 289 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_cacheButtonEnabledAndDataButtonDisabled() local
|
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
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 85 NotificationsSentState stats = in loadAllExtraInfo() local 98 NotificationsSentState stats = getAggregatedUsageEvents( in updateExtraInfo() local 125 private void addBlockStatus(AppEntry entry, NotificationsSentState stats) { in addBlockStatus() 133 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts() 159 NotificationsSentState stats = in getAggregatedUsageEvents() local 163 aggregatedStats.put(getKey(userId, event.getPackageName()), stats); in getAggregatedUsageEvents() local 180 NotificationsSentState stats = null; in getAggregatedUsageEvents() local 237 NotificationsSentState stats = getNotificationsSentState(entry); in getSwitchOnClickListener() local 325 NotificationsSentState stats = getNotificationsSentState(entry); in enableSwitch() local 334 NotificationsSentState stats = getNotificationsSentState(entry); in checkSwitch() 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/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 | AppStorageSettingsTest.java | 101 final AppStorageStats stats = mock(AppStorageStats.class); in updateUiWithSize_hasDataAndCache_shouldEnableClearButtons() local 124 final AppStorageStats stats = mock(AppStorageStats.class); in updateUiWithSize_mainlineModule_shouldDisableClearButtons() 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
|
/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/modules/DnsResolver/ |
D | res_stats.cpp | 43 void _res_stats_clear_samples(res_stats* stats) { in _res_stats_clear_samples() 48 void android_net_res_stats_aggregate(res_stats* stats, int* successes, int* errors, int* timeouts, in android_net_res_stats_aggregate() 111 static bool res_stats_usable_server(const res_params* params, res_stats* stats) { in res_stats_usable_server() 146 int android_net_res_stats_get_usable_servers(const res_params* params, res_stats stats[], in android_net_res_stats_get_usable_servers()
|
D | ResolverStats.h | 93 inline void ResolverStats::encodeAll(const std::vector<ResolverStats>& stats, in encodeAll() 102 std::vector<ResolverStats>* stats) { in decodeAll()
|
D | ResolverController.cpp | 96 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo() 242 std::vector<int32_t>* params, std::vector<int32_t>* stats, in getResolverInfo() 298 std::vector<ResolverStats> stats; in dump() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppStoragePreferenceControllerTest.java | 115 final StorageStatsSource.AppStorageStats stats = in getStorageSummary_shouldWorkForExternal() local 125 final StorageStatsSource.AppStorageStats stats = in getStorageSummary_shouldWorkForInternal() local
|
/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/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/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() 247 BatteryStats stats, long elapsedRealtimeUs, BatteryInfo info) { in updateBatteryInfoCharging() 307 public static void parse(BatteryStats stats, BatteryDataParser... parsers) { in parse()
|
/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() 244 BatteryStats stats, long elapsedRealtimeUs, BatteryInfo info) { in updateBatteryInfoCharging() 304 public static void parse(BatteryStats stats, BatteryDataParser... parsers) { in parse()
|
/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/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
D | NetworkValidationMetricsTest.java | 148 final NetworkValidationReported stats = metrics.maybeStopCollectionAndSend(); in testNetworkValidationMetrics_VerifyConsecutiveProbeFailure() local 190 final NetworkValidationReported stats = metrics.maybeStopCollectionAndSend(); in testNetworkValidationMetrics_VerifyCollectMetrics() local
|
D | DataStallStatsUtilsTest.kt | 75 val stats = DataStallDetectionStats.Builder() in testWrite() constant
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | DataStallStatsUtils.java | 64 public static void write(@NonNull final DataStallDetectionStats stats, in write()
|
/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/deviceinfo/ |
D | StorageDashboardFragment.java | 212 SparseArray<StorageAsyncLoader.AppsStorageResult> stats) { in updateSecondaryUserControllers() 337 final StorageStatsManager stats = getActivity().getSystemService(StorageStatsManager.class); in isQuotaSupported() local 378 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class); in onCreateLoader() local
|