/ohos5.0/base/telephony/cellular_data/services/src/ |
H A D | traffic_management.cpp | 51 std::list<int32_t> netIdList; in GetIfaceName() local 52 …NetConnClient::GetInstance().GetNetIdByIdentifier(IDENT_PREFIX + std::to_string(simId), netIdList); in GetIfaceName() 64 for (auto netId : netIdList) { in GetIfaceName()
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/stub/ |
H A D | net_conn_service_stub.cpp | 836 std::list<int32_t> netIdList; in OnGetSpecificNet() local 837 int32_t ret = GetSpecificNet(bearerType, netIdList); in OnGetSpecificNet() 842 uint32_t size = static_cast<uint32_t>(netIdList.size()); in OnGetSpecificNet() 849 for (auto p = netIdList.begin(); p != netIdList.end(); ++p) { in OnGetSpecificNet() 864 std::list<int32_t> netIdList; in OnGetAllNets() local 865 int32_t ret = GetAllNets(netIdList); in OnGetAllNets() 870 uint32_t size = static_cast<uint32_t>(netIdList.size()); in OnGetAllNets() 875 for (auto p = netIdList.begin(); p != netIdList.end(); ++p) { in OnGetAllNets() 1156 std::list<int32_t> netIdList; in OnGetNetIdByIdentifier() local 1157 int32_t ret = GetNetIdByIdentifier(ident, netIdList); in OnGetNetIdByIdentifier() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_conn_service_proxy_test.cpp | 427 std::list<int32_t> netIdList; variable 428 int32_t ret = instance_->GetSpecificNet(NetBearType::BEARER_ETHERNET, netIdList); 439 std::list<int32_t> netIdList; variable 440 int32_t ret = instance_->GetAllNets(netIdList); 573 std::list<int32_t> netIdList; variable 574 int32_t ret = instance_->GetNetIdByIdentifier(TEST_IDENT, netIdList);
|
H A D | net_conn_manager_test.cpp | 453 std::list<int32_t> netIdList; variable 454 result = proxy->GetSpecificNet(bearerType, netIdList); 456 for (auto it : netIdList) { 543 std::list<int32_t> netIdList; variable 544 result = NetConnClient::GetInstance().GetNetIdByIdentifier(ident, netIdList); 547 NetHandle netHandle(netIdList.front()); 685 std::list<int32_t> netIdList; variable 689 netIdList.clear(); 690 result = NetConnClient::GetInstance().GetNetIdByIdentifier(ident, netIdList); 691 for (auto netId : netIdList) {
|
H A D | net_conn_service_stub_test.h | 150 int32_t GetSpecificNet(NetBearType bearerType, std::list<int32_t> &netIdList) override in GetSpecificNet() argument 155 int32_t GetAllNets(std::list<int32_t> &netIdList) override in GetAllNets() argument 205 int32_t GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList) override in GetNetIdByIdentifier() argument
|
H A D | net_conn_service_test.cpp | 380 std::list<int32_t> netIdList; variable 381 auto ret = NetConnService::GetInstance()->GetAllNets(netIdList); 392 std::list<int32_t> netIdList; variable 393 ret = NetConnService::GetInstance()->GetSpecificNet(BEARER_VPN, netIdList); 395 EXPECT_GE(netIdList.size(), 0); 402 EXPECT_EQ(netID, *netIdList.begin()); 463 std::list<int32_t> netIdList; variable 464 auto ret = NetConnService::GetInstance()->GetNetIdByIdentifier("", netIdList); 467 ret = NetConnService::GetInstance()->GetNetIdByIdentifier(TEST_IDENT, netIdList); 657 std::list<int32_t> netIdList; variable [all …]
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/ |
H A D | i_net_conn_service.h | 71 virtual int32_t GetSpecificNet(NetBearType bearerType, std::list<int32_t> &netIdList) = 0; 72 virtual int32_t GetAllNets(std::list<int32_t> &netIdList) = 0; 82 … virtual int32_t GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList) = 0;
|
H A D | net_conn_service_proxy.h | 57 int32_t GetSpecificNet(NetBearType bearerType, std::list<int32_t> &netIdList) override; 58 int32_t GetAllNets(std::list<int32_t> &netIdList) override; 68 int32_t GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList) override;
|
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | net_vpn_impl.cpp | 98 std::list<int32_t> netIdList; in SetUp() local 99 netConnClientIns.GetNetIdByIdentifier(TUN_CARD_NAME, netIdList); in SetUp() 100 if (netIdList.size() == 0) { in SetUp() 105 netId_ = *(netIdList.begin()); in SetUp()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | net_conn_client.cpp | 324 std::list<int32_t> netIdList; in GetAllNets() local 325 int32_t result = proxy->GetAllNets(netIdList); in GetAllNets() 330 for (iter = netIdList.begin(); iter != netIdList.end(); ++iter) { in GetAllNets() 656 int32_t NetConnClient::GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList) in GetNetIdByIdentifier() argument 663 return proxy->GetNetIdByIdentifier(ident, netIdList); in GetNetIdByIdentifier()
|
/ohos5.0/base/telephony/sms_mms/services/mms/ |
H A D | mms_network_client.cpp | 445 std::list<int32_t> netIdList; in GetIfaceName() local 447 …nClient::GetInstance().GetNetIdByIdentifier(SIMID_IDENT_PREFIX + std::to_string(simId), netIdList); in GetIfaceName() 460 for (auto netId : netIdList) { in GetIfaceName()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/ |
H A D | net_conn_service_proxy.cpp | 685 int32_t NetConnServiceProxy::GetSpecificNet(NetBearType bearerType, std::list<int32_t> &netIdList) in GetSpecificNet() argument 720 netIdList.push_back(value); in GetSpecificNet() 726 int32_t NetConnServiceProxy::GetAllNets(std::list<int32_t> &netIdList) in GetAllNets() argument 756 netIdList.push_back(value); in GetAllNets() 1130 … NetConnServiceProxy::GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList) in GetNetIdByIdentifier() argument 1167 netIdList.push_back(value); in GetNetIdByIdentifier()
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/include/ |
H A D | net_conn_service.h | 252 int32_t GetSpecificNet(NetBearType bearerType, std::list<int32_t> &netIdList) override; 253 int32_t GetAllNets(std::list<int32_t> &netIdList) override; 320 int32_t GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList) override;
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | net_conn_client.h | 376 int32_t GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList);
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_conn_service.cpp | 1424 int32_t NetConnService::GetSpecificNet(NetBearType bearerType, std::list<int32_t> &netIdList) in GetSpecificNet() argument 1439 netIdList.push_back(iterSupplier->second->GetNetId()); in GetSpecificNet() 1446 int32_t NetConnService::GetAllNets(std::list<int32_t> &netIdList) in GetAllNets() argument 1461 netIdList.push_back(netId); in GetAllNets() 1464 …Suppliers_ size[%{public}zd] netIdList size[%{public}zd]", netSuppliers_.size(), netIdList.size()); in GetAllNets() 1659 …t32_t NetConnService::GetNetIdByIdentifier(const std::string &ident, std::list<int32_t> &netIdList) in GetNetIdByIdentifier() argument 1672 netIdList.push_back(netId); in GetNetIdByIdentifier()
|