Searched refs:AddServiceCheck (Results 1 – 4 of 4) sorted by relevance
/base/security/selinux_adapter/test/unittest/service_checker/ |
D | unit_test.cpp | 155 ASSERT_EQ(-SELINUX_GET_CONTEXT_ERROR, service.AddServiceCheck(-1, TEST_SERVICE_NAME)); 156 ASSERT_EQ(-SELINUX_ARG_INVALID, service.AddServiceCheck(getpid(), "")); 157 ASSERT_EQ(SELINUX_SUCC, service.AddServiceCheck(getpid(), TEST_SERVICE_NAME));
|
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
D | service_checker.h | 38 int AddServiceCheck(const pid_t callingPid, const std::string &serviceName);
|
/base/security/selinux_adapter/interfaces/tools/service_check/ |
D | test.cpp | 111 : g_service->AddServiceCheck(getpid(), serviceName)) in TestAddService() 118 : g_service->AddServiceCheck(getpid(), serName)) in TestAddService()
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | service_checker.cpp | 80 return ServiceChecker::GetInstance().AddServiceCheck(callingPid, serviceName); in HdfAddServiceCheck() 307 int ServiceChecker::AddServiceCheck(const pid_t callingPid, const std::string &serviceName) in AddServiceCheck() function in ServiceChecker
|