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()
268 data->oomadj -= OOM_ADJ_STEP; in runMemStressTest()
274 << data->oomadj; in runMemStressTest()
/system/memory/lmkd/
Dlmkd.cpp498 int oomadj; member
853 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot()
1041 if (params.oomadj < OOM_SCORE_ADJ_MIN || in cmd_procprio()
1042 params.oomadj > OOM_SCORE_ADJ_MAX) { in cmd_procprio()
1043 ALOGE("Invalid PROCPRIO oomadj argument %d", params.oomadj); in cmd_procprio()
1064 snprintf(val, sizeof(val), "%d", params.oomadj); in cmd_procprio()
1079 if (params.oomadj >= 900) { in cmd_procprio()
1081 } else if (params.oomadj >= 800) { in cmd_procprio()
1083 } else if (params.oomadj >= 700) { in cmd_procprio()
1085 } 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()