Home
last modified time | relevance | path

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

/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dhdf_service_checker.h25 int HdfGetServiceCheck(pid_t callingPid, const char *serviceName);
/base/security/selinux_adapter/test/unittest/service_checker/
Dunit_test.cpp66 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/
Dtest.cpp126 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/
Dservice_checker.cpp67 extern "C" int HdfGetServiceCheck(pid_t callingPid, const char *serviceName) in HdfGetServiceCheck() function