Searched refs:reqPermission (Results 1 – 6 of 6) sorted by relevance
68 std::vector<AdminPermission> reqPermission; variable69 PermissionManager::GetInstance()->GetReqPermission(permission, reqPermission);70 ASSERT_TRUE(reqPermission.size() == 1);84 std::vector<EdmPermission> reqPermission; variable85 PermissionManager::GetInstance()->GetReqPermission(permission, reqPermission);86 ASSERT_TRUE(reqPermission.size() == 1);
67 std::vector<EdmPermission> reqPermission; variable69 adminMgr_->GetReqPermission(permissions, reqPermission);70 ASSERT_TRUE(reqPermission.size() == 1);74 adminMgr_->GetReqPermission(permissions, reqPermission);75 ASSERT_TRUE(reqPermission.size() == 2);
56 std::vector<AdminPermission> &reqPermission) in GetReqPermission() argument58 reqPermission.clear(); in GetReqPermission()66 reqPermission.emplace_back(entry->second); in GetReqPermission()72 std::vector<EdmPermission> &reqPermission) in GetReqPermission() argument74 reqPermission.clear(); in GetReqPermission()79 reqPermission.emplace_back(edmPermission); in GetReqPermission()
101 std::vector<AdminPermission> reqPermission; in SetAdminValue() local104 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() local199 PermissionManager::GetInstance()->GetReqPermission(permissions, reqPermission); in GetGrantedPermission()200 if (reqPermission.empty()) { in GetGrantedPermission()207 for (const auto &it : reqPermission) { in GetGrantedPermission()
357 std::vector<std::string> reqPermission = bundleInfo.reqPermissions; in GetAllPermissionsByAdmin() local358 if (reqPermission.empty()) { in GetAllPermissionsByAdmin()364 ErrCode code = adminMgr_->GetReqPermission(reqPermission, edmPermissions); in GetAllPermissionsByAdmin()
41 std::vector<AdminPermission> &reqPermission);43 std::vector<EdmPermission> &reqPermission);