/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | sharing_manager_test.cpp | 147 std::string upIface = "up0"; in HWTEST_F() local 149 int32_t ret = sharingManager->GetNetworkSharingTraffic(downIface, upIface, traffic); in HWTEST_F() 156 std::string upIface = "wlan0"; in HWTEST_F() local 158 int32_t ret = sharingManager->GetNetworkSharingTraffic(downIface, upIface, traffic); in HWTEST_F()
|
H A D | netsys_native_service_test.cpp | 428 const std::string upIface = "testupIface"; in HWTEST_F() local 430 int ret = instance_->GetNetworkSharingTraffic(downIface, upIface, traffic); in HWTEST_F() 506 std::string upIface = "uface"; in HWTEST_F() local 510 auto ret = instance_->GetNetworkSharingTraffic(downIface, upIface, traffic); in HWTEST_F()
|
H A D | netsys_native_service_stub_test.cpp | 403 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface, 1425 std::string upIface = "testUpIface "; in HWTEST_F() local 1434 if (!data.WriteString(upIface)) { in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/ |
H A D | sharing_manager.h | 91 * @param upIface 95 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | sharing_manager.cpp | 378 int32_t SharingManager::GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface, in GetNetworkSharingTraffic() argument 403 if (matches[i] == downIface && matches[i + NEXT_LIST_CORRECT_DATA] == upIface && in GetNetworkSharingTraffic() 410 } else if (matches[i] == upIface && matches[i + NEXT_LIST_CORRECT_DATA] == downIface && in GetNetworkSharingTraffic()
|
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/ |
H A D | networkshare_sub_statemachine_test.cpp | 323 std::string upIface; in HWTEST_F() local 324 networkShareSubStateMachine->GetUpIfaceName(upIface); in HWTEST_F() 325 EXPECT_EQ(upIface, EMPTY_UPSTREAM_IFACENAME); in HWTEST_F()
|
/foundation/communication/netmanager_ext/services/networksharemanager/include/ |
H A D | networkshare_sub_statemachine.h | 86 void GetUpIfaceName(std::string &upIface);
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_tracker.cpp | 651 std::string upIface; in GetSharedSubSMTraffic() local 653 subSM->GetUpIfaceName(upIface); in GetSharedSubSMTraffic() 655 NETMGR_EXT_LOG_I("DownIface[%{public}s], upIface[%{public}s].", downIface.c_str(), upIface.c_str()); in GetSharedSubSMTraffic() 656 int32_t ret = NetsysController::GetInstance().GetNetworkSharingTraffic(downIface, upIface, traffic); in GetSharedSubSMTraffic()
|
H A D | networkshare_sub_statemachine.cpp | 224 void NetworkShareSubStateMachine::GetUpIfaceName(std::string &upIface) in GetUpIfaceName() argument 226 upIface = upstreamIfaceName_; in GetUpIfaceName()
|
/foundation/communication/netmanager_ext/test/networksharemanager/fuzztest/netshareclient_fuzzer/ |
H A D | netshare_client_fuzzer.cpp | 424 std::string upIface = GetStringFromData(IFACE_LEN); in NetworkShareSubStateMachineFuzzTest() local 429 networkShareSubStateMachine->GetUpIfaceName(upIface); in NetworkShareSubStateMachineFuzzTest()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 145 virtual int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
H A D | netsys_native_service_proxy.h | 111 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 135 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/ |
H A D | netsys_native_service_stub_test.cpp | 381 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller_service_impl.h | 285 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
H A D | i_netsys_controller_service.h | 312 virtual int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
H A D | netsys_controller.h | 300 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
H A D | netsys_native_client.h | 325 int32_t GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface,
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_controller.cpp | 478 int32_t NetsysController::GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface, in GetNetworkSharingTraffic() argument 488 return netsysService_->GetNetworkSharingTraffic(downIface, upIface, traffic); in GetNetworkSharingTraffic()
|
H A D | netsys_controller_service_impl.cpp | 300 int32_t NetsysControllerServiceImpl::GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface, in GetNetworkSharingTraffic() argument 304 return netsysClient_.GetNetworkSharingTraffic(downIface, upIface, traffic); in GetNetworkSharingTraffic()
|
H A D | netsys_native_client.cpp | 594 int32_t NetsysNativeClient::GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface, in GetNetworkSharingTraffic() argument 603 return proxy->GetNetworkSharingTraffic(downIface, upIface, traffic); in GetNetworkSharingTraffic()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service.cpp | 649 int32_t NetsysNativeService::GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface, in GetNetworkSharingTraffic() argument 656 return sharingManager_->GetNetworkSharingTraffic(downIface, upIface, traffic); in GetNetworkSharingTraffic()
|
H A D | netsys_native_service_stub.cpp | 1334 std::string upIface = data.ReadString(); in CmdGetNetworkSharingTraffic() local 1336 int32_t result = GetNetworkSharingTraffic(downIface, upIface, traffic); in CmdGetNetworkSharingTraffic()
|
/foundation/communication/netmanager_base/test/fuzztest/netsysclient_fuzzer/ |
H A D | net_sys_client_fuzzer.cpp | 887 std::string upIface = NetSysGetString(STR_LEN); in GetNetworkSharingTrafficFuzzTest() local 890 dataParcel.WriteString(upIface); in GetNetworkSharingTrafficFuzzTest()
|
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/ |
H A D | netsys_native_service_proxy.cpp | 1811 int32_t NetsysNativeServiceProxy::GetNetworkSharingTraffic(const std::string &downIface, const std::string &upIface, in GetNetworkSharingTraffic() argument 1821 if (!data.WriteString(upIface)) { in GetNetworkSharingTraffic()
|