Searched refs:IsPermissionFlagValid (Results 1 – 8 of 8) sorted by relevance
36 bool PermissionValidator::IsPermissionFlagValid(int flag) in IsPermissionFlagValid() function in OHOS::Security::AccessToken::PermissionValidator38 return DataValidator::IsPermissionFlagValid(flag); in IsPermissionFlagValid()81 !IsPermissionFlagValid(permState.grantFlags[i])) { in IsPermissionStateValid()
441 if (!PermissionValidator::IsPermissionFlagValid(flag)) { in GrantPermission()462 if (!PermissionValidator::IsPermissionFlagValid(flag)) { in RevokePermission()
93 static bool IsPermissionFlagValid(const PermissionUsedRequest& request) in IsPermissionFlagValid() function105 if (!IsPermissionFlagValid(request)) { in GetPermissionUsedRecords()114 if (!IsPermissionFlagValid(request)) { in GetPermissionUsedRecords()
30 static bool IsPermissionFlagValid(int flag);
46 static bool IsPermissionFlagValid(int flag);
77 bool DataValidator::IsPermissionFlagValid(int flag) in IsPermissionFlagValid() function in OHOS::Security::AccessToken::DataValidator
121 if (!PermissionValidator::IsPermissionFlagValid(grantFlag)) { in TranslationIntoPermissionStateFull()
293 if (!DataValidator::IsPermissionFlagValid(flag)) { in GrantPermission()312 if (!DataValidator::IsPermissionFlagValid(flag)) { in RevokePermission()