Home
last modified time | relevance | path

Searched refs:serverName (Results 1 - 25 of 31) sorted by relevance

12

/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Ddns_manager_test.cpp76 std::string serverName; in HWTEST_F() local
79 dnsManager.GetAddrInfo(hostName, serverName, hints, NET_ID, res); in HWTEST_F()
H A Dnet_manager_native_test.cpp165 std::string serverName; in HWTEST_F() local
169 auto ret = instance_->DnsGetAddrInfo(hostName, serverName, hints, netId, res); in HWTEST_F()
H A Dnetsys_native_service_stub_test.cpp93 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
724 std::string serverName = "TestServerName"; in HWTEST_F() local
734 EXPECT_TRUE(data.WriteString(serverName)); in HWTEST_F()
745 std::string serverName = "TestServerName"; in HWTEST_F() local
756 if (!data.WriteString(serverName)) { in HWTEST_F()
H A Dnetsys_controller_service_impl_test.cpp454 std::string serverName = ""; in HWTEST_F() local
457 ret = instance_->GetAddrInfo(hostName, serverName, hints, netId, res); in HWTEST_F()
461 ret = instance_->GetNetworkSharingTraffic(hostName, serverName, traffic); in HWTEST_F()
H A Dnetsys_native_service_test.cpp457 std::string serverName; in HWTEST_F() local
461 int32_t ret = instance_->GetAddrInfo(hostName, serverName, hints, netId, res); in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Ddns_manager.cpp121 int32_t DnsManager::GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, in GetAddrInfo() argument
132 if ((hostName.size() == 0) && (serverName.size() == 0)) { in GetAddrInfo()
145 ((serverName.size() == 0) ? NULL : serverName.c_str()), in GetAddrInfo()
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Ddns_manager.h111 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
H A Dnet_manager_native.h135 int32_t DnsGetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_socket.cpp126 string serverName(name); in SocketServerCreate()
127 std::shared_ptr<ServerSocket> server = std::make_shared<ServerSocket>(serverName, serverUuid, in SocketServerCreate()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_http_probe.cpp226 std::string serverName; in GetAddrInfo() local
227 if (NetsysController::GetInstance().GetAddrInfo(domain, serverName, hints, netId_, result) < 0) { in GetAddrInfo()
/foundation/communication/ipc/ipc/native/test/fuzztest/core/ipcprocessskeleton_fuzzer/
H A Dipcprocessskeleton_fuzzer.cpp809 std::string serverName; in CreateSoftbusServerTest() local
810 if (!GenerateString(serverName)) { in CreateSoftbusServerTest()
813 current->CreateSoftbusServer(serverName); in CreateSoftbusServerTest()
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_process_skeleton_unittest.cpp299 std::string serverName = "serverName"; in HWTEST_F() local
302 std::make_shared<DBinderSessionObject>(serverName, deviceId, 1, nullptr, 1); in HWTEST_F()
319 std::string serverName = "serverName"; in HWTEST_F() local
322 std::make_shared<DBinderSessionObject>(serverName, deviceId, 1, nullptr, 1); in HWTEST_F()
340 std::string serverName = "serverName"; in HWTEST_F() local
343 std::make_shared<DBinderSessionObject>(serverName, deviceId, 1, nullptr, 1); in HWTEST_F()
H A Dipc_binder_databus_invoker_unittest.cpp363 std::string serverName = "serverName"; in HWTEST_F() local
366 std::make_shared<DBinderSessionObject>(serverName, deviceId, 1, nullptr, 1); in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnet_manager_native.cpp547 int32_t NetManagerNative::DnsGetAddrInfo(const std::string &hostName, const std::string &serverName, in DnsGetAddrInfo() argument
550 return dnsManager_->GetAddrInfo(hostName, serverName, hints, netId, res); in DnsGetAddrInfo()
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Ddbinder_databus_invoker.cpp126 std::string serverName = reply.ReadString(); in GetSessionForProxy() local
130 ZLOGI(LOG_LABEL, "serverName:%{public}s stubIndex:%{public}" PRIu64 " peerTokenId:%{public}u deviceId:%{public}s", in GetSessionForProxy()
131 serverName.c_str(), stubIndex, peerTokenId, IPCProcessSkeleton::ConvertToSecureString(deviceId).c_str()); in GetSessionForProxy()
133 std::make_shared<DBinderSessionObject>(serverName, deviceId, stubIndex, nullptr, peerTokenId); in GetSessionForProxy()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Di_netsys_service.h71 virtual int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
H A Dnetsys_native_service_proxy.h37 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
/foundation/communication/netmanager_base/services/netmanagernative/include/
H A Dnetsys_native_service.h61 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/
H A Dnetsys_native_service_stub_test.cpp71 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dnetsys_controller_service_impl.h271 * @param serverName Server name used for query
277 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
H A Di_netsys_controller_service.h298 * @param serverName Server name used for query
304 virtual int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
H A Dnetsys_controller.h279 * @param serverName Server name used for query
285 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints,
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller.cpp466 int32_t NetsysController::GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, in GetAddrInfo() argument
475 return netsysService_->GetAddrInfo(hostName, serverName, hints, netId, res); in GetAddrInfo()
H A Dnetsys_controller_service_impl.cpp294 int32_t NetsysControllerServiceImpl::GetAddrInfo(const std::string &hostName, const std::string &serverName, in GetAddrInfo() argument
297 return netsysClient_.GetAddrInfo(hostName, serverName, hints, netId, res); in GetAddrInfo()
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnetsys_native_service.cpp206 int32_t NetsysNativeService::GetAddrInfo(const std::string &hostName, const std::string &serverName, in GetAddrInfo() argument
209 return netsysService_->DnsGetAddrInfo(hostName, serverName, hints, netId, res); in GetAddrInfo()

Completed in 31 milliseconds

12