Home
last modified time | relevance | path

Searched refs:ClientInfo (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/services/mediaresourcemanager/
DProcessPriorityReclaimPolicy.h27 struct ClientInfo;
63 const std::vector<ClientInfo>& clients,
64 std::vector<ClientInfo>& targetClients) override;
79 const std::vector<ClientInfo>& clients,
80 ClientInfo& targetClient,
DResourceTracker.h39 struct ClientInfo;
98 bool getClientsMarkedPendingRemoval(int32_t pid, std::vector<ClientInfo>& targetClients);
122 std::vector<ClientInfo>& clients,
140 const std::vector<ClientInfo>& clients,
149 ClientInfo& clientInfo);
161 const std::vector<ClientInfo>& clients,
162 ClientInfo& clientInfo,
173 const std::vector<ClientInfo>& clients,
174 ClientInfo& clientInfo);
207 std::vector<ClientInfo>& clients);
DIReclaimPolicy.h26 struct ClientInfo;
52 const std::vector<ClientInfo>& clients,
53 std::vector<ClientInfo>& targetClients) = 0;
DClientImportanceReclaimPolicy.h27 struct ClientInfo;
55 const std::vector<ClientInfo>& clients,
56 std::vector<ClientInfo>& targetClients) override;
DResourceManagerServiceNew.cpp192 std::vector<ClientInfo> targetClients; in reclaimResourcesFromClientsPendingRemoval()
238 std::vector<ClientInfo>& targetClients) { in getTargetClients()
252 std::vector<ClientInfo> clients; in getTargetClients()
270 const std::vector<ClientInfo>& clients, in getClientForResource_l()
271 std::vector<ClientInfo>& targetClients) { in getClientForResource_l()
276 ClientInfo targetClient; in getClientForResource_l()
295 ClientInfo& clientInfo) { in getLowestPriorityBiggestClient_l()
307 std::vector<ClientInfo> clients; in getLowestPriorityBiggestClient_l()
313 std::vector<ClientInfo> targetClients; in getLowestPriorityBiggestClient_l()
339 std::vector<ClientInfo>& clientsInfo) { in getAllClients_l()
[all …]
DProcessPriorityReclaimPolicy.cpp42 const std::vector<ClientInfo>& clients, in getClients()
43 std::vector<ClientInfo>& targetClients) { in getClients()
59 ClientInfo clientInfo; in getClients()
108 const std::vector<ClientInfo>& clients, in getBiggestClientFromLowestPriority()
109 ClientInfo& targetClient, in getBiggestClientFromLowestPriority()
DResourceManagerService.h123 bool reclaimUnconditionallyFrom(const std::vector<ClientInfo>& targetClients);
145 ClientInfo& clientsInfo,
152 ClientInfo& clientsInfo);
156 std::vector<ClientInfo>& clientsInfo);
159 const std::vector<ClientInfo>& targetClients,
179 std::vector<ClientInfo>& targetClients);
185 std::vector<ClientInfo>& clientsInfo);
192 ClientInfo& clientInfo);
DResourceManagerServiceNew.h96 const std::vector<ClientInfo>& clients,
97 std::vector<ClientInfo>& targetClients);
111 std::vector<ClientInfo>& targetClients) override;
147 std::vector<ClientInfo>& clientsInfo) override;
154 ClientInfo& clientInfo) override;
DIResourceModel.h29 struct ClientInfo;
62 std::vector<ClientInfo>& clients) = 0;
DResourceTracker.cpp58 inline bool contains(const std::vector<ClientInfo>& clients, const int64_t& clientId) { in contains()
59 std::vector<ClientInfo>::const_iterator found = in contains()
61 [clientId](const ClientInfo& client) -> bool { in contains()
302 std::vector<ClientInfo>& targetClients) { in getClientsMarkedPendingRemoval()
329 ClientInfo clientInfo; in getClientsMarkedPendingRemoval()
340 ClientInfo clientInfo; in getClientsMarkedPendingRemoval()
395 std::vector<ClientInfo>& clients, in getAllClients()
452 const std::vector<ClientInfo>& clients, in getLowestPriorityPid()
456 for (const ClientInfo& client : clients) { in getLowestPriorityPid()
489 ClientInfo& clientInfo) { in getBiggestClientPendingRemoval()
[all …]
DClientImportanceReclaimPolicy.cpp41 const std::vector<ClientInfo>& clients, in getClients()
42 std::vector<ClientInfo>& targetClients) { in getClients()
47 ClientInfo targetClient; in getClients()
DDefaultResourceModel.h57 std::vector<ClientInfo>& clients) override;
61 std::vector<ClientInfo>& clients);
DResourceManagerService.cpp463 std::vector<ClientInfo>& clientsInfo) { in getClientForResource_l()
472 ClientInfo clientInfo; in getClientForResource_l()
487 std::vector<ClientInfo>& targetClients) { in getTargetClients()
605 std::vector<ClientInfo> targetClients; in reclaimResource()
623 const std::vector<ClientInfo>& targetClients, in pushReclaimAtom()
631 for (const ClientInfo& targetClient : targetClients) { in pushReclaimAtom()
676 const std::vector<ClientInfo>& targetClients) { in reclaimUnconditionallyFrom()
683 for (const ClientInfo& targetClient : targetClients) { in reclaimUnconditionallyFrom()
863 std::vector<ClientInfo> targetClients; in reclaimResourcesFromClientsPendingRemoval()
887 ClientInfo clientInfo; in reclaimResourcesFromClientsPendingRemoval()
[all …]
DDefaultResourceModel.cpp42 std::vector<ClientInfo>& clients) { in getAllClients()
119 std::vector<ClientInfo>& clients) { in getCodecClients()
DResourceManagerServiceUtils.h200 struct ClientInfo { struct
207 ClientInfo(pid_t pid = -1, uid_t uid = -1, const int64_t& clientId = -1) argument
DResourceManagerMetrics.h163 const std::vector<ClientInfo>& targetClients,
DResourceManagerMetrics.cpp497 const std::vector<ClientInfo>& targetClients, in pushReclaimAtom()
547 for (const ClientInfo& targetClient : targetClients) { in pushReclaimAtom()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp474 std::vector<ClientInfo> targetClients; in testGetAllClients()
824 ClientInfo clientInfo; in testGetLowestPriorityBiggestClient()