Searched refs:GrantMode (Results 1 – 7 of 7) sorted by relevance
112 return AccessToken::GrantMode::SYSTEM_GRANT; in GetPermissionGrantMode()114 return AccessToken::GrantMode::USER_GRANT; in GetPermissionGrantMode()154 if (permDef.grantMode == AccessToken::GrantMode::SYSTEM_GRANT) { in from_json()
33 return grantMode == GrantMode::SYSTEM_GRANT || grantMode == GrantMode::USER_GRANT; in IsGrantModeValid()
302 GrantMode mode = isSystemGrant ? SYSTEM_GRANT : USER_GRANT; in GetReqPermissions()1238 if (permDef.grantMode == AccessToken::GrantMode::SYSTEM_GRANT) { in InitPermissionList()
170 } GrantMode; typedef
173 .grantMode = GrantMode::USER_GRANT,182 .grantMode = GrantMode::USER_GRANT,191 .grantMode = GrantMode::SYSTEM_GRANT,200 .grantMode = GrantMode::USER_GRANT,421 permissionDefAlpha.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()429 permissionDefBeta.grantMode = GrantMode::SYSTEM_GRANT; in PreparePermDefList()437 testPermDef1.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()445 testPermDef2.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()453 testPermDef3.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()461 testPermDef4.grantMode = GrantMode::USER_GRANT; in PreparePermDefList()
211 permissionDefBeta.grantMode = GrantMode::SYSTEM_GRANT; in TestPreparePermDefList()219 permissionDefAlpha.grantMode = GrantMode::USER_GRANT; in TestPreparePermDefList()
1640 .grantMode = static_cast<GrantMode>(2),1653 permDef.grantMode = GrantMode::USER_GRANT;1713 .grantMode = GrantMode::SYSTEM_GRANT,