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

/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp202 if (run_command("SYSTRACE", 120, "/system/bin/atrace", "--async_dump", "-o",
205 // TODO: run_command tries to kill the process, but atrace doesn't die peacefully; ideally,
208 // if (run_command("SYSTRACE", 10, "/system/bin/atrace", "--kill", NULL)) {
630 run_command("IPTABLES", 10, "iptables", "-L", "-nvx", NULL);
631 run_command("IP6TABLES", 10, "ip6tables", "-L", "-nvx", NULL);
632 run_command("IPTABLE NAT", 10, "iptables", "-t", "nat", "-L", "-nvx", NULL);
634 run_command("IPTABLE RAW", 10, "iptables", "-t", "raw", "-L", "-nvx", NULL);
635 run_command("IP6TABLE RAW", 10, "ip6tables", "-t", "raw", "-L", "-nvx", NULL);
643 run_command("UPTIME", 10, "uptime", NULL);
647 run_command("CP
[all...]
H A Ddumpstate.h120 // TODO: need to refactor all those run_command variations; there shold be just one, receiving an
125 int run_command(const char *title, int timeout_seconds, const char *command, ...);
H A Dutils.cpp402 run_command(title, 10, SU_PATH, "root", "showmap", "-q", arg, NULL);
639 int run_command(const char *title, int timeout_seconds, const char *command, ...) { function
1169 run_command("ROUTE TABLE IPv4", 10, "ip", "-4", "route", "show", "table", table, NULL);
1170 run_command("ROUTE TABLE IPv6", 10, "ip", "-6", "route", "show", "table", table, NULL);

Completed in 4511 milliseconds