Home
last modified time | relevance | path

Searched refs:USER_GRANT (Results 1 – 10 of 10) sorted by relevance

/base/security/permission_lite/services/pms/include/
Dperm_define.h36 USER_GRANT = 0, enumerator
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h127 USER_GRANT = 0, enumerator
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_validator.cpp28 return grantMode == GrantMode::SYSTEM_GRANT || grantMode == GrantMode::USER_GRANT; in IsGrantModeValid()
Dpermission_definition_cache.cpp102 return IsGrantedModeEqualInner(permissionName, USER_GRANT); in IsUserGrantedPermission()
Dpermission_manager.cpp261 GrantMode mode = isSystemGrant ? SYSTEM_GRANT : USER_GRANT; in GetReqPermissions()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Dpermission_manager_test.cpp177 .grantMode = USER_GRANT,
190 .grantMode = USER_GRANT,
203 .grantMode = USER_GRANT,
216 .grantMode = USER_GRANT,
241 .grantMode = USER_GRANT, in SetUp()
Daccesstoken_info_manager_test.cpp212 .grantMode = USER_GRANT,
224 .grantMode = USER_GRANT,
236 .grantMode = USER_GRANT,
248 .grantMode = USER_GRANT,
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_extension_test.cpp150 .grantMode = GrantMode::USER_GRANT,
159 .grantMode = GrantMode::USER_GRANT,
177 .grantMode = GrantMode::USER_GRANT,
373 permissionDefAlpha.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()
389 testPermDef1.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()
397 testPermDef2.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()
405 testPermDef3.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()
413 testPermDef4.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()
Daccesstoken_kit_test.cpp273 permissionDefAlpha.grantMode = GrantMode::USER_GRANT; in TestPreparePermDefList()
289 testPermDef1.grantMode = GrantMode::USER_GRANT; in TestPreparePermDefList()
297 testPermDef2.grantMode = GrantMode::USER_GRANT; in TestPreparePermDefList()
305 testPermDef3.grantMode = GrantMode::USER_GRANT; in TestPreparePermDefList()
313 testPermDef4.grantMode = GrantMode::USER_GRANT; in TestPreparePermDefList()
/base/security/access_token/interfaces/kits/accesstoken/napi/src/
Dnapi_atmanager.cpp694 if (permissionDef.grantMode == USER_GRANT) { in GrantUserGrantedPermissionExecute()
828 if (permissionDef.grantMode == USER_GRANT) { in RevokeUserGrantedPermissionExecute()