Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dcgroup_map.cpp75 std::string tasks_path = path(); in GetTasksFilePath() local
78 tasks_path += "/" + rel_path; in GetTasksFilePath()
80 return (version() == 1) ? tasks_path + CGROUP_TASKS_FILE : tasks_path + CGROUP_TASKS_FILE_V2; in GetTasksFilePath()
Dtask_profiles.cpp435 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask() local
436 unique_fd tmp_fd(TEMP_FAILURE_RETRY(open(tasks_path.c_str(), O_WRONLY | O_CLOEXEC))); in ExecuteForTask()
438 PLOG(WARNING) << Name() << "::" << __func__ << ": failed to open " << tasks_path; in ExecuteForTask()
504 std::string tasks_path = controller()->GetTasksFilePath(path_); in IsValidForTask() local
505 return access(tasks_path.c_str(), W_OK) == 0; in IsValidForTask()