Home
last modified time | relevance | path

Searched refs:SELINUX_ARG_INVALID (Results 1 – 6 of 6) sorted by relevance

/base/security/selinux_adapter/test/unittest/hap_restorecon/
Dunit_test.cpp217 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(g_hapFileInfoWithAplEmpty));
219 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(g_hapFileInfoWithPathEmpty));
221 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(g_hapFileInfoWithAplInvalid));
316 … EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(TEST_HAP_PATH, g_hapFileInfoWithAplEmpty));
318 … EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(EMPTY_STRING, g_hapFileInfoWithPathEmpty));
320 …EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(TEST_HAP_PATH, g_hapFileInfoWithAplInvalid)…
612 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapDomainSetcontext(g_hapDomainInfoWithAplEmpty));
613 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapDomainSetcontext(g_hapDomainInfoWithInvalidApl));
665 ASSERT_EQ(-SELINUX_ARG_INVALID, test.TypeSet(EMPTY_STRING, nullptr));
/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dselinux_error.h29 SELINUX_ARG_INVALID, enumerator
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_error.cpp23 [SELINUX_ARG_INVALID] = "argument is invalid",
Dhap_restorecon.cpp225 return -SELINUX_ARG_INVALID; in HapFileRestorecon()
241 return -SELINUX_ARG_INVALID; in HapFileRestorecon()
424 return -SELINUX_ARG_INVALID; in HapDomainSetcontext()
517 return -SELINUX_ARG_INVALID; in TypeSet()
Dservice_checker.cpp157 return -SELINUX_ARG_INVALID; in CheckServiceNameValid()
205 return -SELINUX_ARG_INVALID; in GetServiceContext()
/base/security/selinux_adapter/test/unittest/service_checker/
Dunit_test.cpp120 ASSERT_EQ(-SELINUX_ARG_INVALID, service.GetServiceCheck(getpid(), ""));
138 ASSERT_EQ(-SELINUX_ARG_INVALID, service.GetRemoteServiceCheck(getpid(), ""));
156 ASSERT_EQ(-SELINUX_ARG_INVALID, service.AddServiceCheck(getpid(), ""));