Home
last modified time | relevance | path

Searched refs:RemoveAdmin (Results 1 – 3 of 3) sorted by relevance

/base/customization/enterprise_device_management/test/unittest/include/
Diplugin_template_test.h269 ErrCode RemoveAdmin() in RemoveAdmin() function
281 ptr->SetOnAdminRemoveListener(&AdminRemoveSupplierPlg::RemoveAdmin); in InitPlugin()
287 ErrCode RemoveAdmin(const std::string &adminName, std::string &data, int32_t userId) in RemoveAdmin() function
299 ptr->SetOnAdminRemoveListener(&AdminRemoveBiFunctionPlg::RemoveAdmin); in InitPlugin()
/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_ability.cpp120 if (FAILED(RemoveAdmin(item->adminInfo_.packageName_, userIdToRemove))) { in OnCommonEventUserRemoved()
129 FAILED(RemoveAdmin(subAdmin->adminInfo_.packageName_, userIdToRemove))) { in OnCommonEventUserRemoved()
152 RemoveAdmin(bundleName, userId); in OnCommonEventPackageRemoved()
578 ErrCode EnterpriseDeviceMgrAbility::RemoveAdmin(const std::string &adminName, int32_t userId) in RemoveAdmin() function in OHOS::EDM::EnterpriseDeviceMgrAbility
613 if (FAILED(RemoveAdmin(bundleName, it->first))) { in RemovePolicyAndAdmin()
647 if (FAILED(RemoveAdmin(admin.GetBundleName(), userId))) { in DisableAdmin()
/base/customization/enterprise_device_management/services/edm/include/
Denterprise_device_mgr_ability.h80 ErrCode RemoveAdmin(const std::string &adminName, int32_t userId);