Home
last modified time | relevance | path

Searched refs:QueryPermissionFlag (Results 1 – 4 of 4) sorted by relevance

/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_policy_set.h48 int QueryPermissionFlag(const std::string& permissionName, int& flag);
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_policy_set.cpp206 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()
Dpermission_manager.cpp353 int32_t ret = permPolicySet->QueryPermissionFlag(permissionName, fullFlag); in GetPermissionFlag()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp1751 …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));