Home
last modified time | relevance | path

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

/base/security/access_token/interfaces/innerkits/privacy/src/
Dprivacy_kit.cpp39 …if (!DataValidator::IsTokenIDValid(tokenID) || !DataValidator::IsPermissionNameValid(permissionNam… in AddPermissionUsedRecord()
52 …if (!DataValidator::IsTokenIDValid(tokenID) || !DataValidator::IsPermissionNameValid(permissionNam… in StartUsingPermission()
64 …if (!DataValidator::IsTokenIDValid(tokenID) || !DataValidator::IsPermissionNameValid(permissionNam… in StartUsingPermission()
75 …if (!DataValidator::IsTokenIDValid(tokenID) || !DataValidator::IsPermissionNameValid(permissionNam… in StopUsingPermission()
132 …if (!DataValidator::IsTokenIDValid(tokenID) && !DataValidator::IsPermissionNameValid(permissionNam… in IsAllowedUsingPermission()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_validator.cpp41 bool PermissionValidator::IsPermissionNameValid(const std::string& permissionName) in IsPermissionNameValid() function in OHOS::Security::AccessToken::PermissionValidator
43 return DataValidator::IsPermissionNameValid(permissionName); in IsPermissionNameValid()
57 if (!DataValidator::IsPermissionNameValid(permDef.permissionName)) { in IsPermissionDefValid()
68 if (!DataValidator::IsPermissionNameValid(permState.permissionName)) { in IsPermissionStateValid()
Dpermission_manager.cpp206 if (!PermissionValidator::IsPermissionNameValid(permissionName)) { in VerifyAccessToken()
224 if (!PermissionValidator::IsPermissionNameValid(permissionName)) { in GetDefPermission()
337 if (!PermissionValidator::IsPermissionNameValid(permissionName)) { in GetPermissionFlag()
432 if (!PermissionValidator::IsPermissionNameValid(permissionName)) { in GrantPermission()
453 if (!PermissionValidator::IsPermissionNameValid(permissionName)) { in RevokePermission()
587 if (!PermissionValidator::IsPermissionNameValid(permissionName)) { in IsPermissionVaild()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_validator.h29 static bool IsPermissionNameValid(const std::string& permissionName);
/base/security/access_token/frameworks/common/include/
Ddata_validator.h29 static bool IsPermissionNameValid(const std::string& permissionName);
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_kit.cpp207 if (!DataValidator::IsPermissionNameValid(permissionName)) { in VerifyAccessToken()
232 if (!DataValidator::IsPermissionNameValid(permissionName)) { in GetDefPermission()
274 if (!DataValidator::IsPermissionNameValid(permissionName)) { in GetPermissionFlag()
289 if (!DataValidator::IsPermissionNameValid(permissionName)) { in GrantPermission()
308 if (!DataValidator::IsPermissionNameValid(permissionName)) { in RevokePermission()
/base/security/access_token/frameworks/common/src/
Ddata_validator.cpp37 bool DataValidator::IsPermissionNameValid(const std::string& permissionName) in IsPermissionNameValid() function in OHOS::Security::AccessToken::DataValidator
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Ddata_translator.cpp92 if (!DataValidator::IsPermissionNameValid(outPermissionState.permissionName)) { in TranslationIntoPermissionStateFull()