Searched refs:oom_score_adjust (Results 1 – 6 of 6) sorted by relevance
/system/core/init/ |
D | lmkd_service.cpp | 37 static LmkdRegistrationResult RegisterProcess(uid_t uid, pid_t pid, int oom_score_adjust) { in RegisterProcess() argument 50 params.oomadj = oom_score_adjust; in RegisterProcess() 84 if (svc->oom_score_adjust() != DEFAULT_OOM_SCORE_ADJUST) { in RegisterServices() 89 if (RegisterProcess(svc->uid(), svc->pid(), svc->oom_score_adjust()) != in RegisterServices() 98 void LmkdRegister(const std::string& name, uid_t uid, pid_t pid, int oom_score_adjust) { in LmkdRegister() argument 102 result = RegisterProcess(uid, pid, oom_score_adjust); in LmkdRegister() 105 result = RegisterProcess(uid, pid, oom_score_adjust); in LmkdRegister()
|
D | lmkd_service.h | 33 void LmkdRegister(const std::string& name, uid_t uid, pid_t pid, int oom_score_adjust);
|
D | service_test.cpp | 53 EXPECT_EQ(DEFAULT_OOM_SCORE_ADJUST, service_in_old_memory->oom_score_adjust()); in TEST() 72 EXPECT_EQ(DEFAULT_OOM_SCORE_ADJUST, service_in_old_memory2->oom_score_adjust()); in TEST()
|
D | service.h | 122 int oom_score_adjust() const { return oom_score_adjust_; } in oom_score_adjust() function
|
D | README.md | 252 `oom_score_adjust <value>`
|
/system/core/logcat/ |
D | logcatd.rc | 62 oom_score_adjust -600
|