Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dcgroup_map.cpp81 std::string tasks_path = path(); in GetTasksFilePath() local
84 tasks_path += "/" + rel_path; in GetTasksFilePath()
86 return (version() == 1) ? tasks_path + CGROUP_TASKS_FILE : tasks_path + CGROUP_TASKS_FILE_V2; in GetTasksFilePath()
Dtask_profiles.cpp158 std::string tasks_path = controller_.GetTasksFilePath(path_); in EnableResourceCaching() local
160 if (access(tasks_path.c_str(), W_OK) != 0) { in EnableResourceCaching()
166 unique_fd fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in EnableResourceCaching()
168 PLOG(ERROR) << "Failed to cache fd '" << tasks_path << "'"; in EnableResourceCaching()
248 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask() local
249 unique_fd tmp_fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in ExecuteForTask()
251 PLOG(WARNING) << "Failed to open " << tasks_path << ": " << strerror(errno); in ExecuteForTask()