Lines Matching refs:callingPid
423 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { in getClientForResource_l() argument
428 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) { in getClientForResource_l()
434 int callingPid, const Vector<MediaResource> &resources) { in reclaimResource() argument
436 callingPid, getString(resources).string()); in reclaimResource()
442 if (!mProcessInfo->isValidPid(callingPid)) { in reclaimResource()
466 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
471 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { in reclaimResource()
478 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { in reclaimResource()
484 getClientForResource_l(callingPid, drmSession, &clients); in reclaimResource()
492 getClientForResource_l(callingPid, graphicMemory, &clients); in reclaimResource()
497 getClientForResource_l(callingPid, secureCodec, &clients); in reclaimResource()
498 getClientForResource_l(callingPid, nonSecureCodec, &clients); in reclaimResource()
505 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
509 getClientForResource_l(callingPid, &temp, &clients); in reclaimResource()
558 int callingPid, MediaResource::Type type, Vector<sp<IResourceManagerClient>> *clients) { in getAllClients_l() argument
564 if (!isCallingPriorityHigher_l(callingPid, mMap.keyAt(i))) { in getAllClients_l()
584 int callingPid, MediaResource::Type type, sp<IResourceManagerClient> *client) { in getLowestPriorityBiggestClient_l() argument
588 if (!mProcessInfo->getPriority(callingPid, &callingPriority)) { in getLowestPriorityBiggestClient_l()
590 callingPid); in getLowestPriorityBiggestClient_l()
641 bool ResourceManagerService::isCallingPriorityHigher_l(int callingPid, int pid) { in isCallingPriorityHigher_l() argument
643 if (!mProcessInfo->getPriority(callingPid, &callingPidPriority)) { in isCallingPriorityHigher_l()