Home
last modified time | relevance | path

Searched refs:GetUserMemcg (Results 1 – 5 of 5) sorted by relevance

/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_strategy_manager/
Dmemcg_mgr.cpp67 UserMemcg* MemcgMgr::GetUserMemcg(unsigned int userId) in GetUserMemcg() function in OHOS::Memory::MemcgMgr
92 UserMemcg* memcg = GetUserMemcg(userId); in RemoveUserMemcg()
101 return GetUserMemcg(userId) == nullptr; in RemoveUserMemcg()
106 UserMemcg* memcg = GetUserMemcg(userId); in UpdateMemcgScoreAndReclaimRatios()
120 UserMemcg* memcg = GetUserMemcg(userId); in AddProcToMemcg()
134 UserMemcg* memcg = GetUserMemcg(userId); in SwapInMemcg()
143 UserMemcg* memcg = GetUserMemcg(userId); in GetMemcgSwapInfo()
153 UserMemcg* memcg = GetUserMemcg(userId); in GetMemcgMemInfo()
Dreclaim_strategy_manager.cpp164 if (MemcgMgr::GetInstance().GetUserMemcg(accountId) == nullptr) { in HandleAccountPriorityChanged_()
/foundation/resourceschedule/memmgr/test/unittest/phone/
Dmemcg_mgr_test.cpp70 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(memcgId) == nullptr, true);
76 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(memcgId) == nullptr, true);
78 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(memcgId) != nullptr, true);
80 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(memcgId) == nullptr, true);
88 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(memcgId) == nullptr, true);
105 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(memcgId) != nullptr, true);
Dreclaim_strategy_manager_test.cpp86 UserMemcg* memcg = MemcgMgr::GetInstance().GetUserMemcg(userId);
91 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(userId) == nullptr, true);
104 EXPECT_EQ(MemcgMgr::GetInstance().GetUserMemcg(userId) == nullptr, true);
110 UserMemcg* memcg = MemcgMgr::GetInstance().GetUserMemcg(userId);
137 UserMemcg* memcg = MemcgMgr::GetInstance().GetUserMemcg(userId);
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_strategy_manager/
Dmemcg_mgr.h37 UserMemcg* GetUserMemcg(unsigned int userId);