Home
last modified time | relevance | path

Searched refs:profile_name (Results 1 – 3 of 3) sorted by relevance

/aosp14/system/core/libprocessgroup/
H A Dtask_profiles.cpp855 std::string profile_name = profile_val["Name"].asString(); in Load() local
857 auto profile = std::make_shared<TaskProfile>(profile_name); in Load()
934 auto iter = profiles_.find(profile_name); in Load()
936 profiles_[profile_name] = profile; in Load()
955 std::string profile_name = aggregateprofiles[pf_idx].asString(); in Load() local
957 if (profile_name == aggregateprofile_name) { in Load()
958 LOG(WARNING) << "AggregateProfiles: recursive profile name: " << profile_name; in Load()
961 } else if (profiles_.find(profile_name) == profiles_.end()) { in Load()
962 LOG(WARNING) << "AggregateProfiles: undefined profile name: " << profile_name; in Load()
966 profiles.push_back(profiles_[profile_name]); in Load()
H A Dprocessgroup.cpp661 bool isProfileValidForProcess(const std::string& profile_name, int uid, int pid) { in isProfileValidForProcess() argument
662 const TaskProfile* tp = TaskProfiles::GetInstance().GetProfile(profile_name); in isProfileValidForProcess()
/aosp14/system/core/libprocessgroup/include/processgroup/
H A Dprocessgroup.h101 bool isProfileValidForProcess(const std::string& profile_name, int uid, int pid);