Home
last modified time | relevance | path

Searched refs:reqPermission (Results 1 – 6 of 6) sorted by relevance

/base/customization/enterprise_device_management/test/unittest/src/
Dpermission_manager_test.cpp68 std::vector<AdminPermission> reqPermission; variable
69 PermissionManager::GetInstance()->GetReqPermission(permission, reqPermission);
70 ASSERT_TRUE(reqPermission.size() == 1);
84 std::vector<EdmPermission> reqPermission; variable
85 PermissionManager::GetInstance()->GetReqPermission(permission, reqPermission);
86 ASSERT_TRUE(reqPermission.size() == 1);
Dadmin_manager_test.cpp67 std::vector<EdmPermission> reqPermission; variable
69 adminMgr_->GetReqPermission(permissions, reqPermission);
70 ASSERT_TRUE(reqPermission.size() == 1);
74 adminMgr_->GetReqPermission(permissions, reqPermission);
75 ASSERT_TRUE(reqPermission.size() == 2);
/base/customization/enterprise_device_management/services/edm/src/
Dpermission_manager.cpp56 std::vector<AdminPermission> &reqPermission) in GetReqPermission() argument
58 reqPermission.clear(); in GetReqPermission()
66 reqPermission.emplace_back(entry->second); in GetReqPermission()
72 std::vector<EdmPermission> &reqPermission) in GetReqPermission() argument
74 reqPermission.clear(); in GetReqPermission()
79 reqPermission.emplace_back(edmPermission); in GetReqPermission()
Dadmin_manager.cpp101 std::vector<AdminPermission> reqPermission; in SetAdminValue() local
104 PermissionManager::GetInstance()->GetReqPermission(permissions, reqPermission); in SetAdminValue()
105 if (reqPermission.empty()) { in SetAdminValue()
108 for (const auto &it : reqPermission) { in SetAdminValue()
198 std::vector<AdminPermission> reqPermission; in GetGrantedPermission() local
199 PermissionManager::GetInstance()->GetReqPermission(permissions, reqPermission); in GetGrantedPermission()
200 if (reqPermission.empty()) { in GetGrantedPermission()
207 for (const auto &it : reqPermission) { in GetGrantedPermission()
Denterprise_device_mgr_ability.cpp357 std::vector<std::string> reqPermission = bundleInfo.reqPermissions; in GetAllPermissionsByAdmin() local
358 if (reqPermission.empty()) { in GetAllPermissionsByAdmin()
364 ErrCode code = adminMgr_->GetReqPermission(reqPermission, edmPermissions); in GetAllPermissionsByAdmin()
/base/customization/enterprise_device_management/services/edm/include/
Dpermission_manager.h41 std::vector<AdminPermission> &reqPermission);
43 std::vector<EdmPermission> &reqPermission);