/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_client_test.cpp | 133 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetCellularRxBytes(stats); 168 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetAllRxBytes(stats); 181 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetAllTxBytes(stats); 267 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->ResetFactory(); 282 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->ResetFactory(); 290 …new (std::nothrow) NetStatsClient::NetStatsDeathRecipient(*DelayedSingleton<NetStatsClient>::GetIn… 294 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetAllStatsInfo(infos); 301 …new (std::nothrow) NetStatsClient::NetStatsDeathRecipient(*DelayedSingleton<NetStatsClient>::GetIn… 322 …new (std::nothrow) NetStatsClient::NetStatsDeathRecipient(*DelayedSingleton<NetStatsClient>::GetIn… 335 …new (std::nothrow) NetStatsClient::NetStatsDeathRecipient(*DelayedSingleton<NetStatsClient>::GetIn… [all …]
|
H A D | data_flow_statistics_test.cpp | 177 …int32_t result = DelayedSingleton<NetStatsClient>::GetInstance()->RegisterNetStatsCallback(callbac… 179 result = DelayedSingleton<NetStatsClient>::GetInstance()->UnregisterNetStatsCallback(callback);
|
H A D | BUILD.gn | 58 "NETMGR_LOG_TAG = \"NetStatsClient\"", 143 "NETMGR_LOG_TAG = \"NetStatsClient\"",
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/ |
H A D | net_stats_client.cpp | 32 NetStatsClient::NetStatsClient() : netStatsService_(nullptr), deathRecipient_(nullptr), callback_(n… in NetStatsClient() function in OHOS::NetManagerStandard::NetStatsClient 34 NetStatsClient::~NetStatsClient() = default; 69 sptr<INetStatsService> NetStatsClient::GetProxy() in GetProxy() 109 void NetStatsClient::RecoverCallback() in RecoverCallback() 180 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() 273 int32_t NetStatsClient::UpdateStatsData() in UpdateStatsData() 283 int32_t NetStatsClient::ResetFactory() in ResetFactory() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netstatsclient/ |
H A D | libnetstats_kits.map | 27 "OHOS::NetManagerStandard::NetStatsClient::GetCellularRxBytes(unsigned long long&)"; 28 "OHOS::NetManagerStandard::NetStatsClient::NetStatsClient()"; 30 "OHOS::NetManagerStandard::NetStatsClient::GetAllRxBytes(unsigned long long&)"; 31 "OHOS::NetManagerStandard::NetStatsClient::GetAllTxBytes(unsigned long long&)"; 41 "OHOS::NetManagerStandard::NetStatsClient::UpdateStatsData()"; 42 "OHOS::NetManagerStandard::NetStatsClient::~NetStatsClient()"; 43 "OHOS::NetManagerStandard::NetStatsClient::ResetFactory()"; 45 "OHOS::NetManagerStandard::NetStatsClient::GetCellularRxBytes(unsigned long&)"; 46 "OHOS::NetManagerStandard::NetStatsClient::GetCellularTxBytes(unsigned long&)"; 47 "OHOS::NetManagerStandard::NetStatsClient::GetAllRxBytes(unsigned long&)"; [all …]
|
H A D | BUILD.gn | 120 "NETMGR_LOG_TAG = \"NetStatsClient\"",
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/ |
H A D | statistics_exec.cpp | 40 int32_t result = NetStatsClient::GetInstance().GetCellularRxBytes(context->bytes64_); in ExecGetCellularRxBytes() 47 int32_t result = NetStatsClient::GetInstance().GetCellularTxBytes(context->bytes64_); in ExecGetCellularTxBytes() 54 int32_t result = NetStatsClient::GetInstance().GetAllRxBytes(context->bytes64_); in ExecGetAllRxBytes() 61 int32_t result = NetStatsClient::GetInstance().GetAllTxBytes(context->bytes64_); in ExecGetAllTxBytes() 68 int32_t result = NetStatsClient::GetInstance().GetUidRxBytes(context->bytes64_, context->uid_); in ExecGetUidRxBytes() 75 int32_t result = NetStatsClient::GetInstance().GetUidTxBytes(context->bytes64_, context->uid_); in ExecGetUidTxBytes() 82 …int32_t result = NetStatsClient::GetInstance().GetIfaceRxBytes(context->bytes64_, context->interfa… in ExecGetIfaceRxBytes() 89 …int32_t result = NetStatsClient::GetInstance().GetIfaceTxBytes(context->bytes64_, context->interfa… in ExecGetIfaceTxBytes() 121 int32_t result = NetStatsClient::GetInstance().UpdateStatsData(); in ExecUpdateStatsData() 128 …int32_t result = NetStatsClient::GetInstance().GetSockfdRxBytes(context->bytes64_, context->sockfd… in ExecGetSockfdRxBytes() [all …]
|
H A D | statistics_observer_wrapper.cpp | 56 int32_t ret = NetStatsClient::GetInstance().RegisterNetStatsCallback(observer_); in On() 105 auto ret = NetStatsClient::GetInstance().UnregisterNetStatsCallback(observer_); in Off()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netstatsclient/include/ |
H A D | net_stats_client.h | 33 class NetStatsClient : public Singleton<NetStatsClient> { 35 NetStatsClient(); 36 ~NetStatsClient(); 281 explicit NetStatsDeathRecipient(NetStatsClient &client) : client_(client) {} in NetStatsDeathRecipient() 289 NetStatsClient &client_;
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
H A D | traffic_dumper.cpp | 60 …int32_t ret = DelayedSingleton<NetManagerStandard::NetStatsClient>::GetInstance()->GetAllRxBytes(r… in GetAllBytes() 72 …ret = DelayedSingleton<NetManagerStandard::NetStatsClient>::GetInstance()->GetAllTxBytes(sendStats… in GetAllBytes() 97 … int32_t ret = DelayedSingleton<NetManagerStandard::NetStatsClient>::GetInstance()->GetUidRxBytes( in GetApplicationUidBytes() 111 ret = DelayedSingleton<NetManagerStandard::NetStatsClient>::GetInstance()->GetUidTxBytes( in GetApplicationUidBytes()
|
/ohos5.0/foundation/communication/netmanager_base/services/netstatsmanager/ |
H A D | BUILD.gn | 111 "NETMGR_LOG_TAG = \"NetStatsClient\"", 171 "NETMGR_LOG_TAG = \"NetStatsClient\"",
|
/ohos5.0/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/netsys_bpf_stats_test/ |
H A D | BUILD.gn | 53 "NETMGR_LOG_TAG = \"NetStatsClient\"",
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/wifi_network_stats/ |
H A D | wifi_net_stats_manager.cpp | 91 …int32_t ret = DelayedSingleton<NetManagerStandard::NetStatsClient>::GetInstance()->GetAllStatsInfo… in GetWifiNetStatsDetail()
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | network.cpp | 472 int32_t ret = NetStatsClient::GetInstance().UpdateStatsData(); in UpdateStatsCached()
|