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 | 378 void TaskProfiles::DropResourceCaching() const { in DropResourceCaching() 384 TaskProfiles& TaskProfiles::GetInstance() { in GetInstance() 387 static auto* instance = new TaskProfiles; in GetInstance() 391 TaskProfiles::TaskProfiles() { in TaskProfiles() function in TaskProfiles 418 bool TaskProfiles::Load(const CgroupMap& cg_map, const std::string& file_name) { in Load() 579 TaskProfile* TaskProfiles::GetProfile(const std::string& name) const { in GetProfile() 588 const ProfileAttribute* TaskProfiles::GetAttribute(const std::string& name) const { in GetAttribute() 597 bool TaskProfiles::SetProcessProfiles(uid_t uid, pid_t pid, in SetProcessProfiles() 612 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 | 189 class TaskProfiles { 192 static TaskProfiles& GetInstance(); 204 TaskProfiles();
|