Home
last modified time | relevance | path

Searched refs:TaskProfiles (Results 1 – 7 of 7) sorted by relevance

/aosp12/system/core/libprocessgroup/profiles/
H A Dtest.cpp39 MakeTestParam<TaskProfiles>("/task_profiles.json")));
43 INSTANTIATE_TEST_SUITE_P(TaskProfiles, TaskProfilesTest,
44 ::testing::Values(MakeTestParam<TaskProfiles>("/task_profiles.json")));
H A Dtask_profiles_test.h33 task_profiles_ = static_cast<TaskProfiles*>(message()); in SetUp()
35 TaskProfiles* task_profiles_;
H A Dtest_vendor.cpp61 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles)));
63 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles)));
H A Dtask_profiles.proto22 message TaskProfiles { message
/aosp12/system/core/libprocessgroup/
H A Dtask_profiles.cpp434 void TaskProfiles::DropResourceCaching() const { in DropResourceCaching()
440 TaskProfiles& TaskProfiles::GetInstance() { in GetInstance()
443 static auto* instance = new TaskProfiles; in GetInstance()
447 TaskProfiles::TaskProfiles() { in TaskProfiles() function in TaskProfiles
474 bool TaskProfiles::Load(const CgroupMap& cg_map, const std::string& file_name) { in Load()
635 TaskProfile* TaskProfiles::GetProfile(const std::string& name) const { in GetProfile()
644 const ProfileAttribute* TaskProfiles::GetAttribute(const std::string& name) const { in GetAttribute()
653 bool TaskProfiles::SetProcessProfiles(uid_t uid, pid_t pid, in SetProcessProfiles()
668 bool TaskProfiles::SetTaskProfiles(int tid, const std::vector<std::string>& profiles, in SetTaskProfiles()
H A Dprocessgroup.cpp73 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()
H A Dtask_profiles.h206 class TaskProfiles {
209 static TaskProfiles& GetInstance();
221 TaskProfiles();