Home
last modified time | relevance | path

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

/system/memory/lmkd/include/
Dlmkd.h347 int packetIdx = 1; in lmkd_pack_get_procs_prio() local
349 params->procs[procs_idx].pid = (pid_t)ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio()
350 params->procs[procs_idx].uid = (uid_t)ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio()
351 params->procs[procs_idx].oomadj = ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio()
352 params->procs[procs_idx].ptype = (enum proc_type)ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio()
366 int packetIdx = 1; in lmkd_pack_set_procs_prio() local
369 packet[packetIdx++] = htonl(params->procs[i].pid); in lmkd_pack_set_procs_prio()
370 packet[packetIdx++] = htonl(params->procs[i].uid); in lmkd_pack_set_procs_prio()
371 packet[packetIdx++] = htonl(params->procs[i].oomadj); in lmkd_pack_set_procs_prio()
372 packet[packetIdx++] = htonl((int)params->procs[i].ptype); in lmkd_pack_set_procs_prio()
[all …]