Lines Matching refs:ResourceManagerService

43 void ResourceManagerService::getResourceDump(std::string& resourceLog) const {  in getResourceDump()
89 binder_status_t ResourceManagerService::dump(int fd, const char** /*args*/, uint32_t /*numArgs*/) { in dump()
147 struct SystemCallbackImpl : public ResourceManagerService::SystemCallbackInterface {
171 ResourceManagerService::ResourceManagerService() in ResourceManagerService() function in android::ResourceManagerService
172 : ResourceManagerService(new ProcessInfo(), new SystemCallbackImpl()) {} in ResourceManagerService()
174 ResourceManagerService::ResourceManagerService(const sp<ProcessInfoInterface> &processInfo, in ResourceManagerService() function in android::ResourceManagerService
188 void ResourceManagerService::instantiate() { in instantiate()
189 std::shared_ptr<ResourceManagerService> service = Create(); in instantiate()
210 std::shared_ptr<ResourceManagerService> ResourceManagerService::Create() { in Create()
214 std::shared_ptr<ResourceManagerService> ResourceManagerService::Create( in Create()
217 std::shared_ptr<ResourceManagerService> service = nullptr; in Create()
223 service = ::ndk::SharedRefBase::make<ResourceManagerService>(processInfo, in Create()
235 std::shared_ptr<ResourceManagerService> ResourceManagerService::CreateNew( in CreateNew()
238 std::shared_ptr<ResourceManagerService> service = in CreateNew()
244 void ResourceManagerService::init() {} in init()
246 ResourceManagerService::~ResourceManagerService() {} in ~ResourceManagerService()
248 void ResourceManagerService::setObserverService( in setObserverService()
253 Status ResourceManagerService::config(const std::vector<MediaResourcePolicyParcel>& policies) { in config()
270 void ResourceManagerService::onFirstAdded(const MediaResourceParcel& resource, uid_t uid) { in onFirstAdded()
288 void ResourceManagerService::onLastRemoved(const MediaResourceParcel& resource, uid_t uid) { in onLastRemoved()
302 Status ResourceManagerService::addResource(const ClientInfoParcel& clientInfo, in addResource()
345 client, ref<ResourceManagerService>(), clientInfo); in addResource()
355 Status ResourceManagerService::removeResource(const ClientInfoParcel& clientInfo, in removeResource()
412 Status ResourceManagerService::removeClient(const ClientInfoParcel& clientInfo) { in removeClient()
417 Status ResourceManagerService::removeResource(const ClientInfoParcel& clientInfo, bool checkValid) { in removeResource()
461 void ResourceManagerService::getClientForResource_l( in getClientForResource_l()
484 bool ResourceManagerService::getTargetClients( in getTargetClients()
591 Status ResourceManagerService::reclaimResource(const ClientInfoParcel& clientInfo, in reclaimResource()
622 void ResourceManagerService::pushReclaimAtom(const ClientInfoParcel& clientInfo, in pushReclaimAtom()
639 std::shared_ptr<IResourceManagerClient> ResourceManagerService::getClient_l( in getClient_l()
657 bool ResourceManagerService::removeClient_l(int pid, const int64_t& clientId) { in removeClient_l()
675 bool ResourceManagerService::reclaimUnconditionallyFrom( in reclaimUnconditionallyFrom()
721 bool ResourceManagerService::overridePid_l(int32_t originalPid, int32_t newPid) { in overridePid_l()
731 Status ResourceManagerService::overridePid(int originalPid, int newPid) { in overridePid()
758 bool ResourceManagerService::overrideProcessInfo_l( in overrideProcessInfo_l()
775 client, ref<ResourceManagerService>(), clientInfo, true); in overrideProcessInfo_l()
781 Status ResourceManagerService::overrideProcessInfo( in overrideProcessInfo()
809 void ResourceManagerService::removeProcessInfoOverride(int pid) { in removeProcessInfoOverride()
815 void ResourceManagerService::removeProcessInfoOverride_l(int pid) { in removeProcessInfoOverride_l()
825 Status ResourceManagerService::markClientForPendingRemoval(const ClientInfoParcel& clientInfo) { in markClientForPendingRemoval()
859 Status ResourceManagerService::reclaimResourcesFromClientsPendingRemoval(int32_t pid) { in reclaimResourcesFromClientsPendingRemoval()
912 bool ResourceManagerService::getPriority_l(int pid, int* priority) const { in getPriority_l()
925 bool ResourceManagerService::getAllClients_l( in getAllClients_l()
960 bool ResourceManagerService::getLowestPriorityBiggestClient_l( in getLowestPriorityBiggestClient_l()
992 bool ResourceManagerService::getLowestPriorityPid_l(MediaResource::Type type, in getLowestPriorityPid_l()
1024 bool ResourceManagerService::isCallingPriorityHigher_l(int callingPid, int pid) { in isCallingPriorityHigher_l()
1038 bool ResourceManagerService::getBiggestClientPendingRemoval_l(int pid, MediaResource::Type type, in getBiggestClientPendingRemoval_l()
1043 bool ResourceManagerService::getBiggestClient_l(int pid, MediaResource::Type type, in getBiggestClient_l()
1085 Status ResourceManagerService::notifyClientCreated(const ClientInfoParcel& clientInfo) { in notifyClientCreated()
1090 Status ResourceManagerService::notifyClientStarted(const ClientConfigParcel& clientConfig) { in notifyClientStarted()
1095 Status ResourceManagerService::notifyClientStopped(const ClientConfigParcel& clientConfig) { in notifyClientStopped()
1100 Status ResourceManagerService::notifyClientConfigChanged(const ClientConfigParcel& clientConfig) { in notifyClientConfigChanged()
1105 long ResourceManagerService::getPeakConcurrentPixelCount(int pid) const { in getPeakConcurrentPixelCount()
1109 long ResourceManagerService::getCurrentConcurrentPixelCount(int pid) const { in getCurrentConcurrentPixelCount()
1113 void ResourceManagerService::notifyClientReleased(const ClientInfoParcel& clientInfo) { in notifyClientReleased()