Home
last modified time | relevance | path

Searched refs:mResourceTracker (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/mediaresourcemanager/
DResourceManagerServiceNew.cpp42 mResourceTracker = std::make_shared<ResourceTracker>(ref<ResourceManagerServiceNew>(), in init()
53 mResourceTracker, in setUpResourceModels()
81 mResourceTracker->setResourceObserverService(observerService); in setObserverService()
96 mResourceTracker->addResource(clientInfo, client, resources); in addResource()
113 mResourceTracker->removeResource(clientInfo, resources); in removeResource()
132 if (mResourceTracker->removeResource(clientInfo, checkValid)) { in removeResource()
146 return mResourceTracker->overridePid(originalPid, newPid); in overridePid_l()
158 return mResourceTracker->overrideProcessInfo(client, pid, procState, oomScore); in overrideProcessInfo_l()
172 mResourceTracker->removeProcessInfoOverride(pid); in removeProcessInfoOverride()
184 mResourceTracker->markClientForPendingRemoval(clientInfo); in markClientForPendingRemoval()
[all …]
DDefaultResourceModel.cpp34 mResourceTracker(resourceTracker) { in DefaultResourceModel()
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()
131 mResourceTracker->getAllClients(resourceRequestInfo, clients, primarySubType); in getCodecClients()
137 mResourceTracker->getAllClients(resourceRequestInfo, clients); in getCodecClients()
144 mResourceTracker->getAllClients(resourceRequestInfo, clients); in getCodecClients()
DClientImportanceReclaimPolicy.cpp32 : mResourceTracker(resourceTracker) { in ClientImportanceReclaimPolicy()
55 found = mResourceTracker->getLeastImportantBiggestClient( in getClients()
63 found = mResourceTracker->getLeastImportantBiggestClient( in getClients()
78 if (!mResourceTracker->getLeastImportantBiggestClient( in getClients()
DProcessPriorityReclaimPolicy.cpp32 : mResourceTracker(resourceTracker) { in ProcessPriorityReclaimPolicy()
54 if (!mResourceTracker->getPriority(callingPid, &callingPriority)) { in getClients()
115 if (!mResourceTracker->getLowestPriorityPid(type, subType, primarySubType, clients, in getBiggestClientFromLowestPriority()
131 return mResourceTracker->getBiggestClient(lowestPriorityPid, type, subType, in getBiggestClientFromLowestPriority()
DClientImportanceReclaimPolicy.h59 std::shared_ptr<ResourceTracker> mResourceTracker;
DDefaultResourceModel.h68 std::shared_ptr<ResourceTracker> mResourceTracker; variable
DProcessPriorityReclaimPolicy.h84 std::shared_ptr<ResourceTracker> mResourceTracker;
DResourceManagerServiceNew.h166 std::shared_ptr<ResourceTracker> mResourceTracker;