Searched refs:MAX_PERM_NUM (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
H A D | nativetoken.h | 35 #define MAX_PERM_NUM 80 macro 80 char *perms[MAX_PERM_NUM]; 81 char *acls[MAX_PERM_NUM];
|
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
H A D | nativetoken_kit_test.cpp | 444 const char **perms = new (std::nothrow) const char *[MAX_PERM_NUM]; 463 permsNum = MAX_PERM_NUM + 1; 469 for (int32_t i = 0; i < MAX_PERM_NUM; i++) { 473 permsNum = MAX_PERM_NUM; 480 permsNum = MAX_PERM_NUM - 1; 831 for (int32_t i = 0; i < MAX_PERM_NUM + 1; i++) { 835 infoInstance.permsNum = MAX_PERM_NUM; 836 infoInstance.aclsNum = MAX_PERM_NUM + 1; 841 permsNum = MAX_PERM_NUM; 849 permsNum = MAX_PERM_NUM - 1; [all …]
|
/ohos5.0/base/security/permission_lite/services/unittest/pms/src/ |
H A D | acts_pms_test.h | 65 const int MAX_PERM_NUM = 1024; variable
|
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
H A D | nativetoken.c | 118 StrAttrSet(&attr, MAX_PERM_LEN, MAX_PERM_NUM, PERMS_KEY_NAME); in GetNativeTokenFromJson() 126 StrAttrSet(&attr, MAX_PERM_LEN, MAX_PERM_NUM, ACLS_KEY_NAME); in GetNativeTokenFromJson() 429 …uint32_t retPerm = CheckStrArray(tokenInfo->perms, tokenInfo->permsNum, MAX_PERM_NUM, MAX_PERM_LEN… in CheckProcessInfo() 435 … uint32_t retAcl = CheckStrArray(tokenInfo->acls, tokenInfo->aclsNum, MAX_PERM_NUM, MAX_PERM_LEN); in CheckProcessInfo()
|
/ohos5.0/base/security/access_token/interfaces/innerkits/token_setproc/test/unittest/src/ |
H A D | tokensetproc_kit_test.cpp | 26 static const uint32_t MAX_PERM_NUM = 2048; // 64 * 32 variable 328 for (uint32_t i = 0; i < MAX_PERM_NUM; i++) {
|