Home
last modified time | relevance | path

Searched refs:enabledAdminList (Results 1 – 9 of 9) sorted by relevance

/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/
Denterprise_device_mgr_ability_test.cpp282 std::vector<std::string> enabledAdminList; variable
283 edmMgr_->GetEnabledAdmin(AdminType::NORMAL, enabledAdminList); // normal admin not empty
284 EXPECT_FALSE(enabledAdminList.empty());
509 std::vector<std::string> enabledAdminList; variable
510 edmMgr_->GetEnabledAdmin(AdminType::NORMAL, enabledAdminList);
511 EXPECT_FALSE(enabledAdminList.empty());
513 enabledAdminList.clear();
514 edmMgr_->GetEnabledAdmin(AdminType::ENT, enabledAdminList);
515 EXPECT_FALSE(enabledAdminList.empty());
517 enabledAdminList.clear();
[all …]
/base/customization/enterprise_device_management/test/unittest/src/
Denterprise_device_mgr_proxy_test.cpp76 std::vector<std::string> enabledAdminList; variable
77 enterpriseDeviceMgrProxyTest->GetEnabledAdmins(enabledAdminList);
78 EXPECT_TRUE(enabledAdminList.empty());
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/
Denterprise_device_mgr_proxy.cpp151 …terpriseDeviceMgrProxy::GetEnabledAdmin(AdminType type, std::vector<std::string> &enabledAdminList) in GetEnabledAdmin() argument
176 reply.ReadStringVector(&enabledAdminList); in GetEnabledAdmin()
517 void EnterpriseDeviceMgrProxy::GetEnabledAdmins(std::vector<std::string> &enabledAdminList) in GetEnabledAdmins() argument
519 GetEnabledAdmins(AdminType::NORMAL, enabledAdminList); in GetEnabledAdmins()
524 std::vector<std::string> enabledAdminList; in GetEnabledSuperAdmin() local
525 GetEnabledAdmins(AdminType::ENT, enabledAdminList); in GetEnabledSuperAdmin()
526 if (!enabledAdminList.empty()) { in GetEnabledSuperAdmin()
527 enabledAdmin = enabledAdminList[0]; in GetEnabledSuperAdmin()
533 std::vector<std::string> enabledAdminList; in IsSuperAdminExist() local
534 GetEnabledAdmins(AdminType::ENT, enabledAdminList); in IsSuperAdminExist()
[all …]
/base/customization/enterprise_device_management/interfaces/inner_api/common/include/
Denterprise_device_mgr_proxy.h45 ErrCode GetEnabledAdmin(AdminType type, std::vector<std::string> &enabledAdminList);
58 void GetEnabledAdmins(std::vector<std::string> &enabledAdminList);
73 void GetEnabledAdmins(AdminType type, std::vector<std::string> &enabledAdminList);
Dienterprise_device_mgr.h41 virtual ErrCode GetEnabledAdmin(AdminType type, std::vector<std::string> &enabledAdminList) = 0;
/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_ability.cpp238 std::vector<std::string> enabledAdminList; in Dump() local
239 GetEnabledAdmin(AdminType::NORMAL, enabledAdminList); in Dump()
240 if (enabledAdminList.empty()) { in Dump()
244 for (const auto &enabledAdmin : enabledAdminList) { in Dump()
925 …rpriseDeviceMgrAbility::GetEnabledAdmin(AdminType type, std::vector<std::string> &enabledAdminList) in GetEnabledAdmin() argument
944 enabledAdminList.insert(enabledAdminList.begin(), superList.begin(), superList.end()); in GetEnabledAdmin()
947 enabledAdminList.insert(enabledAdminList.begin(), normalList.begin(), normalList.end()); in GetEnabledAdmin()
949 for (const auto &enabledAdmin : enabledAdminList) { in GetEnabledAdmin()
Denterprise_device_mgr_stub.cpp183 std::vector<std::string> enabledAdminList; in GetEnabledAdminInner() local
184 ErrCode res = GetEnabledAdmin((AdminType)type, enabledAdminList); in GetEnabledAdminInner()
191 reply.WriteStringVector(enabledAdminList); in GetEnabledAdminInner()
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/
Denterprise_device_mgr_stub_mock.h107 …ErrCode GetEnabledAdmin(AdminType type, std::vector<std::string> &enabledAdminList) override { ret… in GetEnabledAdmin() argument
/base/customization/enterprise_device_management/services/edm/include/
Denterprise_device_mgr_ability.h53 ErrCode GetEnabledAdmin(AdminType type, std::vector<std::string> &enabledAdminList) override;