Home
last modified time | relevance | path

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

/system/core/init/
Dlmkd_service.h29 static const int DEFAULT_OOM_SCORE_ADJUST = MIN_OOM_SCORE_ADJUST; variable
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()
Dlmkd_service.cpp84 if (svc->oom_score_adjust() != DEFAULT_OOM_SCORE_ADJUST) { in RegisterServices()
Dservice.cpp155 oom_score_adjust_(DEFAULT_OOM_SCORE_ADJUST),
214 if (oom_score_adjust_ != DEFAULT_OOM_SCORE_ADJUST) { in KillProcessGroup()
555 if (oom_score_adjust_ != DEFAULT_OOM_SCORE_ADJUST) { in Start()
616 if (oom_score_adjust_ != DEFAULT_OOM_SCORE_ADJUST) { in Start()
Dinit.cpp759 WriteFile("/proc/1/oom_score_adj", StringPrintf("%d", DEFAULT_OOM_SCORE_ADJUST)); in SecondStageMain()
761 LOG(ERROR) << "Unable to write " << DEFAULT_OOM_SCORE_ADJUST in SecondStageMain()