Home
last modified time | relevance | path

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

/frameworks/av/services/mediaresourcemanager/
DClientImportanceReclaimPolicy.cpp40 bool ClientImportanceReclaimPolicy::getClients(const ReclaimRequestInfo& reclaimRequestInfo, in getClients() argument
43 pid_t callingPid = reclaimRequestInfo.mCallingPid; in getClients()
44 int32_t callingImportance = reclaimRequestInfo.mCallingClientImportance; in getClients()
45 MediaResource::Type type = reclaimRequestInfo.mResources[0].type; in getClients()
46 MediaResource::SubType subType = reclaimRequestInfo.mResources[0].subType; in getClients()
52 for (size_t index = 1; !found && (index < reclaimRequestInfo.mResources.size()); index++) { in getClients()
53 MediaResource::Type type = reclaimRequestInfo.mResources[index].type; in getClients()
54 MediaResource::SubType subType = reclaimRequestInfo.mResources[index].subType; in getClients()
DProcessPriorityReclaimPolicy.cpp41 bool ProcessPriorityReclaimPolicy::getClients(const ReclaimRequestInfo& reclaimRequestInfo, in getClients() argument
48 MediaResource::Type type = reclaimRequestInfo.mResources[0].type; in getClients()
49 MediaResource::SubType subType = reclaimRequestInfo.mResources[0].subType; in getClients()
52 int callingPid = reclaimRequestInfo.mCallingPid; in getClients()
65 for (size_t index = 1; !found && (index < reclaimRequestInfo.mResources.size()); index++) { in getClients()
66 MediaResource::Type type = reclaimRequestInfo.mResources[index].type; in getClients()
67 MediaResource::SubType subType = reclaimRequestInfo.mResources[index].subType; in getClients()
DResourceManagerServiceNew.cpp251 ReclaimRequestInfo reclaimRequestInfo{callingPid, clientInfo.id, callingImportance, resources}; in getTargetClients() local
253 if (!mDefaultResourceModel->getAllClients(reclaimRequestInfo, clients)) { in getTargetClients()
263 getClientForResource_l(reclaimRequestInfo, clients, targetClients); in getTargetClients()
269 const ReclaimRequestInfo& reclaimRequestInfo, in getClientForResource_l() argument
272 int callingPid = reclaimRequestInfo.mCallingPid; in getClientForResource_l()
277 for (const MediaResourceParcel& resource : reclaimRequestInfo.mResources) { in getClientForResource_l()
287 if (reclaimPolicy->getClients(reclaimRequestInfo, clients, targetClients)) { in getClientForResource_l()
303 ReclaimRequestInfo reclaimRequestInfo{resourceRequestInfo.mCallingPid, in getLowestPriorityBiggestClient_l() local
308 mDefaultResourceModel->getAllClients(reclaimRequestInfo, clients); in getLowestPriorityBiggestClient_l()
314 if (reclaimPolicy->getClients(reclaimRequestInfo, clients, targetClients)) { in getLowestPriorityBiggestClient_l()
DDefaultResourceModel.h56 bool getAllClients(const ReclaimRequestInfo& reclaimRequestInfo,
60 bool getCodecClients(const ReclaimRequestInfo& reclaimRequestInfo,
DIResourceModel.h61 virtual bool getAllClients(const ReclaimRequestInfo& reclaimRequestInfo,
DIReclaimPolicy.h51 virtual bool getClients(const ReclaimRequestInfo& reclaimRequestInfo,
DClientImportanceReclaimPolicy.h54 bool getClients(const ReclaimRequestInfo& reclaimRequestInfo,
DProcessPriorityReclaimPolicy.h62 bool getClients(const ReclaimRequestInfo& reclaimRequestInfo,
DResourceManagerServiceNew.h95 const ReclaimRequestInfo& reclaimRequestInfo,