Home
last modified time | relevance | path

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

/base/customization/enterprise_device_management/services/edm/src/
Dadmin_manager.cpp80 std::vector<std::shared_ptr<Admin>> subAdmin; in GetAdminBySubscribeEvent() local
84 subAdmin.push_back(it); in GetAdminBySubscribeEvent()
87 if (!subAdmin.empty()) { in GetAdminBySubscribeEvent()
88 subscribeAdmins[adminItem.first] = subAdmin; in GetAdminBySubscribeEvent()
Denterprise_device_mgr_ability.cpp127 for (const auto &subAdmin : subAndSuperAdmin) { in OnCommonEventUserRemoved() local
128 …if ((subAdmin->GetAdminType() == AdminType::SUB_SUPER_ADMIN || subAdmin->GetAdminType() == AdminTy… in OnCommonEventUserRemoved()
129 FAILED(RemoveAdmin(subAdmin->adminInfo_.packageName_, userIdToRemove))) { in OnCommonEventUserRemoved()
183 for (const auto &subAdmin : subAdmins) { in ConnectAbilityOnSystemEvent() local
184 for (const auto &it : subAdmin.second) { in ConnectAbilityOnSystemEvent()
188 … manager->CreateBundleConnection(want, static_cast<uint32_t>(event), subAdmin.first, bundleName); in ConnectAbilityOnSystemEvent()