Home
last modified time | relevance | path

Searched refs:kill_signal (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/
Dprocess_manager.cc238 bool ProcessManager::KillProcessWithTimeout(pid_t pid, bool kill_signal) { in KillProcessWithTimeout() argument
242 if (KillProcess(pid, kill_signal ? SIGKILL : SIGTERM, &killed)) { in KillProcessWithTimeout()
247 int poll_times = kill_signal ? kWaitpidPollTimesForSIGKILL : in KillProcessWithTimeout()
331 bool kill_signal) { in ProcessTerminationTimeoutHandler() argument
338 if (kill_signal) { in ProcessTerminationTimeoutHandler()
347 bool ProcessManager::TerminateProcess(pid_t pid, bool kill_signal) { in TerminateProcess() argument
350 << "use_sigkill: " << kill_signal << ")"; in TerminateProcess()
352 int signal = (kill_signal) ? SIGKILL : SIGTERM; in TerminateProcess()
365 kill_signal))); in TerminateProcess()
Dprocess_manager.h138 void ProcessTerminationTimeoutHandler(pid_t pid, bool kill_signal);
144 bool TerminateProcess(pid_t pid, bool kill_signal);
152 bool KillProcessWithTimeout(pid_t pid, bool kill_signal);
Dprocess_manager_unittest.cc86 void OnTerminationTimeout(pid_t pid, bool kill_signal) { in OnTerminationTimeout() argument
87 process_manager_->ProcessTerminationTimeoutHandler(pid, kill_signal); in OnTerminationTimeout()