Lines Matching refs:ResourceTracker

69 ResourceTracker::ResourceTracker(const std::shared_ptr<ResourceManagerServiceNew>& service,  in ResourceTracker()  function in android::ResourceTracker
75 ResourceTracker::~ResourceTracker() { in ~ResourceTracker()
78 void ResourceTracker::setResourceObserverService( in setResourceObserverService()
83 ResourceInfos& ResourceTracker::getResourceInfosForEdit(int pid) { in getResourceInfosForEdit()
95 bool ResourceTracker::addResource(const ClientInfoParcel& clientInfo, in addResource()
139 bool ResourceTracker::updateResource(const aidl::android::media::ClientInfoParcel& clientInfo) { in updateResource()
151 bool ResourceTracker::removeResource(const ClientInfoParcel& clientInfo, in removeResource()
201 bool ResourceTracker::removeResource(const ClientInfoParcel& clientInfo, bool validateCallingPid) { in removeResource()
237 std::shared_ptr<IResourceManagerClient> ResourceTracker::getClient( in getClient()
255 bool ResourceTracker::removeClient(int pid, const int64_t& clientId) { in removeClient()
273 bool ResourceTracker::markClientForPendingRemoval(const ClientInfoParcel& clientInfo) { in markClientForPendingRemoval()
301 bool ResourceTracker::getClientsMarkedPendingRemoval(int32_t pid, in getClientsMarkedPendingRemoval()
354 bool ResourceTracker::overridePid(int originalPid, int newPid) { in overridePid()
363 bool ResourceTracker::overrideProcessInfo(const std::shared_ptr<IResourceManagerClient>& client, in overrideProcessInfo()
384 void ResourceTracker::removeProcessInfoOverride(int pid) { in removeProcessInfoOverride()
394 bool ResourceTracker::getAllClients(const ResourceRequestInfo& resourceRequestInfo, in getAllClients()
415 bool ResourceTracker::getLowestPriorityPid(MediaResource::Type type, MediaResource::SubType subType, in getLowestPriorityPid()
450 bool ResourceTracker::getLowestPriorityPid(MediaResource::Type type, MediaResource::SubType subType, in getLowestPriorityPid()
487 bool ResourceTracker::getBiggestClientPendingRemoval(int pid, MediaResource::Type type, in getBiggestClientPendingRemoval()
526 bool ResourceTracker::getBiggestClient(int targetPid, in getBiggestClient()
584 bool ResourceTracker::getLeastImportantBiggestClient(int targetPid, int32_t importance, in getLeastImportantBiggestClient()
645 void ResourceTracker::dump(std::string& resourceLogs) { in dump()
681 void ResourceTracker::onFirstAdded(const MediaResourceParcel& resource, uid_t uid) { in onFirstAdded()
691 void ResourceTracker::onLastRemoved(const MediaResourceParcel& resource, uid_t uid) { in onLastRemoved()
701 bool ResourceTracker::getPriority(int pid, int* priority) { in getPriority()
712 bool ResourceTracker::getNonConflictingClients(const ResourceRequestInfo& resourceRequestInfo, in getNonConflictingClients()
743 const ResourceInfo* ResourceTracker::getResourceInfo(int pid, const int64_t& clientId) const { in getResourceInfo()
760 bool ResourceTracker::isCallingPriorityHigher(int callingPid, int pid) { in isCallingPriorityHigher()