Home
last modified time | relevance | path

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

/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dhdf_service_checker.h26 int HdfAddServiceCheck(pid_t callingPid, const char *serviceName);
/base/security/selinux_adapter/test/unittest/service_checker/
Dunit_test.cpp83 ASSERT_EQ(-SELINUX_GET_CONTEXT_ERROR, HdfAddServiceCheck(-1, TEST_SERVICE_NAME.c_str()));
84 ASSERT_EQ(-SELINUX_PTR_NULL, HdfAddServiceCheck(getpid(), nullptr));
85 ASSERT_EQ(SELINUX_SUCC, HdfAddServiceCheck(getpid(), TEST_SERVICE_NAME.c_str()));
/base/security/selinux_adapter/interfaces/tools/service_check/
Dtest.cpp110 std::cout << GetErrStr(isHdf ? HdfAddServiceCheck(getpid(), serviceName.c_str()) in TestAddService()
117 std::cout << GetErrStr(isHdf ? HdfAddServiceCheck(getpid(), serName.c_str()) in TestAddService()
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dservice_checker.cpp75 extern "C" int HdfAddServiceCheck(pid_t callingPid, const char *serviceName) in HdfAddServiceCheck() function