Searched refs:TaskProfiles (Results 1 – 7 of 7) sorted by relevance
/aosp14/system/core/libprocessgroup/ |
H A D | processgroup.cpp | 109 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePath() 124 const TaskProfiles& tp = TaskProfiles::GetInstance(); in CgroupGetAttributePathForTask() 151 TaskProfiles::GetInstance().DropResourceCaching(ProfileAction::RCT_TASK); in DropTaskProfilesResourceCaching() 152 TaskProfiles::GetInstance().DropResourceCaching(ProfileAction::RCT_PROCESS); in DropTaskProfilesResourceCaching() 156 return TaskProfiles::GetInstance().SetProcessProfiles( in SetProcessProfiles() 161 return TaskProfiles::GetInstance().SetProcessProfiles( in SetProcessProfiles() 166 return TaskProfiles::GetInstance().SetProcessProfiles(uid, pid, profiles, false); in SetProcessProfiles() 170 return TaskProfiles::GetInstance().SetProcessProfiles( in SetProcessProfilesCached() 180 return TaskProfiles::GetInstance().SetTaskProfiles( in SetTaskProfiles() 185 return TaskProfiles::GetInstance().SetTaskProfiles(tid, profiles, use_fd_cache); in SetTaskProfiles() [all …]
|
H A D | task_profiles.cpp | 769 void TaskProfiles::DropResourceCaching(ProfileAction::ResourceCacheType cache_type) const { in DropResourceCaching() 775 TaskProfiles& TaskProfiles::GetInstance() { in GetInstance() 778 static auto* instance = new TaskProfiles; in GetInstance() 782 TaskProfiles::TaskProfiles() { in TaskProfiles() function in TaskProfiles 808 bool TaskProfiles::Load(const CgroupMap& cg_map, const std::string& file_name) { in Load() 979 TaskProfile* TaskProfiles::GetProfile(std::string_view name) const { in GetProfile() 988 const IProfileAttribute* TaskProfiles::GetAttribute(std::string_view name) const { in GetAttribute() 1016 bool TaskProfiles::SetProcessProfiles(uid_t uid, pid_t pid, std::span<const T> profiles, in SetProcessProfiles() 1058 template bool TaskProfiles::SetProcessProfiles(uid_t uid, pid_t pid, 1061 template bool TaskProfiles::SetProcessProfiles(uid_t uid, pid_t pid, [all …]
|
H A D | task_profiles.h | 232 class TaskProfiles { 235 static TaskProfiles& GetInstance(); 248 TaskProfiles();
|
/aosp14/system/core/libprocessgroup/profiles/ |
H A D | test.cpp | 39 MakeTestParam<TaskProfiles>("/task_profiles.json"))); 43 INSTANTIATE_TEST_SUITE_P(TaskProfiles, TaskProfilesTest, 44 ::testing::Values(MakeTestParam<TaskProfiles>("/task_profiles.json")));
|
H A D | task_profiles_test.h | 33 task_profiles_ = static_cast<TaskProfiles*>(message()); in SetUp() 35 TaskProfiles* task_profiles_;
|
H A D | test_vendor.cpp | 61 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles))); 63 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles)));
|
H A D | task_profiles.proto | 22 message TaskProfiles { message
|