Searched refs:run_command (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c298 run_command("UPTIME", 10, "uptime", NULL);
301 run_command("CPU INFO", 10, "top", "-n", "1", "-d", "1", "-m", "30", "-t", NULL);
302 run_command("PROCRANK", 20, "procrank", NULL);
316 run_command("PROCESSES", 10, "ps", "-P", NULL);
317 run_command("PROCESSES AND THREADS", 10, "ps", "-t", "-p", "-P", NULL);
318 run_command("PROCESSES (SELINUX LABELS)", 10, "ps", "-Z", NULL);
319 run_command("LIBRANK", 10, "librank", NULL);
323 run_command("LIST OF OPEN FILES", 10, SU_PATH, "root", "lsof", NULL);
329 run_command(NULL, 10, "/system/bin/screencap", "-p", screenshot_path, NULL);
339 run_command("SYSTE
[all...]
H A Ddumpstate.h49 int run_command(const char *title, int timeout_seconds, const char *command, ...);
H A Dutils.c240 run_command(title, 10, SU_PATH, "root", "showmap", arg, NULL);
443 int run_command(const char *title, int timeout_seconds, const char *command, ...) { function
794 run_command("ROUTE TABLE IPv4", 10, "ip", "-4", "route", "show", "table", table, NULL);
795 run_command("ROUTE TABLE IPv6", 10, "ip", "-6", "route", "show", "table", table, NULL);

Completed in 220 milliseconds