Searched refs:getPermission (Results 1 – 2 of 2) sorted by relevance
871 std::string getPermission = plugin->GetPermission(FuncOperateType::GET); in GetDevicePolicy() local874 ErrCode ret = CheckGetPolicyPermission(data, reply, getPermission, adminName); in GetDevicePolicy()879 if (!getPermission.empty() && !VerifyCallingPermission(getPermission)) { in GetDevicePolicy()897 const std::string &getPermission, std::string &adminName) in CheckGetPolicyPermission() argument916 if (!getPermission.empty() && !deviceAdmin->CheckPermission(getPermission)) { in CheckGetPolicyPermission()917 EDMLOGW("GetDevicePolicy: admin check permission failed %{public}s", getPermission.c_str()); in CheckGetPolicyPermission()
91 …eckGetPolicyPermission(MessageParcel &data, MessageParcel &reply, const std::string &getPermission,