Searched refs:DEFAULT_OOM_SCORE_ADJUST (Results 1 – 6 of 6) sorted by relevance
29 static const int DEFAULT_OOM_SCORE_ADJUST = MIN_OOM_SCORE_ADJUST; variable
53 EXPECT_EQ(DEFAULT_OOM_SCORE_ADJUST, service_in_old_memory->oom_score_adjust()); in TEST()73 EXPECT_EQ(DEFAULT_OOM_SCORE_ADJUST, service_in_old_memory2->oom_score_adjust()); in TEST()
84 if (svc->oom_score_adjust() != DEFAULT_OOM_SCORE_ADJUST) { in RegisterServices()
165 oom_score_adjust_(DEFAULT_OOM_SCORE_ADJUST),224 if (oom_score_adjust_ != DEFAULT_OOM_SCORE_ADJUST) { in KillProcessGroup()691 if (oom_score_adjust_ != DEFAULT_OOM_SCORE_ADJUST) { in Start()729 if (oom_score_adjust_ != DEFAULT_OOM_SCORE_ADJUST) { in Start()
347 std::string oom_str = std::to_string(DEFAULT_OOM_SCORE_ADJUST); in RelaunchFirstStageSnapuserd()
949 WriteFile("/proc/1/oom_score_adj", StringPrintf("%d", DEFAULT_OOM_SCORE_ADJUST)); in SecondStageMain()951 LOG(ERROR) << "Unable to write " << DEFAULT_OOM_SCORE_ADJUST in SecondStageMain()