Home
last modified time | relevance | path

Searched refs:stats (Results 1 - 25 of 85) sorted by relevance

1234

/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
36 if (!JSI::GetJSHeapStatus(stats)) { in Dump()
37 HILOG_ERROR(HILOG_MODULE_ACE, "failed to get JS heap stats."); in Dump()
40 if (HasChanged(stats)) { in Dump()
41 HandleChange(stats); in Dump()
45 bool JSHeapStatsDumper::HasChanged(const JSHeapStatus &stats) const in HasChanged()
47 return stats.allocBytes != stats_.allocBytes || stats.peakAllocBytes != stats_.peakAllocBytes; in HasChanged()
50 void JSHeapStatsDumper::HandleChange(const JSHeapStatus &stats) in HandleChange() argument
52 UpdateStats(stats); in HandleChange()
57 UpdateStats(const JSHeapStatus &stats) UpdateStats() argument
71 SaveStats(const JSHeapStatus &stats) SaveStats() argument
[all...]
H A Djs_heap_stats_dumper.h32 bool HasChanged(const JSHeapStatus &stats) const;
33 void HandleChange(const JSHeapStatus &stats);
34 void UpdateStats(const JSHeapStatus &stats);
35 void LogStats(const JSHeapStatus &stats) const;
36 void SaveStats(const JSHeapStatus &stats);
/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/netsys_bpf_stats_test/
H A Dnetsys_bpf_stats_test.cpp80 uint64_t stats = 0; in HWTEST_F() local
81 bpfStats->GetTotalStats(stats, StatsType::STATS_TYPE_RX_BYTES); in HWTEST_F()
82 EXPECT_GE(stats, 0); in HWTEST_F()
83 bpfStats->GetTotalStats(stats, StatsType::STATS_TYPE_RX_PACKETS); in HWTEST_F()
84 EXPECT_GE(stats, 0); in HWTEST_F()
85 bpfStats->GetTotalStats(stats, StatsType::STATS_TYPE_TX_BYTES); in HWTEST_F()
86 EXPECT_GE(stats, 0); in HWTEST_F()
87 bpfStats->GetTotalStats(stats, StatsType::STATS_TYPE_TX_PACKETS); in HWTEST_F()
88 EXPECT_GE(stats, 0); in HWTEST_F()
94 uint64_t stats in HWTEST_F() local
118 uint64_t stats = 0; HWTEST_F() local
150 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; HWTEST_F() local
177 uint64_t stats = 0; HWTEST_F() local
217 uint64_t stats = 0; HWTEST_F() local
264 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; HWTEST_F() local
281 uint64_t stats = 0; HWTEST_F() local
343 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; HWTEST_F() local
370 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; HWTEST_F() local
407 uint64_t stats = 0; HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_stats.cpp31 int32_t NetsysBpfStats::GetNumberFromStatsValue(uint64_t &stats, StatsType statsType, const stats_value &value) in GetNumberFromStatsValue() argument
35 stats = value.rxBytes; in GetNumberFromStatsValue()
38 stats = value.rxPackets; in GetNumberFromStatsValue()
41 stats = value.txBytes; in GetNumberFromStatsValue()
44 stats = value.txPackets; in GetNumberFromStatsValue()
53 int32_t NetsysBpfStats::GetTotalStats(uint64_t &stats, StatsType statsType) in GetTotalStats() argument
55 stats = 0; in GetTotalStats()
76 return GetNumberFromStatsValue(stats, statsType, totalStats); in GetTotalStats()
79 int32_t NetsysBpfStats::GetUidStats(uint64_t &stats, StatsType statsType, uint32_t uid) in GetUidStats() argument
81 stats in GetUidStats()
94 GetAllSimStatsInfo(std::vector<OHOS::NetManagerStandard::NetStatsInfo> &stats) GetAllSimStatsInfo() argument
142 GetAllStatsInfo(std::vector<OHOS::NetManagerStandard::NetStatsInfo> &stats) GetAllStatsInfo() argument
201 GetIfaceStats(uint64_t &stats, const StatsType statsType, const std::string &interfaceName) GetIfaceStats() argument
221 GetCookieStats(uint64_t &stats, StatsType statsType, uint64_t cookie) GetCookieStats() argument
[all...]
/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/
H A Dnet_stats_info.cpp53 bool NetStatsInfo::Marshalling(Parcel &parcel, const NetStatsInfo &stats) in Marshalling() argument
55 if (!parcel.WriteUint32(stats.uid_)) { in Marshalling()
58 if (!parcel.WriteString(stats.iface_)) { in Marshalling()
61 if (!parcel.WriteString(stats.ident_)) { in Marshalling()
64 if (!parcel.WriteUint64(stats.date_)) { in Marshalling()
67 if (!parcel.WriteUint64(stats.rxBytes_)) { in Marshalling()
70 if (!parcel.WriteUint64(stats.txBytes_)) { in Marshalling()
73 if (!parcel.WriteUint64(stats.rxPackets_)) { in Marshalling()
76 if (!parcel.WriteUint64(stats.txPackets_)) { in Marshalling()
160 bool NetStatsInfo::Unmarshalling(Parcel &parcel, NetStatsInfo &stats) in Unmarshalling() argument
[all...]
H A Dnet_stats_client.cpp160 int32_t NetStatsClient::GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceRxBytes() argument
167 return proxy->GetIfaceRxBytes(stats, interfaceName); in GetIfaceRxBytes()
170 int32_t NetStatsClient::GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceTxBytes() argument
177 return proxy->GetIfaceTxBytes(stats, interfaceName); in GetIfaceTxBytes()
180 int32_t NetStatsClient::GetCellularRxBytes(uint64_t &stats) in GetCellularRxBytes() argument
187 return proxy->GetCellularRxBytes(stats); in GetCellularRxBytes()
190 int32_t NetStatsClient::GetCellularTxBytes(uint64_t &stats) in GetCellularTxBytes() argument
197 return proxy->GetCellularTxBytes(stats); in GetCellularTxBytes()
200 int32_t NetStatsClient::GetAllRxBytes(uint64_t &stats) in GetAllRxBytes() argument
207 return proxy->GetAllRxBytes(stats); in GetAllRxBytes()
210 GetAllTxBytes(uint64_t &stats) GetAllTxBytes() argument
220 GetUidRxBytes(uint64_t &stats, uint32_t uid) GetUidRxBytes() argument
230 GetUidTxBytes(uint64_t &stats, uint32_t uid) GetUidTxBytes() argument
262 UpdateIfacesStats(const std::string &iface, uint64_t start, uint64_t end, const NetStatsInfo &stats) UpdateIfacesStats() argument
369 GetSockfdRxBytes(uint64_t &stats, int32_t sockfd) GetSockfdRxBytes() argument
392 GetSockfdTxBytes(uint64_t &stats, int32_t sockfd) GetSockfdTxBytes() argument
415 GetUidTxBytesEx(uint64_t *stats, uint32_t uid) GetUidTxBytesEx() argument
425 GetUidRxBytesEx(uint64_t *stats, uint32_t uid) GetUidRxBytesEx() argument
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/streammsgmanager_fuzzer/
H A Dstreammsgmanager_fuzzer.cpp30 Communication::SoftBus::HistoryStats stats; in SendTest() local
31 stats.periodFrameNum = size; in SendTest()
34 streamMsgManager.Send((const Communication::SoftBus::HistoryStats &)stats); in SendTest()
42 Communication::SoftBus::HistoryStats stats; in RecvTest() local
43 stats.periodFrameNum = size; in RecvTest()
46 streamMsgManager.Recv((const Communication::SoftBus::HistoryStats &)stats); in RecvTest()
54 Communication::SoftBus::HistoryStats stats; in UpdateTest() local
55 stats.periodFrameNum = size; in UpdateTest()
58 streamMsgManager.Update((const Communication::SoftBus::HistoryStats &)stats); in UpdateTest()
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_service_proxy_test.cpp276 uint64_t stats = 0; in HWTEST_F() local
278 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
288 uint64_t stats = 0; in HWTEST_F() local
291 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
301 uint64_t stats = 0; in HWTEST_F() local
304 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETSYS_SUCCESS); in HWTEST_F()
305 EXPECT_EQ(stats, STATS_CODE); in HWTEST_F()
315 uint64_t stats = 0; in HWTEST_F() local
317 EXPECT_EQ(instance_.GetIfaceTxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
327 uint64_t stats in HWTEST_F() local
340 uint64_t stats = 0; HWTEST_F() local
354 uint64_t stats = 0; HWTEST_F() local
366 uint64_t stats = 0; HWTEST_F() local
379 uint64_t stats = 0; HWTEST_F() local
393 uint64_t stats = 0; HWTEST_F() local
405 uint64_t stats = 0; HWTEST_F() local
418 uint64_t stats = 0; HWTEST_F() local
432 uint64_t stats = 0; HWTEST_F() local
444 uint64_t stats = 0; HWTEST_F() local
457 uint64_t stats = 0; HWTEST_F() local
471 uint64_t stats = 0; HWTEST_F() local
483 uint64_t stats = 0; HWTEST_F() local
496 uint64_t stats = 0; HWTEST_F() local
510 uint64_t stats = 0; HWTEST_F() local
522 uint64_t stats = 0; HWTEST_F() local
535 uint64_t stats = 0; HWTEST_F() local
549 uint64_t stats = 0; HWTEST_F() local
561 uint64_t stats = 0; HWTEST_F() local
574 uint64_t stats = 0; HWTEST_F() local
949 uint64_t stats = 0; HWTEST_F() local
956 uint64_t stats = 0; HWTEST_F() local
964 uint64_t stats = 0; HWTEST_F() local
972 uint64_t stats = 0; HWTEST_F() local
979 uint64_t stats = 0; HWTEST_F() local
987 uint64_t stats = 0; HWTEST_F() local
[all...]
H A Dnet_stats_client_test.cpp105 uint64_t stats = 0; in HWTEST_F() local
106 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetIfaceRxBytes(stats, ETH_IFACE_NAME); in HWTEST_F()
107 EXPECT_GE(stats, static_cast<uint64_t>(0)); in HWTEST_F()
118 uint64_t stats = 0; in HWTEST_F() local
119 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetIfaceTxBytes(stats, ETH_IFACE_NAME); in HWTEST_F()
120 EXPECT_GE(stats, static_cast<uint64_t>(0)); in HWTEST_F()
132 uint64_t stats = 0; in HWTEST_F() local
133 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetCellularRxBytes(stats); in HWTEST_F()
139 EXPECT_GE(stats, static_cast<uint64_t>(0)); in HWTEST_F()
150 uint64_t stats in HWTEST_F() local
167 uint64_t stats = 0; HWTEST_F() local
180 uint64_t stats = 0; HWTEST_F() local
193 uint64_t stats = 0; HWTEST_F() local
206 uint64_t stats = 0; HWTEST_F() local
311 uint64_t stats = 0; HWTEST_F() local
[all...]
H A Dnet_stats_service_test.cpp134 uint64_t stats = 0; in HWTEST_F() local
135 int32_t ret = DelayedSingleton<NetStatsService>::GetInstance()->GetIfaceRxBytes(stats, ETH_IFACE_NAME); in HWTEST_F()
136 EXPECT_GE(stats, static_cast<uint64_t>(0)); in HWTEST_F()
147 uint64_t stats = 0; in HWTEST_F() local
148 int32_t ret = DelayedSingleton<NetStatsService>::GetInstance()->GetIfaceTxBytes(stats, ETH_IFACE_NAME); in HWTEST_F()
149 EXPECT_GE(stats, static_cast<uint64_t>(0)); in HWTEST_F()
161 uint64_t stats = 0; in HWTEST_F() local
162 int32_t ret = DelayedSingleton<NetStatsService>::GetInstance()->GetCellularRxBytes(stats); in HWTEST_F()
168 EXPECT_GE(stats, static_cast<uint64_t>(0)); in HWTEST_F()
179 uint64_t stats in HWTEST_F() local
196 uint64_t stats = 0; HWTEST_F() local
209 uint64_t stats = 0; HWTEST_F() local
222 uint64_t stats = 0; HWTEST_F() local
235 uint64_t stats = 0; HWTEST_F() local
322 uint64_t stats = 0; HWTEST_F() local
329 uint64_t stats = 0; HWTEST_F() local
[all...]
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dnet_stats_service_proxy_test.cpp272 uint64_t stats = 0; in HWTEST_F() local
274 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
284 uint64_t stats = 0; in HWTEST_F() local
287 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
297 uint64_t stats = 0; in HWTEST_F() local
300 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETSYS_SUCCESS); in HWTEST_F()
301 EXPECT_EQ(stats, STATS_CODE); in HWTEST_F()
311 uint64_t stats = 0; in HWTEST_F() local
313 EXPECT_EQ(instance_.GetIfaceTxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
323 uint64_t stats in HWTEST_F() local
336 uint64_t stats = 0; HWTEST_F() local
350 uint64_t stats = 0; HWTEST_F() local
362 uint64_t stats = 0; HWTEST_F() local
375 uint64_t stats = 0; HWTEST_F() local
389 uint64_t stats = 0; HWTEST_F() local
401 uint64_t stats = 0; HWTEST_F() local
414 uint64_t stats = 0; HWTEST_F() local
428 uint64_t stats = 0; HWTEST_F() local
440 uint64_t stats = 0; HWTEST_F() local
453 uint64_t stats = 0; HWTEST_F() local
467 uint64_t stats = 0; HWTEST_F() local
479 uint64_t stats = 0; HWTEST_F() local
492 uint64_t stats = 0; HWTEST_F() local
506 uint64_t stats = 0; HWTEST_F() local
518 uint64_t stats = 0; HWTEST_F() local
531 uint64_t stats = 0; HWTEST_F() local
545 uint64_t stats = 0; HWTEST_F() local
557 uint64_t stats = 0; HWTEST_F() local
570 uint64_t stats = 0; HWTEST_F() local
945 uint64_t stats = 0; HWTEST_F() local
952 uint64_t stats = 0; HWTEST_F() local
960 uint64_t stats = 0; HWTEST_F() local
968 uint64_t stats = 0; HWTEST_F() local
975 uint64_t stats = 0; HWTEST_F() local
983 uint64_t stats = 0; HWTEST_F() local
[all...]
/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() argument
31 static_cast<void>(stats); in Send()
35 void StreamMsgManager::Update(const HistoryStats &stats) in Update() argument
37 historyStatsSet_.push_back(stats); in Update()
40 void StreamMsgManager::Recv(const HistoryStats &stats) in Recv() argument
42 static_cast<void>(stats); in Recv()
H A Dstream_msg_manager.h32 bool Send(const HistoryStats &stats);
33 void Recv(const HistoryStats &stats);
35 void Update(const HistoryStats &stats);
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/
H A Dbpf_stats.h44 * @param stats Output traffic data
46 * @return returns total stats
48 int32_t GetTotalStats(uint64_t &stats, StatsType type);
53 * @param stats Output traffic data
56 * @return returns uid stats
58 int32_t GetUidStats(uint64_t &stats, StatsType type, uint32_t uid);
63 * @param stats Output traffic data
66 * @return returns iface stats.
68 int32_t GetIfaceStats(uint64_t &stats, StatsType type, const std::string &interfaceName);
73 * @param stats Stat
[all...]
/foundation/communication/netmanager_base/interfaces/innerkits/netstatsclient/include/proxy/
H A Dnet_stats_service_proxy.h30 int32_t GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) override;
31 int32_t GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) override;
32 int32_t GetCellularRxBytes(uint64_t &stats) override;
33 int32_t GetCellularTxBytes(uint64_t &stats) override;
34 int32_t GetAllRxBytes(uint64_t &stats) override;
35 int32_t GetAllTxBytes(uint64_t &stats) override;
36 int32_t GetUidRxBytes(uint64_t &stats, uint32_t uid) override;
37 int32_t GetUidTxBytes(uint64_t &stats, uint32_t uid) override;
50 const NetStatsInfo &stats) override;
53 int32_t GetCookieRxBytes(uint64_t &stats, uint64_
[all...]
H A Di_net_stats_service.h37 virtual int32_t GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) = 0;
38 virtual int32_t GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) = 0;
39 virtual int32_t GetCellularRxBytes(uint64_t &stats) = 0;
40 virtual int32_t GetCellularTxBytes(uint64_t &stats) = 0;
41 virtual int32_t GetAllRxBytes(uint64_t &stats) = 0;
42 virtual int32_t GetAllTxBytes(uint64_t &stats) = 0;
43 virtual int32_t GetUidRxBytes(uint64_t &stats, uint32_t uid) = 0;
44 virtual int32_t GetUidTxBytes(uint64_t &stats, uint32_t uid) = 0;
59 const NetStatsInfo &stats) = 0;
62 virtual int32_t GetCookieRxBytes(uint64_t &stats, uint64_
[all...]
/foundation/communication/netmanager_base/services/netstatsmanager/include/
H A Dnet_stats_service.h45 int32_t GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) override;
46 int32_t GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) override;
47 int32_t GetCellularRxBytes(uint64_t &stats) override;
48 int32_t GetCellularTxBytes(uint64_t &stats) override;
49 int32_t GetAllRxBytes(uint64_t &stats) override;
50 int32_t GetAllTxBytes(uint64_t &stats) override;
51 int32_t GetUidRxBytes(uint64_t &stats, uint32_t uid) override;
52 int32_t GetUidTxBytes(uint64_t &stats, uint32_t uid) override;
67 const NetStatsInfo &stats) override;
70 int32_t GetCookieRxBytes(uint64_t &stats, uint64_
[all...]
/foundation/communication/netmanager_base/interfaces/innerkits/netstatsclient/include/
H A Dnet_stats_client.h61 * @param stats Traffic (bytes)
67 int32_t GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName);
72 * @param stats Traffic (bytes)
78 int32_t GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName);
83 * @param stats Traffic (bytes)
88 int32_t GetCellularRxBytes(uint64_t &stats);
93 * @param stats Traffic (bytes)
98 int32_t GetCellularTxBytes(uint64_t &stats);
103 * @param stats Traffic (bytes)
108 int32_t GetAllRxBytes(uint64_t &stats);
[all...]
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_stats_combiner.cpp22 const std::shared_ptr<BundleActivePeriodStats>& stats, std::vector<BundleActivePackageStats>& accumulatedResult, in combine()
26 for (auto it : stats->bundleStats_) { in combine()
33 void BundleActiveStatsCombiner<BundleActiveEvent>::combine(const std::shared_ptr<BundleActivePeriodStats>& stats, in combine() argument
37 int32_t startIndex = stats->events_.FindBestIndex(beginTime); in combine()
38 int32_t size = static_cast<int32_t>(stats->events_.events_.size()); in combine()
40 accumulatedResult.push_back(stats->events_.events_[i]); in combine()
21 combine( const std::shared_ptr<BundleActivePeriodStats>& stats, std::vector<BundleActivePackageStats>& accumulatedResult, int64_t beginTime) combine() argument
/foundation/communication/netmanager_base/services/netstatsmanager/src/stub/
H A Dnet_stats_service_stub.cpp146 uint64_t stats = 0; in OnGetIfaceRxBytes() local
152 int32_t result = GetIfaceRxBytes(stats, iface); in OnGetIfaceRxBytes()
158 if (!reply.WriteUint64(stats)) { in OnGetIfaceRxBytes()
168 uint64_t stats = 0; in OnGetIfaceTxBytes() local
175 int32_t result = GetIfaceTxBytes(stats, iface); in OnGetIfaceTxBytes()
181 if (!reply.WriteUint64(stats)) { in OnGetIfaceTxBytes()
191 uint64_t stats = 0; in OnGetCellularRxBytes() local
192 int32_t ret = GetCellularRxBytes(stats); in OnGetCellularRxBytes()
198 if (!reply.WriteUint64(stats)) { in OnGetCellularRxBytes()
208 uint64_t stats in OnGetCellularTxBytes() local
225 uint64_t stats = 0; OnGetAllRxBytes() local
243 uint64_t stats = 0; OnGetAllTxBytes() local
262 uint64_t stats = 0; OnGetUidRxBytes() local
285 uint64_t stats = 0; OnGetUidTxBytes() local
565 uint64_t stats = 0; OnGetCookieRxBytes() local
588 uint64_t stats = 0; OnGetCookieTxBytes() local
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/stream_msg_manager_test/
H A Dstream_msg_manager_test.cpp66 HistoryStats stats; in HWTEST_F() local
68 streamMsgManger->Update(stats); in HWTEST_F()
70 streamMsgManger->Recv(stats); in HWTEST_F()
72 bool ret = streamMsgManger->Send(stats); in HWTEST_F()
/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/proxy/
H A Dnet_stats_service_proxy.cpp96 int32_t NetStatsServiceProxy::GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceRxBytes() argument
117 if (!reply.ReadUint64(stats)) { in GetIfaceRxBytes()
124 int32_t NetStatsServiceProxy::GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceTxBytes() argument
145 if (!reply.ReadUint64(stats)) { in GetIfaceTxBytes()
152 int32_t NetStatsServiceProxy::GetCellularRxBytes(uint64_t &stats) in GetCellularRxBytes() argument
169 if (!reply.ReadUint64(stats)) { in GetCellularRxBytes()
176 int32_t NetStatsServiceProxy::GetCellularTxBytes(uint64_t &stats) in GetCellularTxBytes() argument
193 if (!reply.ReadUint64(stats)) { in GetCellularTxBytes()
200 int32_t NetStatsServiceProxy::GetAllRxBytes(uint64_t &stats) in GetAllRxBytes() argument
215 if (!reply.ReadUint64(stats)) { in GetAllRxBytes()
222 GetAllTxBytes(uint64_t &stats) GetAllTxBytes() argument
245 GetUidRxBytes(uint64_t &stats, uint32_t uid) GetUidRxBytes() argument
273 GetUidTxBytes(uint64_t &stats, uint32_t uid) GetUidTxBytes() argument
351 UpdateIfacesStats(const std::string &iface, uint64_t start, uint64_t end, const NetStatsInfo &stats) UpdateIfacesStats() argument
526 GetCookieRxBytes(uint64_t &stats, uint64_t cookie) GetCookieRxBytes() argument
552 GetCookieTxBytes(uint64_t &stats, uint64_t cookie) GetCookieTxBytes() argument
[all...]
/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_service.cpp78 NETMGR_LOG_E("Net stats base service instance create failed"); in OnStart()
121 NETMGR_LOG_E("Net Manager update stats flag failed, uid:[%{public}d]", uid); in OnAddSystemAbility()
125 NETMGR_LOG_E("Net Manager update sim stats flag failed, uid:[%{public}d]", uid); in OnAddSystemAbility()
214 int32_t NetStatsService::GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceRxBytes() argument
216 return NetsysController::GetInstance().GetIfaceStats(stats, static_cast<uint32_t>(StatsType::STATS_TYPE_RX_BYTES), in GetIfaceRxBytes()
220 int32_t NetStatsService::GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceTxBytes() argument
222 return NetsysController::GetInstance().GetIfaceStats(stats, static_cast<uint32_t>(StatsType::STATS_TYPE_TX_BYTES), in GetIfaceTxBytes()
226 int32_t NetStatsService::GetCellularRxBytes(uint64_t &stats) in GetCellularRxBytes() argument
238 NETMGR_LOG_E("Get iface stats failed result: %{public}d", ret); in GetCellularRxBytes()
241 stats in GetCellularRxBytes()
246 GetCellularTxBytes(uint64_t &stats) GetCellularTxBytes() argument
266 GetAllRxBytes(uint64_t &stats) GetAllRxBytes() argument
272 GetAllTxBytes(uint64_t &stats) GetAllTxBytes() argument
278 GetUidRxBytes(uint64_t &stats, uint32_t uid) GetUidRxBytes() argument
285 GetUidTxBytes(uint64_t &stats, uint32_t uid) GetUidTxBytes() argument
362 UpdateIfacesStats(const std::string &iface, uint64_t start, uint64_t end, const NetStatsInfo &stats) UpdateIfacesStats() argument
539 GetCookieRxBytes(uint64_t &stats, uint64_t cookie) GetCookieRxBytes() argument
545 GetCookieTxBytes(uint64_t &stats, uint64_t cookie) GetCookieTxBytes() argument
[all...]
/foundation/resourceschedule/device_usage_statistics/services/packageusage/include/
H A Dbundle_active_stats_combiner.h28 void combine(const std::shared_ptr<BundleActivePeriodStats>& stats, std::vector<T>& accumulatedResult,
34 void combine(const std::shared_ptr<BundleActivePeriodStats>& stats,
40 void combine(const std::shared_ptr<BundleActivePeriodStats>& stats,
/foundation/arkui/ace_engine_lite/frameworks/common/memory/
H A Dmem_proc.cpp119 jerry_heap_stats_t stats = {0}; in JerryMemTracing() local
120 if (!jerry_get_memory_stats(&stats)) { in JerryMemTracing()
121 HILOG_ERROR(HILOG_MODULE_ACE, "Get jerry heap stats error."); in JerryMemTracing()
131 size_t total = stats.size; in JerryMemTracing()
132 size_t current = stats.allocated_bytes; in JerryMemTracing()
133 size_t peak = stats.peak_allocated_bytes; in JerryMemTracing()

Completed in 16 milliseconds

1234