Home
last modified time | relevance | path

Searched refs:serverPid (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_service_impl.cpp768 int DhcpServerServiceImpl::StopServer(const pid_t &serverPid) in StopServer() argument
771 if (kill(serverPid, SIGTERM) == -1) { in StopServer()
775 serverPid, DHCP_SERVER_FILE.c_str()); in StopServer()
778 DHCP_LOGE("StopServer() kill [%{public}d] failed, errno:%{public}d!", serverPid, errno); in StopServer()
781 if (DhcpFunction::WaitProcessExit(serverPid) == -1) { in StopServer()
782 DHCP_LOGE("StopServer() waitpid [%{public}d] failed, errno:%{public}d!", serverPid, errno); in StopServer()
785 …DHCP_LOGI("StopServer() waitpid [%{public}d] success, pro:%{public}s!", serverPid, DHCP_SERVER_FIL… in StopServer()
H A Ddhcp_function.cpp708 int DhcpFunction::WaitProcessExit(const pid_t& serverPid) in WaitProcessExit() argument
712 pid_t ret = waitpid(serverPid, nullptr, WNOHANG); in WaitProcessExit()
714 … DHCP_LOGE("WaitProcessExit() waitpid [%{public}d] failed, errno:%{public}d!", serverPid, errno); in WaitProcessExit()
722 DHCP_LOGE("WaitProcessExit() timeout waitpid [%{public}d] failed!", serverPid); in WaitProcessExit()
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_server_service_impl_test.cpp177 pid_t serverPid = 1234; variable
178 EXPECT_NE(DHCP_OPT_NULL, pServerServiceImpl->StopServer(serverPid));
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpfunction_fuzzer/
H A Ddhcpfunction_fuzzer.cpp159 pid_t serverPid = static_cast<pid_t>(data[index++]); in WaitProcessExitTest() local
160 pDhcpFunction->WaitProcessExit(serverPid); in WaitProcessExitTest()
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dpeer_binder_catcher.cpp247 std::string serverPid = strSplit(strList[3], 0); in BinderInfoLineParser() local
249 if (serverPid != "" && serverTid != "" && std::atoi(serverTid.c_str()) == 0) { in BinderInfoLineParser()
250 asyncBinderMap[std::atoi(serverPid.c_str())]++; in BinderInfoLineParser()
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_function.h59 static int WaitProcessExit(const pid_t& serverPid);
H A Ddhcp_server_service_impl.h98 int StopServer(const pid_t& serverPid);
/ohos5.0/foundation/ability/ability_runtime/services/appdfr/src/
H A Dappfreeze_manager.cpp385 std::string serverPid = strSplit(strList[3], 0); in BinderLineParser() local
387 if (serverPid != "" && serverTid != "" && std::atoi(serverTid.c_str()) == 0) { in BinderLineParser()
388 asyncBinderMap[std::atoi(serverPid.c_str())]++; in BinderLineParser()