Lines Matching refs:targetClients
487 std::vector<ClientInfo>& targetClients) { in getTargetClients() argument
526 if (!getAllClients_l(resourceRequestInfo, targetClients)) { in getTargetClients()
532 if (!getAllClients_l(resourceRequestInfo, targetClients)) { in getTargetClients()
542 if (!getAllClients_l(resourceRequestInfo, targetClients)) { in getTargetClients()
550 getClientForResource_l(resourceRequestInfo, targetClients); in getTargetClients()
551 if (targetClients.size() == 0) { in getTargetClients()
556 if (targetClients.size() == 0 && graphicMemory != nullptr) { in getTargetClients()
559 getClientForResource_l(resourceRequestInfo, targetClients); in getTargetClients()
562 if (targetClients.size() == 0) { in getTargetClients()
566 getClientForResource_l(resourceRequestInfo, targetClients); in getTargetClients()
570 getClientForResource_l(resourceRequestInfo, targetClients); in getTargetClients()
574 if (targetClients.size() == 0) { in getTargetClients()
579 getClientForResource_l(resourceRequestInfo, targetClients); in getTargetClients()
584 getClientForResource_l(resourceRequestInfo, targetClients); in getTargetClients()
588 return !targetClients.empty(); in getTargetClients()
605 std::vector<ClientInfo> targetClients; in reclaimResource() local
606 if (getTargetClients(clientInfo, resources, targetClients)) { in reclaimResource()
608 *_aidl_return = reclaimUnconditionallyFrom(targetClients); in reclaimResource()
613 targetClients.clear(); in reclaimResource()
617 pushReclaimAtom(clientInfo, targetClients, *_aidl_return); in reclaimResource()
623 const std::vector<ClientInfo>& targetClients, in pushReclaimAtom() argument
631 for (const ClientInfo& targetClient : targetClients) { in pushReclaimAtom()
636 mResourceManagerMetrics->pushReclaimAtom(clientInfo, priorities, targetClients, reclaimed); in pushReclaimAtom()
676 const std::vector<ClientInfo>& targetClients) { in reclaimUnconditionallyFrom() argument
677 if (targetClients.size() == 0) { in reclaimUnconditionallyFrom()
683 for (const ClientInfo& targetClient : targetClients) { in reclaimUnconditionallyFrom()
863 std::vector<ClientInfo> targetClients; in reclaimResourcesFromClientsPendingRemoval() local
889 targetClients.emplace_back(clientInfo); in reclaimResourcesFromClientsPendingRemoval()
899 targetClients.emplace_back(clientInfo); in reclaimResourcesFromClientsPendingRemoval()
906 if (!targetClients.empty()) { in reclaimResourcesFromClientsPendingRemoval()
907 reclaimUnconditionallyFrom(targetClients); in reclaimResourcesFromClientsPendingRemoval()