Lines Matching refs:MemMgrService
42 const std::string TAG = "MemMgrService";
47 IMPLEMENT_SINGLE_INSTANCE(MemMgrService);
48 const bool REGISTER_RESULT = SystemAbility::MakeAndRegisterAbility(&MemMgrService::GetInstance());
50 MemMgrService::MemMgrService() : SystemAbility(MEMORY_MANAGER_SA_ID, true)
54 bool MemMgrService::Init()
90 void MemMgrService::OnStart()
112 void MemMgrService::OnStop()
119 int32_t MemMgrService::GetBundlePriorityList(BundlePriorityList &bundlePrioList)
133 int32_t MemMgrService::NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected)
149 int32_t MemMgrService::GetKillLevelOfLmkd(int32_t &killLevel)
157 int32_t MemMgrService::RegisterActiveApps(int32_t pid, int32_t uid)
164 int32_t MemMgrService::DeregisterActiveApps(int32_t pid, int32_t uid)
171 int32_t MemMgrService::SubscribeAppState(const sptr<IAppStateSubscriber> &subscriber)
178 int32_t MemMgrService::UnsubscribeAppState(const sptr<IAppStateSubscriber> &subscriber)
185 int32_t MemMgrService::GetAvailableMemory(int32_t &memSize)
195 int32_t MemMgrService::GetTotalMemory(int32_t &memSize)
206 void MemMgrService::OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId)
212 int32_t MemMgrService::OnWindowVisibilityChanged(const std::vector<sptr<MemMgrWindowInfo>> &MemMgrWindowInfo)
225 int32_t MemMgrService::GetReclaimPriorityByPid(int32_t pid, int32_t &priority)
249 int32_t MemMgrService::NotifyProcessStateChangedSync(const MemMgrProcessStateInfo &processStateInfo)
267 int32_t MemMgrService::NotifyProcessStateChangedAsync(const MemMgrProcessStateInfo &processStateInfo)
285 int32_t MemMgrService::NotifyProcessStatus(int32_t pid, int32_t type, int32_t status, int32_t saId)
292 int32_t MemMgrService::SetCritical(int32_t pid, bool critical, int32_t saId)
298 void MemMgrService::OnRemoveSystemAbility(int32_t systemAbilityId, const std::string& deviceId)
335 bool MemMgrService::AllowDump()
350 int MemMgrService::Dump(int fd, const std::vector<std::u16string> &args)