• Home
  • Raw
  • Download

Lines Matching refs:callingPid

251         int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) {  in getClientForResource_l()  argument
256 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) { in getClientForResource_l()
262 int callingPid, const Vector<MediaResource> &resources) { in reclaimResource() argument
264 callingPid, getString(resources).string()); in reclaimResource()
270 if (!mProcessInfo->isValidPid(callingPid)) { in reclaimResource()
291 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
296 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
303 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
311 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
316 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
317 getClientForResource_l(callingPid, nonSecureCodec, &clients); in reclaimResource()
324 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
328 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
377 int callingPid, MediaResource::Type type, Vector<sp<IResourceManagerClient>> *clients) { in getAllClients_l() argument
383 if (!isCallingPriorityHigher_l(callingPid, mMap.keyAt(i))) { in getAllClients_l()
403 int callingPid, MediaResource::Type type, sp<IResourceManagerClient> *client) { in getLowestPriorityBiggestClient_l() argument
407 if (!mProcessInfo->getPriority(callingPid, &callingPriority)) { in getLowestPriorityBiggestClient_l()
409 callingPid); in getLowestPriorityBiggestClient_l()
460 bool ResourceManagerService::isCallingPriorityHigher_l(int callingPid, int pid) { in isCallingPriorityHigher_l() argument
462 if (!mProcessInfo->getPriority(callingPid, &callingPidPriority)) { in isCallingPriorityHigher_l()