Home
last modified time | relevance | path

Searched refs:TaskProfile (Results 1 – 6 of 6) sorted by relevance

/system/core/libprocessgroup/
Dtask_profiles.h192 class TaskProfile {
194 TaskProfile(const std::string& name) : name_(name), res_cached_(false) {} in TaskProfile() function
198 void MoveTo(TaskProfile* profile);
217 ApplyProfileAction(const std::vector<std::shared_ptr<TaskProfile>>& profiles) in ApplyProfileAction()
229 std::vector<std::shared_ptr<TaskProfile>> profiles_;
237 TaskProfile* GetProfile(std::string_view name) const;
252 std::map<std::string, std::shared_ptr<TaskProfile>, std::less<>> profiles_;
Dtask_profiles_test.cpp184 TEST_P(TaskProfileFixture, TaskProfile) { in TEST_P() argument
193 std::shared_ptr<TaskProfile> tp = std::make_shared<TaskProfile>("test_profile"); in TEST_P()
198 TaskProfile tp2("meta_profile"); in TEST_P()
199 std::vector<std::shared_ptr<TaskProfile>> profiles = {tp}; in TEST_P()
Dtask_profiles.cpp719 void TaskProfile::MoveTo(TaskProfile* profile) { in MoveTo()
724 bool TaskProfile::ExecuteForProcess(uid_t uid, pid_t pid) const { in ExecuteForProcess()
734 bool TaskProfile::ExecuteForTask(pid_t tid) const { in ExecuteForTask()
747 bool TaskProfile::ExecuteForUID(uid_t uid) const { in ExecuteForUID()
757 void TaskProfile::EnableResourceCaching(ProfileAction::ResourceCacheType cache_type) { in EnableResourceCaching()
769 void TaskProfile::DropResourceCaching(ProfileAction::ResourceCacheType cache_type) { in DropResourceCaching()
781 bool TaskProfile::IsValidForProcess(uid_t uid, pid_t pid) const { in IsValidForProcess()
788 bool TaskProfile::IsValidForTask(pid_t tid) const { in IsValidForTask()
883 auto profile = std::make_shared<TaskProfile>(profile_name); in Load()
983 std::vector<std::shared_ptr<TaskProfile>> profiles; in Load()
[all …]
Dprocessgroup.cpp756 const TaskProfile* tp = TaskProfiles::GetInstance().GetProfile(profile_name); in isProfileValidForProcess()
/system/extras/simpleperf/testdata/
Dperf_display_bitmaps.perf-script14118 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)
14479 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)
14700 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)
14963 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)
Dperf_display_bitmaps.header.perf-script14133 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)
14494 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)
14715 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)
14978 752fb6726c TaskProfile::ExecuteForTask(int) const (/system/lib64/libprocessgroup.so)