Home
last modified time | relevance | path

Searched refs:AddServiceCheck (Results 1 – 4 of 4) sorted by relevance

/base/security/selinux_adapter/test/unittest/service_checker/
Dunit_test.cpp155 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/
Dservice_checker.h38 int AddServiceCheck(const pid_t callingPid, const std::string &serviceName);
/base/security/selinux_adapter/interfaces/tools/service_check/
Dtest.cpp111 : g_service->AddServiceCheck(getpid(), serviceName)) in TestAddService()
118 : g_service->AddServiceCheck(getpid(), serName)) in TestAddService()
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dservice_checker.cpp80 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