Searched refs:HdfGetServiceCheck (Results 1 – 4 of 4) sorted by relevance
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
D | hdf_service_checker.h | 25 int HdfGetServiceCheck(pid_t callingPid, const char *serviceName);
|
/base/security/selinux_adapter/test/unittest/service_checker/ |
D | unit_test.cpp | 66 ASSERT_EQ(-SELINUX_GET_CONTEXT_ERROR, HdfGetServiceCheck(-1, TEST_SERVICE_NAME.c_str())); 67 ASSERT_EQ(-SELINUX_PTR_NULL, HdfGetServiceCheck(getpid(), nullptr)); 68 ASSERT_EQ(SELINUX_SUCC, HdfGetServiceCheck(getpid(), TEST_SERVICE_NAME.c_str()));
|
/base/security/selinux_adapter/interfaces/tools/service_check/ |
D | test.cpp | 126 std::cout << GetErrStr(isHdf ? HdfGetServiceCheck(getpid(), serviceName.c_str()) in TestGetService() 133 std::cout << GetErrStr(isHdf ? HdfGetServiceCheck(getpid(), serName.c_str()) in TestGetService()
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | service_checker.cpp | 67 extern "C" int HdfGetServiceCheck(pid_t callingPid, const char *serviceName) in HdfGetServiceCheck() function
|