Home
last modified time | relevance | path

Searched refs:IsPermissionFlagValid (Results 1 – 8 of 8) sorted by relevance

/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_validator.cpp36 bool PermissionValidator::IsPermissionFlagValid(int flag) in IsPermissionFlagValid() function in OHOS::Security::AccessToken::PermissionValidator
38 return DataValidator::IsPermissionFlagValid(flag); in IsPermissionFlagValid()
81 !IsPermissionFlagValid(permState.grantFlags[i])) { in IsPermissionStateValid()
Dpermission_manager.cpp441 if (!PermissionValidator::IsPermissionFlagValid(flag)) { in GrantPermission()
462 if (!PermissionValidator::IsPermissionFlagValid(flag)) { in RevokePermission()
/base/security/access_token/interfaces/innerkits/privacy/src/
Dprivacy_kit.cpp93 static bool IsPermissionFlagValid(const PermissionUsedRequest& request) in IsPermissionFlagValid() function
105 if (!IsPermissionFlagValid(request)) { in GetPermissionUsedRecords()
114 if (!IsPermissionFlagValid(request)) { in GetPermissionUsedRecords()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_validator.h30 static bool IsPermissionFlagValid(int flag);
/base/security/access_token/frameworks/common/include/
Ddata_validator.h46 static bool IsPermissionFlagValid(int flag);
/base/security/access_token/frameworks/common/src/
Ddata_validator.cpp77 bool DataValidator::IsPermissionFlagValid(int flag) in IsPermissionFlagValid() function in OHOS::Security::AccessToken::DataValidator
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Ddata_translator.cpp121 if (!PermissionValidator::IsPermissionFlagValid(grantFlag)) { in TranslationIntoPermissionStateFull()
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_kit.cpp293 if (!DataValidator::IsPermissionFlagValid(flag)) { in GrantPermission()
312 if (!DataValidator::IsPermissionFlagValid(flag)) { in RevokePermission()