Searched refs:QueryPermissionFlag (Results 1 – 4 of 4) sorted by relevance
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_policy_set.h | 48 int QueryPermissionFlag(const std::string& permissionName, int& flag);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_policy_set.cpp | 206 int PermissionPolicySet::QueryPermissionFlag(const std::string& permissionName, int& flag) in QueryPermissionFlag() function in OHOS::Security::AccessToken::PermissionPolicySet 298 int32_t ret = QueryPermissionFlag(permissionName, flag); in UpdateSecCompGrantedPermList()
|
D | permission_manager.cpp | 353 int32_t ret = permPolicySet->QueryPermissionFlag(permissionName, fullFlag); in GetPermissionFlag()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 1751 …ASSERT_EQ(ERR_PERMISSION_NOT_EXIST, policySet->QueryPermissionFlag("ohos.permission.TEST1", flag)); 1753 ASSERT_EQ(ERR_PARAM_INVALID, policySet->QueryPermissionFlag("ohos.permission.TEST", flag)); 1759 ASSERT_EQ(ERR_PARAM_INVALID, policySet1->QueryPermissionFlag("ohos.permission.TEST", flag));
|