Home
last modified time | relevance | path

Searched refs:getPermission (Results 1 – 2 of 2) sorted by relevance

/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_ability.cpp871 std::string getPermission = plugin->GetPermission(FuncOperateType::GET); in GetDevicePolicy() local
874 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() argument
916 if (!getPermission.empty() && !deviceAdmin->CheckPermission(getPermission)) { in CheckGetPolicyPermission()
917 EDMLOGW("GetDevicePolicy: admin check permission failed %{public}s", getPermission.c_str()); in CheckGetPolicyPermission()
/base/customization/enterprise_device_management/services/edm/include/
Denterprise_device_mgr_ability.h91 …eckGetPolicyPermission(MessageParcel &data, MessageParcel &reply, const std::string &getPermission,