Home
last modified time | relevance | path

Searched refs:max_oomadj (Results 1 – 3 of 3) sorted by relevance

/system/memory/lmkd/include/
Dlmkd.h178 int max_oomadj; member
188 params->max_oomadj = ntohl(packet[2]); in lmkd_pack_get_getkillcnt()
199 packet[2] = htonl(params->max_oomadj); in lmkd_pack_set_getkillcnt()
/system/memory/lmkd/tests/
Dlmkd_tests.cpp316 struct lmk_getkillcnt kill_cnt_req = {.min_oomadj = -1000, .max_oomadj = 1000}; in TEST_F()
/system/memory/lmkd/
Dlmkd.cpp1377 static int get_killcnt(int min_oomadj, int max_oomadj) { in get_killcnt() argument
1381 if (min_oomadj > max_oomadj) in get_killcnt()
1388 while (min_oomadj <= max_oomadj && in get_killcnt()
1410 return get_killcnt(params.min_oomadj, params.max_oomadj); in cmd_getkillcnt()