Searched refs:resourceRequestInfo (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/services/mediaresourcemanager/ |
D | DefaultResourceModel.cpp | 47 ResourceRequestInfo resourceRequestInfo{reclimRequestInfo.mCallingPid, in getAllClients() local 57 if (!mResourceTracker->getNonConflictingClients(resourceRequestInfo, clients)) { in getAllClients() 67 if (!mResourceTracker->getNonConflictingClients(resourceRequestInfo, clients)) { in getAllClients() 80 if (!mResourceTracker->getNonConflictingClients(resourceRequestInfo, clients)) { in getAllClients() 109 return mResourceTracker->getAllClients(resourceRequestInfo, clients); in getAllClients() 121 ResourceRequestInfo resourceRequestInfo{reclimRequestInfo.mCallingPid, in getCodecClients() local 131 mResourceTracker->getAllClients(resourceRequestInfo, clients, primarySubType); in getCodecClients() 137 mResourceTracker->getAllClients(resourceRequestInfo, clients); in getCodecClients() 144 mResourceTracker->getAllClients(resourceRequestInfo, clients); in getCodecClients()
|
D | ResourceManagerService.cpp | 462 const ResourceRequestInfo& resourceRequestInfo, in getClientForResource_l() argument 464 int callingPid = resourceRequestInfo.mCallingPid; in getClientForResource_l() 465 const MediaResourceParcel* res = resourceRequestInfo.mResource; in getClientForResource_l() 479 if (getLowestPriorityBiggestClient_l(resourceRequestInfo, clientInfo)) { in getClientForResource_l() 524 ResourceRequestInfo resourceRequestInfo{callingPid, clientId, &mediaResource}; in getTargetClients() local 526 if (!getAllClients_l(resourceRequestInfo, targetClients)) { in getTargetClients() 532 if (!getAllClients_l(resourceRequestInfo, targetClients)) { in getTargetClients() 541 ResourceRequestInfo resourceRequestInfo{callingPid, clientId, &mediaResource}; in getTargetClients() local 542 if (!getAllClients_l(resourceRequestInfo, targetClients)) { in getTargetClients() 549 ResourceRequestInfo resourceRequestInfo{callingPid, clientId, drmSession}; in getTargetClients() local [all …]
|
D | ResourceManagerServiceNew.cpp | 294 const ResourceRequestInfo& resourceRequestInfo, in getLowestPriorityBiggestClient_l() argument 297 if (resourceRequestInfo.mResource == nullptr) { in getLowestPriorityBiggestClient_l() 302 std::vector<MediaResourceParcel> resources{*resourceRequestInfo.mResource}; in getLowestPriorityBiggestClient_l() 303 ReclaimRequestInfo reclaimRequestInfo{resourceRequestInfo.mCallingPid, in getLowestPriorityBiggestClient_l() 304 resourceRequestInfo.mClientId, in getLowestPriorityBiggestClient_l() 338 const ResourceRequestInfo& resourceRequestInfo, in getAllClients_l() argument 341 MediaResource::Type type = resourceRequestInfo.mResource->type; in getAllClients_l() 344 mResourceTracker->getAllClients(resourceRequestInfo, clients); in getAllClients_l() 348 if (!isCallingPriorityHigher_l(resourceRequestInfo.mCallingPid, info.mPid)) { in getAllClients_l()
|
D | ResourceTracker.cpp | 394 bool ResourceTracker::getAllClients(const ResourceRequestInfo& resourceRequestInfo, in getAllClients() argument 397 MediaResource::Type type = resourceRequestInfo.mResource->type; in getAllClients() 398 MediaResource::SubType subType = resourceRequestInfo.mResource->subType; in getAllClients() 712 bool ResourceTracker::getNonConflictingClients(const ResourceRequestInfo& resourceRequestInfo, in getNonConflictingClients() argument 714 MediaResource::Type type = resourceRequestInfo.mResource->type; in getNonConflictingClients() 715 MediaResource::SubType subType = resourceRequestInfo.mResource->subType; in getNonConflictingClients() 718 if (pid == resourceRequestInfo.mCallingPid && id == resourceRequestInfo.mClientId) { in getNonConflictingClients() 724 if (!isCallingPriorityHigher(resourceRequestInfo.mCallingPid, pid)) { in getNonConflictingClients()
|
D | ResourceManagerService.h | 155 void getClientForResource_l(const ResourceRequestInfo& resourceRequestInfo, 184 virtual bool getAllClients_l(const ResourceRequestInfo& resourceRequestInfo, 191 const ResourceRequestInfo& resourceRequestInfo,
|
D | ResourceManagerServiceNew.h | 146 bool getAllClients_l(const ResourceRequestInfo& resourceRequestInfo, 153 const ResourceRequestInfo& resourceRequestInfo,
|
D | ResourceTracker.h | 121 const ResourceRequestInfo& resourceRequestInfo, 206 bool getNonConflictingClients(const ResourceRequestInfo& resourceRequestInfo,
|