Home
last modified time | relevance | path

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

/system/memory/lmkd/tests/
Dlmkd_test.cpp186 int oomadj; member
242 data->oomadj = OOM_ADJ_MAX; in runMemStressTest()
243 while (data->oomadj >= OOM_ADJ_MIN) { in runMemStressTest()
253 params.oomadj = data->oomadj; in runMemStressTest()
267 data->oomadj -= OOM_ADJ_STEP; in runMemStressTest()
273 << data->oomadj; in runMemStressTest()
/system/memory/lmkd/
Dlmkd.cpp499 int oomadj; member
864 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot()
1052 if (params.oomadj < OOM_SCORE_ADJ_MIN || in cmd_procprio()
1053 params.oomadj > OOM_SCORE_ADJ_MAX) { in cmd_procprio()
1054 ALOGE("Invalid PROCPRIO oomadj argument %d", params.oomadj); in cmd_procprio()
1075 snprintf(val, sizeof(val), "%d", params.oomadj); in cmd_procprio()
1090 if (params.oomadj >= 900) { in cmd_procprio()
1092 } else if (params.oomadj >= 800) { in cmd_procprio()
1094 } else if (params.oomadj >= 700) { in cmd_procprio()
1096 } else if (params.oomadj >= 600) { in cmd_procprio()
[all …]
/system/memory/lmkd/include/
Dlmkd.h105 int oomadj; member
117 params->oomadj = ntohl(packet[3]); in lmkd_pack_get_procprio()
130 packet[3] = htonl(params->oomadj); in lmkd_pack_set_procprio()
/system/memory/libmeminfo/tools/
Dprocrank.cpp100 int32_t oomadj() const { return oomadj_; } in oomadj() function
229 ss << ::android::base::StringPrintf("%5d ", proc.oomadj()); in print_process_record()
368 return reverse_sort ? a.oomadj() < b.oomadj() : a.oomadj() > b.oomadj(); in main()
/system/core/init/
Dlmkd_service.cpp50 params.oomadj = oom_score_adjust; in RegisterProcess()
/system/extras/alloc-stress/
Dalloc-stress.cpp145 static void write_oomadj_to_lmkd(int oomadj) { in write_oomadj_to_lmkd() argument
163 lmk_procprio_cmd[3] = htonl(oomadj); in write_oomadj_to_lmkd()