Searched refs:GetPermissionFromKernel (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/security/access_token/interfaces/innerkits/token_setproc/test/unittest/src/ |
H A D | tokensetproc_kit_test.cpp | 124 ASSERT_EQ(ACCESS_TOKEN_OK, GetPermissionFromKernel(g_tokeId, opCodeList1[0], isGranted)); 129 ASSERT_EQ(ACCESS_TOKEN_OK, GetPermissionFromKernel(g_tokeId, opCodeList2[0], isGranted)); 229 ASSERT_EQ(ENODATA, GetPermissionFromKernel(g_tokeId, g_opCodeList[0], isGranted)); 289 ASSERT_EQ(ENODATA, GetPermissionFromKernel(g_tokeId, g_opCodeList[0], isGranted)); 306 ASSERT_EQ(ENODATA, GetPermissionFromKernel(g_tokeId, g_opCodeList[0], isGranted)); 331 ASSERT_EQ(ACCESS_TOKEN_OK, GetPermissionFromKernel(g_tokeId, i, isGranted)); 339 ASSERT_EQ(ENODATA, GetPermissionFromKernel(g_tokeId, g_opCodeList[i], isGranted)); 388 ASSERT_EQ(EINVAL, GetPermissionFromKernel(g_tokeId, INVALID_OP_CODE, isGranted)); 399 GetPermissionFromKernel(token1, g_opCodeList[0], isGranted); in ThreadTestFunc01() 414 GetPermissionFromKernel(token2, g_opCodeList[size - 1], isGranted); in ThreadTestFunc02() [all …]
|
/ohos5.0/base/security/access_token/interfaces/innerkits/token_setproc/include/ |
H A D | perm_setproc.h | 27 int32_t GetPermissionFromKernel(uint32_t tokenID, int32_t opCode, bool& isGranted);
|
/ohos5.0/base/security/access_token/interfaces/innerkits/token_setproc/src/ |
H A D | perm_setproc.cpp | 121 int32_t GetPermissionFromKernel(uint32_t tokenID, int32_t opCode, bool& isGranted) in GetPermissionFromKernel() function
|
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
H A D | accesstoken_kit.cpp | 276 int32_t ret = GetPermissionFromKernel(tokenID, code, isGranted); in VerifyAccessToken() 307 int32_t ret = GetPermissionFromKernel(tokenID, code, isGranted); in VerifyAccessToken()
|