Searched refs:USER_GRANT (Results 1 – 10 of 10) sorted by relevance
/base/security/permission_lite/services/pms/include/ |
D | perm_define.h | 36 USER_GRANT = 0, enumerator
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | access_token.h | 127 USER_GRANT = 0, enumerator
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_validator.cpp | 28 return grantMode == GrantMode::SYSTEM_GRANT || grantMode == GrantMode::USER_GRANT; in IsGrantModeValid()
|
D | permission_definition_cache.cpp | 102 return IsGrantedModeEqualInner(permissionName, USER_GRANT); in IsUserGrantedPermission()
|
D | permission_manager.cpp | 261 GrantMode mode = isSystemGrant ? SYSTEM_GRANT : USER_GRANT; in GetReqPermissions()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | permission_manager_test.cpp | 177 .grantMode = USER_GRANT, 190 .grantMode = USER_GRANT, 203 .grantMode = USER_GRANT, 216 .grantMode = USER_GRANT, 241 .grantMode = USER_GRANT, in SetUp()
|
D | accesstoken_info_manager_test.cpp | 212 .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/ |
D | accesstoken_kit_extension_test.cpp | 150 .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()
|
D | accesstoken_kit_test.cpp | 273 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/ |
D | napi_atmanager.cpp | 694 if (permissionDef.grantMode == USER_GRANT) { in GrantUserGrantedPermissionExecute() 828 if (permissionDef.grantMode == USER_GRANT) { in RevokeUserGrantedPermissionExecute()
|