Home
last modified time | relevance | path

Searched refs:GetIfaceRxBytes (Results 1 - 25 of 35) sorted by relevance

12

/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/
H A Ddata_flow_statistics.cpp52 int64_t DataFlowStatistics::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() function in OHOS::NetManagerStandard::DataFlowStatistics
54 return NetsysController::GetInstance().GetIfaceRxBytes(interfaceName); in GetIfaceRxBytes()
H A Dnet_stats_client.cpp160 int32_t NetStatsClient::GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceRxBytes() function in OHOS::NetManagerStandard::NetStatsClient
167 return proxy->GetIfaceRxBytes(stats, interfaceName); in GetIfaceRxBytes()
/foundation/communication/netmanager_base/interfaces/innerkits/netstatsclient/include/
H A Ddata_flow_statistics.h78 int64_t GetIfaceRxBytes(const std::string &interfaceName);
H A Dnet_stats_client.h67 int32_t GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName);
/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/
H A Dstatistics_module.cpp117 napi_value GetIfaceRxBytes(napi_env env, napi_callback_info info) in GetIfaceRxBytes() function
196 DECLARE_NAPI_FUNCTION(FUNCTION_GET_IFACE_RXBYTES, GetIfaceRxBytes), in InitStatisticsModule()
H A Dstatistics_exec.cpp82 int32_t result = NetStatsClient::GetInstance().GetIfaceRxBytes(context->bytes64_, context->interfaceName_); in ExecGetIfaceRxBytes()
/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;
H A Di_net_stats_service.h37 virtual int32_t GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) = 0;
/foundation/communication/netmanager_base/services/netstatsmanager/include/
H A Dnet_stats_service.h45 int32_t GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) override;
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Ddata_flow_statistics_test.cpp118 * @tc.desc: Test DataFlowStatisticsTest GetIfaceRxBytes.
125 int64_t ret = flow->GetIfaceRxBytes(iface); in HWTEST_F()
H A Dnet_stats_service_proxy_test.cpp271 * @tc.desc: Test NetStatsServiceProxy GetIfaceRxBytes.
278 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
283 * @tc.desc: Test NetStatsServiceProxy GetIfaceRxBytes.
291 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
296 * @tc.desc: Test NetStatsServiceProxy GetIfaceRxBytes.
304 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETSYS_SUCCESS); in HWTEST_F()
H A Dnet_stats_client_test.cpp100 * @tc.desc: Test NetStatsClient GetIfaceRxBytes.
106 int32_t ret = DelayedSingleton<NetStatsClient>::GetInstance()->GetIfaceRxBytes(stats, ETH_IFACE_NAME); in HWTEST_F()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnet_manager_native_test.cpp142 auto ret = instance_->GetIfaceRxBytes(testIface); in HWTEST_F()
H A Dmock_netsys_native_client_test.cpp161 ret = nativeClient_.GetIfaceRxBytes(iface); in HWTEST_F()
H A Dnetsys_controller_service_impl_test.cpp199 ret = instance_->GetIfaceRxBytes(testName); in HWTEST_F()
370 auto ret = instance_->GetIfaceRxBytes(interfaceName); in HWTEST_F()
662 result = instance_->GetIfaceRxBytes(interfaceName); in HWTEST_F()
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dmock_netsys_native_client.h57 constexpr const char *MOCK_GETIFACERXBYTES_API = "GetIfaceRxBytes";
316 int64_t GetIfaceRxBytes(const std::string &interfaceName);
H A Dnetsys_controller_service_impl.h356 int64_t GetIfaceRxBytes(const std::string &interfaceName) override;
H A Di_netsys_controller_service.h383 virtual int64_t GetIfaceRxBytes(const std::string &interfaceName) = 0;
H A Dnetsys_controller.h371 int64_t GetIfaceRxBytes(const std::string &interfaceName);
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dnet_stats_service_proxy_test.cpp267 * @tc.desc: Test NetStatsServiceProxy GetIfaceRxBytes.
274 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
279 * @tc.desc: Test NetStatsServiceProxy GetIfaceRxBytes.
287 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETMANAGER_ERR_OPERATION_FAILED); in HWTEST_F()
292 * @tc.desc: Test NetStatsServiceProxy GetIfaceRxBytes.
300 EXPECT_EQ(instance_.GetIfaceRxBytes(stats, ETH_IFACE_NAME), NETSYS_SUCCESS); in HWTEST_F()
/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_service.cpp157 GetIfaceRxBytes(rx, name); in GetDumpMessage()
214 int32_t NetStatsService::GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceRxBytes() function in OHOS::NetManagerStandard::NetStatsService
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller_service_impl.cpp379 int64_t NetsysControllerServiceImpl::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() function in OHOS::NetManagerStandard::NetsysControllerServiceImpl
381 NETMGR_LOG_I("GetIfaceRxBytes"); in GetIfaceRxBytes()
383 return mockNetsysClient_.GetIfaceRxBytes(interfaceName); in GetIfaceRxBytes()
385 return netsysClient_.GetIfaceRxBytes(interfaceName); in GetIfaceRxBytes()
H A Dnetsys_controller.cpp587 int64_t NetsysController::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() function in OHOS::NetManagerStandard::NetsysController
589 NETMGR_LOG_D("NetsysController GetIfaceRxBytes"); in GetIfaceRxBytes()
596 return netsysService_->GetIfaceRxBytes(interfaceName); in GetIfaceRxBytes()
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnet_manager_native.h104 int64_t GetIfaceRxBytes(std::string interfaceName);
/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() function in OHOS::NetManagerStandard::NetStatsServiceProxy

Completed in 22 milliseconds

12