Searched refs:TaskProfiles (Results 1 – 7 of 7) sorted by relevance
/system/core/libprocessgroup/profiles/ |
D | test.cpp | 39 MakeTestParam<TaskProfiles>("/task_profiles.json"))); 43 INSTANTIATE_TEST_SUITE_P(TaskProfiles, TaskProfilesTest, 44 ::testing::Values(MakeTestParam<TaskProfiles>("/task_profiles.json")));
|
D | task_profiles_test.h | 33 task_profiles_ = static_cast<TaskProfiles*>(message()); in SetUp() 35 TaskProfiles* task_profiles_;
|
D | test_vendor.cpp | 61 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles))); 63 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles)));
|
D | task_profiles.proto | 22 message TaskProfiles { message
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 340 void TaskProfiles::DropResourceCaching() const { in DropResourceCaching() 346 TaskProfiles& TaskProfiles::GetInstance() { in GetInstance() 349 static auto* instance = new TaskProfiles; in GetInstance() 353 TaskProfiles::TaskProfiles() { in TaskProfiles() function in TaskProfiles 367 bool TaskProfiles::Load(const CgroupMap& cg_map, const std::string& file_name) { in Load() 511 TaskProfile* TaskProfiles::GetProfile(const std::string& name) const { in GetProfile() 520 const ProfileAttribute* TaskProfiles::GetAttribute(const std::string& name) const { in GetAttribute() 529 bool TaskProfiles::SetProcessProfiles(uid_t uid, pid_t pid, in SetProcessProfiles() 544 bool TaskProfiles::SetTaskProfiles(int tid, const std::vector<std::string>& profiles, in SetTaskProfiles()
|
D | processgroup.cpp | 73 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePath() 88 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePathForTask() 115 TaskProfiles::GetInstance().DropResourceCaching(); in DropTaskProfilesResourceCaching() 119 return TaskProfiles::GetInstance().SetProcessProfiles(uid, pid, profiles); in SetProcessProfiles() 123 return TaskProfiles::GetInstance().SetTaskProfiles(tid, profiles, use_fd_cache); in SetTaskProfiles()
|
D | task_profiles.h | 174 class TaskProfiles { 177 static TaskProfiles& GetInstance(); 189 TaskProfiles();
|