Searched refs:reclaimRequestInfo (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/services/mediaresourcemanager/ |
D | ClientImportanceReclaimPolicy.cpp | 40 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()
|
D | ProcessPriorityReclaimPolicy.cpp | 41 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()
|
D | ResourceManagerServiceNew.cpp | 251 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()
|
D | DefaultResourceModel.h | 56 bool getAllClients(const ReclaimRequestInfo& reclaimRequestInfo, 60 bool getCodecClients(const ReclaimRequestInfo& reclaimRequestInfo,
|
D | IResourceModel.h | 61 virtual bool getAllClients(const ReclaimRequestInfo& reclaimRequestInfo,
|
D | IReclaimPolicy.h | 51 virtual bool getClients(const ReclaimRequestInfo& reclaimRequestInfo,
|
D | ClientImportanceReclaimPolicy.h | 54 bool getClients(const ReclaimRequestInfo& reclaimRequestInfo,
|
D | ProcessPriorityReclaimPolicy.h | 62 bool getClients(const ReclaimRequestInfo& reclaimRequestInfo,
|
D | ResourceManagerServiceNew.h | 95 const ReclaimRequestInfo& reclaimRequestInfo,
|