| /packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
| D | WifiP2pMetricsTest.java | 59 WifiP2pStats stats; in startAndEndConnectionEventSucceeds() local 100 WifiP2pStats stats; in startAndEndGroupEventSucceeds() local 140 WifiP2pStats stats; in increasePeerScans() local 159 WifiP2pStats stats; in increaseServiceScans() local 179 WifiP2pStats stats; in updatePersistentGroup() local 207 WifiP2pStats stats; in updateGroupEvent() local 244 WifiP2pStats stats; in updateGroupEventWithNoCurrentGroup() local 274 WifiP2pStats stats; in updateGroupEventWithDifferentGroup() local
|
| /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/unit/src/com/android/car/settings/storage/ |
| D | StorageApplicationActionButtonsPreferenceControllerTest.java | 190 StorageStats stats = new StorageStats(); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() local 214 StorageStats stats = new StorageStats(); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() local 236 StorageStats stats = new StorageStats(); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear() local 258 StorageStats stats = new StorageStats(); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear() local 287 StorageStats stats = new StorageStats(); in handleClearDataClick_hasValidManageSpaceActivity_shouldNotShowDialogToClear() local 316 StorageStats stats = new StorageStats(); in handleClearDataClick_hasInvalidManageSpaceActivity_shouldShowDialogToClear() local 348 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_cacheButtonsShouldBeEnabled() local 366 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_dataButtonsShouldBeEnabled() local 384 StorageStats stats = new StorageStats(); in updateUiWithSize_resultLoaded_cacheButtonDisabledAndDataButtonsEnabled() local 403 StorageStats stats = new StorageStats(); in onDataLoaded_resultLoaded_cacheButtonEnabledAndDataButtonDisabled() local
|
| /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
|
| /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 | 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
|
| /packages/providers/MediaProvider/tests/src/com/android/providers/media/metrics/ |
| D | StorageAccessMetricsTest.java | 57 PackageStorageAccessStats stats = statsList.get(0); in testLogMimeType() local 75 PackageStorageAccessStats stats = statsList.get(0); in testIncrementAccessViaFuse() local 95 PackageStorageAccessStats stats = statsList.get(0); in testIncrementAccessViaMediaProvider_externalVolumes() local 122 PackageStorageAccessStats stats = statsList.get(0); in testIncrementAccessViaMediaProvider_secondaryVolumes() local
|
| /packages/apps/Settings/src/com/android/settings/applications/ |
| D | AppStateNotificationBridge.java | 87 NotificationsSentState stats = in loadAllExtraInfo() local 100 NotificationsSentState stats = getAggregatedUsageEvents( in updateExtraInfo() local 127 private void addBlockStatus(AppEntry entry, NotificationsSentState stats) { in addBlockStatus() 135 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts() 161 NotificationsSentState stats = in getAggregatedUsageEvents() local 165 aggregatedStats.put(getKey(userId, event.getPackageName()), stats); in getAggregatedUsageEvents() local 182 NotificationsSentState stats = null; in getAggregatedUsageEvents() local 319 NotificationsSentState stats = getNotificationsSentState(entry); in enableSwitch() local 328 NotificationsSentState stats = getNotificationsSentState(entry); in checkSwitch() local
|
| /packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
| D | NetworkStatsFactoryTest.java | 93 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsDetail() local 399 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsWithSet() local 410 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); in testNetworkStatsSingle() local 421 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); in testNetworkStatsXt() local 437 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_simple); in testDoubleClatAccountingSimple() local 448 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat); in testDoubleClatAccounting() local 480 NetworkStats stats; in testDoubleClatAccounting100MBDownload() local 531 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry() 544 private static void assertNoStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertNoStatsEntry() 553 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry() [all …]
|
| /packages/modules/StatsD/statsd/tests/guardrail/ |
| D | StatsdStats_test.cpp | 31 StatsdStats stats; in TEST() local 58 StatsdStats stats; in TEST() local 79 StatsdStats stats; in TEST() local 106 StatsdStats stats; in TEST() local 222 StatsdStats stats; in TEST() local 255 StatsdStats stats; in TEST() local 288 StatsdStats stats; in TEST() local 343 StatsdStats stats; in TEST() local 376 StatsdStats stats; in TEST() local 390 StatsdStats stats; in TEST() local [all …]
|
| /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/services/Car/cpp/watchdog/server/tests/ |
| D | ProcDiskStatsTest.cpp | 36 std::string getDiskStatsLine(const DiskStats& stats) { in getDiskStatsLine() 57 for (const auto& stats : allStats) { in getDiskStatsFile() local 66 for (const auto& stats : perPartitionDiskStats) { in aggregateSystemWideDiskStats() local 75 auto tieStats = [](const DiskStats& stats) { in isEquals()
|
| /packages/modules/Connectivity/tests/unit/java/android/net/ |
| D | NetworkStatsTest.java | 71 final NetworkStats stats = new NetworkStats(TEST_START, 5) in testFindIndex() local 101 final NetworkStats stats = new NetworkStats(TEST_START, 3) in testFindIndexHinted() local 146 final NetworkStats stats = new NetworkStats(TEST_START, 4); in testAddEntryGrow() local 199 final NetworkStats stats = new NetworkStats(TEST_START, 10); in testCombineExisting() local 428 final NetworkStats stats = new NetworkStats(TEST_START, 7) in testGetTotal() local 801 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_NoFilter() local 828 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_UidFilter() local 859 NetworkStats stats = new NetworkStats(TEST_START, 4) in testFilter_InterfaceFilter() local 882 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_EmptyInterfaceFilter() local 906 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_TagFilter() local [all …]
|
| /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()
|
| /packages/modules/Wifi/service/java/com/android/server/wifi/ |
| D | WifiPowerMetrics.java | 52 WifiBatteryStats stats = getStats(); in buildProto() local 85 WifiBatteryStats stats = getStats(); in buildWifiRadioUsageProto() local
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
| D | ResourceOveruseConfigurationSubject.java | 43 public static ResourceOveruseConfigurationSubject assertThat( in assertThat() 53 public void containsExactly(ResourceOveruseConfiguration... stats) { in containsExactly()
|
| D | ResourceOveruseStatsSubject.java | 40 public static ResourceOveruseStatsSubject assertThat( in assertThat() 56 public void containsExactly(ResourceOveruseStats... stats) { in containsExactly()
|
| D | PackageKillableStateSubject.java | 41 public static PackageKillableStateSubject assertThat( in assertThat() 51 public void containsExactly(PackageKillableState... stats) { in containsExactly()
|
| D | IoOveruseConfigurationSubject.java | 63 public static IoOveruseConfigurationSubject assertThat( in assertThat() 73 public void containsExactly(IoOveruseConfiguration... stats) { in containsExactly()
|
| /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/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/modules/Connectivity/tests/common/java/android/net/netstats/ |
| D | NetworkStatsApiTest.kt | 156 val stats = testStats2.addEntry(Entry(IFACE_VT, TEST_UID1, SET_DEFAULT, TAG_NONE, in testAddEntry() constant 165 var stats = NetworkStats(0L, 0) in testAdd() variable
|
| /packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
| D | RecentAppsItemManagerTest.java | 85 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp() local 104 final List<UsageStats> stats = new ArrayList<>(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() local
|
| /packages/modules/Wifi/framework/java/android/net/wifi/ |
| D | IOnWifiUsabilityStatsListener.aidl | 40 in WifiUsabilityStatsEntry stats); in onWifiUsabilityStats()
|