Searched refs:oomadj (Results 1 – 8 of 8) sorted by relevance
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 187 int oomadj; member 243 data->oomadj = OOM_ADJ_MAX; in runMemStressTest() 244 while (data->oomadj >= OOM_ADJ_MIN) { in runMemStressTest() 254 params.oomadj = data->oomadj; in runMemStressTest() 269 data->oomadj -= OOM_ADJ_STEP; in runMemStressTest() 275 << data->oomadj; in runMemStressTest()
|
D | lmkd_tests.cpp | 100 void SetupChild(pid_t pid, int oomadj) { in SetupChild() argument 105 params.oomadj = oomadj; in SetupChild()
|
/system/memory/lmkd/ |
D | lmkd.cpp | 512 int oomadj; member 925 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot() 1127 if (params.oomadj < OOM_SCORE_ADJ_MIN || in cmd_procprio() 1128 params.oomadj > OOM_SCORE_ADJ_MAX) { in cmd_procprio() 1129 ALOGE("Invalid PROCPRIO oomadj argument %d", params.oomadj); in cmd_procprio() 1151 snprintf(val, sizeof(val), "%d", params.oomadj); in cmd_procprio() 1166 if (params.oomadj >= 900) { in cmd_procprio() 1168 } else if (params.oomadj >= 800) { in cmd_procprio() 1170 } else if (params.oomadj >= 700) { in cmd_procprio() 1172 } else if (params.oomadj >= 600) { in cmd_procprio() [all …]
|
/system/memory/lmkd/include/ |
D | lmkd.h | 107 int oomadj; member 119 params->oomadj = ntohl(packet[3]); in lmkd_pack_get_procprio() 132 packet[3] = htonl(params->oomadj); in lmkd_pack_set_procprio()
|
/system/memory/libmeminfo/libsmapinfo/include/ |
D | processrecord.h | 45 int32_t oomadj() const { return oomadj_; } in oomadj() function
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 139 static void write_oomadj_to_lmkd(int oomadj) { in write_oomadj_to_lmkd() argument 156 lmk_procprio_cmd[3] = htonl(oomadj); in write_oomadj_to_lmkd()
|
/system/core/init/ |
D | lmkd_service.cpp | 50 params.oomadj = oom_score_adjust; in RegisterProcess()
|
/system/memory/libmeminfo/libsmapinfo/ |
D | smapinfo.cpp | 108 proc_sort = [](ProcessRecord& a, ProcessRecord& b) { return a.oomadj() > b.oomadj(); }; in select_sort() 239 out << StringPrintf("%5d ", proc.oomadj()); in print_processrecord() 419 oomadj_ = proc.oomadj(); in LibProcRecord() 429 int32_t oomadj() const { return oomadj_; } in oomadj() function 482 proc_sort = [](LibProcRecord& a, LibProcRecord& b) { return a.oomadj() > b.oomadj(); }; in select_sort() 641 out << std::setw(7) << p.oomadj() << " "; in print_proc_as_raw() 663 out << ",\"Oom\":" << p.oomadj(); in print_proc_as_json() 685 out << "," << p.oomadj(); in print_proc_as_csv()
|