Home
last modified time | relevance | path

Searched refs:initialPid (Results 1 – 2 of 2) sorted by relevance

/system/core/libprocessgroup/
Dprocessgroup.cpp256 static int killProcessGroupOnce(uid_t uid, int initialPid, int signal) in killProcessGroupOnce() argument
264 while ((pid = getOneAppProcess(uid, initialPid, &ctx)) >= 0) { in killProcessGroupOnce()
272 if (pid != initialPid) { in killProcessGroupOnce()
277 SLOGI("Killing pid %d in uid %d as part of process group %d", pid, uid, initialPid); in killProcessGroupOnce()
292 int killProcessGroup(uid_t uid, int initialPid, int signal) in killProcessGroup() argument
299 while ((processes = killProcessGroupOnce(uid, initialPid, signal)) > 0) { in killProcessGroup()
300 SLOGV("killed %d processes for processgroup %d\n", processes, initialPid); in killProcessGroup()
306 processes, initialPid); in killProcessGroup()
311 SLOGV("Killed process group uid %d pid %d in %" PRId64 "ms, %d procs remain", uid, initialPid, in killProcessGroup()
315 return removeProcessGroup(uid, initialPid); in killProcessGroup()
[all …]
/system/core/libprocessgroup/include/processgroup/
Dprocessgroup.h25 int killProcessGroup(uid_t uid, int initialPid, int signal);
27 int createProcessGroup(uid_t uid, int initialPid);