Searched refs:IsValidForProcess (Results 1 – 4 of 4) sorted by relevance
/system/core/libprocessgroup/ |
D | task_profiles.h | 85 virtual bool IsValidForProcess(uid_t uid, pid_t pid) const { return false; } in IsValidForProcess() function 112 bool IsValidForProcess(uid_t uid, pid_t pid) const override { return true; } in IsValidForProcess() function 131 bool IsValidForProcess(uid_t uid, pid_t pid) const override; 152 bool IsValidForProcess(uid_t uid, pid_t pid) const override; 178 bool IsValidForProcess(uid_t uid, pid_t pid) const override; 205 bool IsValidForProcess(uid_t uid, pid_t pid) const; 225 bool IsValidForProcess(uid_t uid, pid_t pid) const override;
|
D | task_profiles_test.cpp | 196 EXPECT_EQ(tp->IsValidForProcess(getuid(), getpid()), params.result); in TEST_P() 202 EXPECT_EQ(tp2.IsValidForProcess(getuid(), getpid()), params.result); in TEST_P()
|
D | task_profiles.cpp | 287 bool SetAttributeAction::IsValidForProcess(uid_t, pid_t pid) const { in IsValidForProcess() function in SetAttributeAction 449 bool SetCgroupAction::IsValidForProcess(uid_t uid, pid_t pid) const { in IsValidForProcess() function in SetCgroupAction 618 bool WriteFileAction::IsValidForProcess(uid_t, pid_t) const { in IsValidForProcess() function in WriteFileAction 675 bool ApplyProfileAction::IsValidForProcess(uid_t uid, pid_t pid) const { in IsValidForProcess() function in ApplyProfileAction 677 if (!profile->IsValidForProcess(uid, pid)) { in IsValidForProcess() 755 bool TaskProfile::IsValidForProcess(uid_t uid, pid_t pid) const { in IsValidForProcess() function in TaskProfile 757 if (!element->IsValidForProcess(uid, pid)) return false; in IsValidForProcess()
|
D | processgroup.cpp | 668 return tp->IsValidForProcess(uid, pid); in isProfileValidForProcess()
|