Home
last modified time | relevance | path

Searched refs:addrList (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnet_handle.cpp28 int32_t NetHandle::GetAddressesByName(const std::string &host, std::vector<INetAddr> &addrList) in GetAddressesByName() argument
34 return NetConnClient::GetInstance().GetAddressesByName(host, netId_, addrList); in GetAddressesByName()
H A Dnet_conn_client.cpp361 …Client::GetAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList) in GetAddressesByName() argument
369 return proxy->GetAddressesByName(host, netId, addrList); in GetAddressesByName()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_acl.c1010 *addrList = MEM_CALLOC.alloc(sizeof(BtAddr) * count); in BtmGetLeConnectingAddr()
1014 if (*addrList != NULL) { in BtmGetLeConnectingAddr()
1020 (*addrList)[index] = connection->addr; in BtmGetLeConnectingAddr()
1103 BtAddr *addrList = NULL; in BtmOnLeConnectionComplete() local
1105 BtmGetLeConnectingAddr(&addrList, &addrCount); in BtmOnLeConnectionComplete()
1130 if (addrList != NULL) { in BtmOnLeConnectionComplete()
1131 MEM_CALLOC.free(addrList); in BtmOnLeConnectionComplete()
1284 BtAddr *addrList = NULL; in BtmOnLeEnhancedConnectionComplete() local
1286 BtmGetLeConnectingAddr(&addrList, &addrCount); in BtmOnLeEnhancedConnectionComplete()
1311 if (addrList != NULL) { in BtmOnLeEnhancedConnectionComplete()
[all …]
/ohos5.0/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_handle_test.cpp65 std::vector<INetAddr> addrList; variable
69 int32_t ret = handler->GetAddressesByName(host, addrList);
H A Dnet_conn_service_proxy_test.cpp488 std::vector<INetAddr> addrList; variable
489 int32_t ret = instance_->GetAddressesByName(host, TEST_NETID, addrList);
H A Dnet_conn_service_stub_test.h134 …etAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList) override in GetAddressesByName() argument
H A Dnet_conn_manager_test.cpp770 std::vector<INetAddr> addrList; variable
771 result = proxy->GetAddressesByName(host, netId, addrList);
H A Dnet_conn_client_test.cpp1072 std::vector<INetAddr> addrList = {}; variable
1073 …_t ret = DelayedSingleton<NetConnClient>::GetInstance()->GetAddressesByName(host, netId, addrList);
H A Dnet_conn_service_test.cpp420 std::vector<INetAddr> addrList; variable
421 auto ret = NetConnService::GetInstance()->GetAddressesByName(TEST_HOST, TEST_NETID, addrList);
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnet_handle.h36 int32_t GetAddressesByName(const std::string &host, std::vector<INetAddr> &addrList);
H A Dnet_conn_client.h251 …nt32_t GetAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList);
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/stub/
H A Dnet_conn_service_stub.cpp991 std::vector<INetAddr> addrList; in OnGetAddressesByName() local
992 int32_t ret = GetAddressesByName(host, netId, addrList); in OnGetAddressesByName()
997 uint32_t size = static_cast<uint32_t>(addrList.size()); in OnGetAddressesByName()
1003 for (auto p = addrList.begin(); p != addrList.end(); ++p) { in OnGetAddressesByName()
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/
H A Di_net_conn_service.h69 …_t GetAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList) = 0;
H A Dnet_conn_service_proxy.h55 …tAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList) override;
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_conn_service.cpp1405 …ervice::GetAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList) in GetAddressesByName() argument
1407 …n NetManagerCenter::GetInstance().GetAddressesByName(host, static_cast<uint16_t>(netId), addrList); in GetAddressesByName()
1412 std::vector<INetAddr> addrList; in GetAddressByName() local
1413 int ret = GetAddressesByName(host, netId, addrList); in GetAddressByName()
1415 if (!addrList.empty()) { in GetAddressByName()
1416 addr = addrList[0]; in GetAddressByName()
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/
H A Dnet_conn_service_proxy.cpp886 …eProxy::GetAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList) in GetAddressesByName() argument
921 addrList.push_back(*netaddr_ptr); in GetAddressesByName()
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnet_conn_service.h250 …tAddressesByName(const std::string &host, int32_t netId, std::vector<INetAddr> &addrList) override;