Home
last modified time | relevance | path

Searched refs:oom_score_adjust (Results 1 – 6 of 6) sorted by relevance

/system/core/init/
Dlmkd_service.cpp37 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()
Dlmkd_service.h33 void LmkdRegister(const std::string& name, uid_t uid, pid_t pid, int oom_score_adjust);
Dservice_test.cpp53 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()
Dservice.h122 int oom_score_adjust() const { return oom_score_adjust_; } in oom_score_adjust() function
DREADME.md255 `oom_score_adjust <value>`
/system/core/logcat/
Dlogcatd.rc62 oom_score_adjust -600