Home
last modified time | relevance | path

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

12345678910>>...24

/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_service_proxy_test.cpp276 uint64_t stats = 0; variable
288 uint64_t stats = 0; variable
301 uint64_t stats = 0; variable
315 uint64_t stats = 0; variable
327 uint64_t stats = 0; variable
340 uint64_t stats = 0; variable
354 uint64_t stats = 0; variable
366 uint64_t stats = 0; variable
379 uint64_t stats = 0; variable
393 uint64_t stats = 0; variable
[all …]
H A Dnet_stats_service_test.cpp129 uint64_t stats = 0; variable
142 uint64_t stats = 0; variable
156 uint64_t stats = 0; variable
174 uint64_t stats = 0; variable
191 uint64_t stats = 0; variable
204 uint64_t stats = 0; variable
217 uint64_t stats = 0; variable
230 uint64_t stats = 0; variable
317 uint64_t stats = 0; variable
324 uint64_t stats = 0; variable
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
H A DAppSearchLogger.java41 void logStats(@NonNull CallStats stats); in logStats()
44 void logStats(@NonNull PutDocumentStats stats); in logStats()
47 void logStats(@NonNull InitializeStats stats); in logStats()
50 void logStats(@NonNull SearchStats stats); in logStats()
53 void logStats(@NonNull RemoveStats stats); in logStats()
56 void logStats(@NonNull OptimizeStats stats); in logStats()
59 void logStats(@NonNull SetSchemaStats stats); in logStats()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/power/
H A DMeasuredEnergyStatsTest.java59 final MeasuredEnergyStats stats = in testConstruction() local
85 final MeasuredEnergyStats stats = in testCreateFromTemplate() local
118 final MeasuredEnergyStats stats = in testReadWriteParcel() local
153 final MeasuredEnergyStats stats = in testCreateAndReadSummaryFromParcel() local
248 final MeasuredEnergyStats stats = in testCreateAndReadSummaryFromParcel_skipZero() local
311 final MeasuredEnergyStats stats = in testCreateAndReadSummaryFromParcel_nullTemplate() local
375 final MeasuredEnergyStats stats = in testUpdateBucket() local
396 final MeasuredEnergyStats stats = in testIsValidCustomBucket() local
415 final MeasuredEnergyStats stats = in testGetAccumulatedCustomBucketCharges() local
433 final MeasuredEnergyStats stats = in testGetAccumulatedCustomBucketCharges_empty() local
[all …]
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
H A DWifiP2pMetricsTest.java59 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
/aosp12/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
H A 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 …]
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/stats/
H A DPlatformLogger.java129 public void logStats(@NonNull CallStats stats) { in logStats()
140 public void logStats(@NonNull PutDocumentStats stats) { in logStats()
150 public void logStats(@NonNull InitializeStats stats) { in logStats()
160 public void logStats(@NonNull SearchStats stats) { in logStats()
170 public void logStats(@NonNull RemoveStats stats) { in logStats()
175 public void logStats(@NonNull OptimizeStats stats) { in logStats()
185 public void logStats(@NonNull SetSchemaStats stats) { in logStats()
205 private void logStatsImplLocked(@NonNull CallStats stats) { in logStatsImplLocked()
273 private void logStatsImplLocked(@NonNull SearchStats stats) { in logStatsImplLocked()
319 private void logStatsImplLocked(@NonNull InitializeStats stats) { in logStatsImplLocked()
[all …]
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
H A DStorageApplicationActionButtonsPreferenceControllerTest.java190 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
H A DAppsStorageStatsManagerTest.java82 StorageStats stats = new StorageStats(); in callback_onLoadFinished_listenerOnDataLoadedCalled() local
97 StorageStats stats = new StorageStats(); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() local
112 StorageStats stats = new StorageStats(); in callback_notLoaded_listenerOnDataLoadedCalled() local
129 StorageStats stats = new StorageStats(); in callback_cachedCleared_listenerOnDataLoadedCalled() local
146 StorageStats stats = new StorageStats(); in callback_userDataCleared_listenerOnDataLoadedCalled() local
/ohos5.0/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/netsys_bpf_stats_test/
H A Dnetsys_bpf_stats_test.cpp80 uint64_t stats = 0; variable
94 uint64_t stats = 0; variable
118 uint64_t stats = 0; variable
150 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable
177 uint64_t stats = 0; variable
217 uint64_t stats = 0; variable
264 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable
281 uint64_t stats = 0; variable
343 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable
370 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A DAppStateNotificationBridge.java87 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
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
H A 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
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
H A DTransportStatsTest.java54 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime() local
67 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime_whenHasAlreadyOneSample() local
79 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testGetStatsForTransport() local
94 Stats stats = Stats.merge(stats1, stats2); in testMerge() local
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/utils/
H A Djs_heap_stats_dumper.cpp35 JSHeapStatus stats; in Dump() local
50 void JSHeapStatsDumper::HandleChange(const JSHeapStatus &stats) in HandleChange()
57 void JSHeapStatsDumper::UpdateStats(const JSHeapStatus &stats) in UpdateStats()
71 void JSHeapStatsDumper::SaveStats(const JSHeapStatus &stats) in SaveStats()
/aosp12/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/
H A DAppSearchTestUtils.java57 public void logStats(@NonNull CallStats stats) { in logStats()
62 public void logStats(@NonNull PutDocumentStats stats) { in logStats()
67 public void logStats(@NonNull InitializeStats stats) { in logStats()
72 public void logStats(@NonNull SearchStats stats) { in logStats()
77 public void logStats(@NonNull RemoveStats stats) { in logStats()
82 public void logStats(@NonNull OptimizeStats stats) { in logStats()
87 public void logStats(@NonNull SetSchemaStats stats) { in logStats()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPulledStatsTest.java47 PulledStats stats = new PulledStats(0L); in testPulledStats_Empty() local
53 PulledStats stats = new PulledStats(0L); in testPulledStats_UnknownReport() local
72 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportPackages() local
104 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportEndTime() local
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/
H A Dnet_stats_client.cpp180 int32_t NetStatsClient::GetCellularRxBytes(uint64_t &stats) in GetCellularRxBytes()
190 int32_t NetStatsClient::GetCellularTxBytes(uint64_t &stats) in GetCellularTxBytes()
200 int32_t NetStatsClient::GetAllRxBytes(uint64_t &stats) in GetAllRxBytes()
210 int32_t NetStatsClient::GetAllTxBytes(uint64_t &stats) in GetAllTxBytes()
220 int32_t NetStatsClient::GetUidRxBytes(uint64_t &stats, uint32_t uid) in GetUidRxBytes()
230 int32_t NetStatsClient::GetUidTxBytes(uint64_t &stats, uint32_t uid) in GetUidTxBytes()
263 const NetStatsInfo &stats) in UpdateIfacesStats()
369 int32_t NetStatsClient::GetSockfdRxBytes(uint64_t &stats, int32_t sockfd) in GetSockfdRxBytes()
392 int32_t NetStatsClient::GetSockfdTxBytes(uint64_t &stats, int32_t sockfd) in GetSockfdTxBytes()
415 extern "C" int32_t GetUidTxBytesEx(uint64_t *stats, uint32_t uid) in GetUidTxBytesEx()
[all …]
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/metrics/
H A DStorageAccessMetricsTest.java57 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
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dstream_msg_manager.cpp29 bool StreamMsgManager::Send(const HistoryStats &stats) in Send()
35 void StreamMsgManager::Update(const HistoryStats &stats) in Update()
40 void StreamMsgManager::Recv(const HistoryStats &stats) in Recv()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DAmbientDisplayPowerCalculatorTest.java47 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel() local
84 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_multiDisplay() local
142 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel() local
168 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel_multiDisplay() local
/aosp12/packages/modules/Connectivity/core/tests/coretests/src/com/android/internal/net/
H A DNetworkStatsFactoryTest.java75 final NetworkStats stats = mFactory.readNetworkStatsDetail(); in testNetworkStatsDetail() local
101 final NetworkStats stats = mFactory.readNetworkStatsDetail(); in testNetworkStatsWithSet() local
110 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); in testNetworkStatsSingle() local
121 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); in testNetworkStatsXt() local
157 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry()
165 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
H A DImsStatsTest.java172 ImsRegistrationStats stats = captor.getValue(); in conclude_registered() local
219 ImsRegistrationStats stats = captor.getValue(); in conclude_registeredPartialFeatures() local
266 ImsRegistrationStats stats = captor.getValue(); in conclude_registeredVoiceOnly() local
331 ImsRegistrationStats stats = captor.getValue(); in onImsCapabilitiesChanged_sameTech() local
370 ImsRegistrationStats stats = captor.getValue(); in onImsCapabilitiesChanged_differentTech() local
409 ImsRegistrationStats stats = captor.getValue(); in onImsCapabilitiesChanged_differentTechNoVoice() local
446 ImsRegistrationStats stats = captor.getValue(); in onSetFeatureResponse_sameTech() local
561 ImsRegistrationStats stats = statsCaptor.getValue(); in onImsUnregistered_afterRegistered() local
783 ImsRegistrationStats stats = statsCaptor.getValue(); in onImsUnregistered_multiSim() local
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
H A DNetworkStatsFactoryTest.java93 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 …]
/aosp12/system/extras/iotop/
H A Dtaskstats.cpp61 taskstats stats; member
64 static pid_t ParseAggregateTaskStats(nlattr* attr, int attr_size, taskstats* stats) { in ParseAggregateTaskStats()
98 taskstats stats; in ParseTaskStats() local
121 bool TaskstatsSocket::GetStats(int pid, int type, TaskStatistics& stats) { in GetStats()
151 bool TaskstatsSocket::GetPidStats(int pid, TaskStatistics& stats) { in GetPidStats()
155 bool TaskstatsSocket::GetTgidStats(int tgid, TaskStatistics& stats) { in GetTgidStats()
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/
H A DPssTable.java57 final long[] stats = getArrayForKey(key); in mergeStats() local
74 final long[] stats = getArrayForKey(key); in mergeStats() local
80 public static void mergeStats(final long[] stats, final int statsIndex, in mergeStats()
94 public static void mergeStats(final long[] stats, final int statsIndex, final int inCount, in mergeStats()
148 final long[] stats = getArrayForKey(key); in writeStatsToProtoForKey() local
153 public static void writeStatsToProto(ProtoOutputStream proto, final long[] stats, in writeStatsToProto()
171 final long[] stats = getArrayForKey(key); in getRssMeanAndMax() local

12345678910>>...24