Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dcgroup_map.cpp91 std::string proc_path(path()); in GetProcsFilePath() local
92 proc_path.append("/").append(rel_path); in GetProcsFilePath()
93 proc_path = regex_replace(proc_path, std::regex("<uid>"), std::to_string(uid)); in GetProcsFilePath()
94 proc_path = regex_replace(proc_path, std::regex("<pid>"), std::to_string(pid)); in GetProcsFilePath()
96 return proc_path.append(CGROUP_PROCS_FILE); in GetProcsFilePath()
/system/core/lmkd/
Dlmkd.c1296 char proc_path[PATH_MAX]; in set_process_group_and_prio() local
1299 snprintf(proc_path, sizeof(proc_path), "/proc/%d/task", pid); in set_process_group_and_prio()
1300 if (!(d = opendir(proc_path))) { in set_process_group_and_prio()
1301 ALOGW("Failed to open %s; errno=%d: process pid(%d) might have died", proc_path, errno, in set_process_group_and_prio()