Home
last modified time | relevance | path

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

/system/extras/libpagemap/
Dpm_kernel.c65 pid_t pid, *pids, *new_pids; in pm_kernel_pids() local
73 pids = malloc(INIT_PIDS * sizeof(pid_t)); in pm_kernel_pids()
74 if (!pids) { in pm_kernel_pids()
85 new_pids = realloc(pids, 2 * pids_size * sizeof(pid_t)); in pm_kernel_pids()
88 free(pids); in pm_kernel_pids()
92 pids = new_pids; in pm_kernel_pids()
96 pids[pids_count] = pid; in pm_kernel_pids()
103 new_pids = realloc(pids, pids_count * sizeof(pid_t)); in pm_kernel_pids()
106 free(pids); in pm_kernel_pids()
/system/extras/procrank/
Dprocrank.c49 pid_t *pids; in main() local
88 error = pm_kernel_pids(ker, &pids, &num_procs); in main()
106 procs[i]->pid = pids[i]; in main()
107 error = pm_process_create(ker, pids[i], &proc); in main()
122 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]); in main()
127 free(pids); in main()
/system/extras/librank/
Dlibrank.c174 pid_t *pids; in main() local
224 error = pm_kernel_pids(ker, &pids, &num_procs); in main()
231 error = pm_process_create(ker, pids[i], &proc); in main()
233 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]); in main()
237 pi = get_process(pids[i]); in main()
/system/core/adb/
DSERVICES.TXT221 This is used to send the list of JDWP pids periodically to the client.