Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dcgroup_map.cpp96 std::string proc_path(path()); in GetProcsFilePath() local
97 proc_path.append("/").append(rel_path); in GetProcsFilePath()
98 proc_path = regex_replace(proc_path, std::regex("<uid>"), std::to_string(uid)); in GetProcsFilePath()
99 proc_path = regex_replace(proc_path, std::regex("<pid>"), std::to_string(pid)); in GetProcsFilePath()
101 return proc_path.append(CGROUP_PROCS_FILE); in GetProcsFilePath()
/system/memory/lmkd/
Dlmkd.cpp1912 char proc_path[PATH_MAX]; in set_process_group_and_prio() local
1915 snprintf(proc_path, sizeof(proc_path), "/proc/%d/task", pid); in set_process_group_and_prio()
1916 if (!(d = opendir(proc_path))) { in set_process_group_and_prio()
1917 ALOGW("Failed to open %s; errno=%d: process pid(%d) might have died", proc_path, errno, in set_process_group_and_prio()