Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dcgroup_map.cpp86 std::string tasks_path = path(); in GetTasksFilePath() local
89 tasks_path += "/" + rel_path; in GetTasksFilePath()
91 return (version() == 1) ? tasks_path + CGROUP_TASKS_FILE : tasks_path + CGROUP_TASKS_FILE_V2; in GetTasksFilePath()
Dtask_profiles.cpp163 std::string tasks_path = controller_.GetTasksFilePath(path_); in EnableResourceCaching() local
165 if (access(tasks_path.c_str(), W_OK) != 0) { in EnableResourceCaching()
171 unique_fd fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in EnableResourceCaching()
173 PLOG(ERROR) << "Failed to cache fd '" << tasks_path << "'"; in EnableResourceCaching()
246 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask() local
247 unique_fd tmp_fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in ExecuteForTask()
249 PLOG(WARNING) << "Failed to open " << tasks_path << ": " << strerror(errno); in ExecuteForTask()