Home
last modified time | relevance | path

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

/system/core/libprocessgroup/profiles/
Dtest.cpp39 MakeTestParam<TaskProfiles>("/task_profiles.json")));
43 INSTANTIATE_TEST_SUITE_P(TaskProfiles, TaskProfilesTest,
44 ::testing::Values(MakeTestParam<TaskProfiles>("/task_profiles.json")));
Dtask_profiles_test.h33 task_profiles_ = static_cast<TaskProfiles*>(message()); in SetUp()
35 TaskProfiles* task_profiles_;
Dtest_vendor.cpp61 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles)));
63 ::testing::Values(MakeTestParam<TaskProfiles>(kVendorTaskProfiles)));
Dtask_profiles.proto22 message TaskProfiles { message
/system/core/libprocessgroup/
Dtask_profiles.cpp340 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()
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()
Dtask_profiles.h174 class TaskProfiles {
177 static TaskProfiles& GetInstance();
189 TaskProfiles();