Searched refs:HdfAddServiceCheck (Results 1 – 4 of 4) sorted by relevance
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
D | hdf_service_checker.h | 26 int HdfAddServiceCheck(pid_t callingPid, const char *serviceName);
|
/base/security/selinux_adapter/test/unittest/service_checker/ |
D | unit_test.cpp | 83 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/ |
D | test.cpp | 110 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/ |
D | service_checker.cpp | 75 extern "C" int HdfAddServiceCheck(pid_t callingPid, const char *serviceName) in HdfAddServiceCheck() function
|