Searched refs:GetUserMemcg (Results 1 – 5 of 5) sorted by relevance
67 UserMemcg* MemcgMgr::GetUserMemcg(unsigned int userId) in GetUserMemcg() function in OHOS::Memory::MemcgMgr92 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()
164 if (MemcgMgr::GetInstance().GetUserMemcg(accountId) == nullptr) { in HandleAccountPriorityChanged_()
70 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);
86 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);
37 UserMemcg* GetUserMemcg(unsigned int userId);