Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.c134 run_command("UPTIME", 10, "uptime", NULL); in dumpstate()
137 run_command("CPU INFO", 10, "top", "-n", "1", "-d", "1", "-m", "30", "-t", NULL); in dumpstate()
138 run_command("PROCRANK", 20, "procrank", NULL); in dumpstate()
153 run_command("PROCESSES", 10, "ps", "-P", NULL); in dumpstate()
154 run_command("PROCESSES AND THREADS", 10, "ps", "-t", "-p", "-P", NULL); in dumpstate()
155 run_command("PROCESSES (SELINUX LABELS)", 10, "ps", "-Z", NULL); in dumpstate()
156 run_command("LIBRANK", 10, "librank", NULL); in dumpstate()
160 run_command("LIST OF OPEN FILES", 10, SU_PATH, "root", "lsof", NULL); in dumpstate()
166 run_command(NULL, 10, "/system/bin/screencap", "-p", screenshot_path, NULL); in dumpstate()
171 run_command("SYSTEM LOG", 20, "logcat", "-v", "threadtime", "-d", "*:v", NULL); in dumpstate()
[all …]
Dutils.c215 run_command(title, 20, SU_PATH, "root", "sqlite3", dbpath, sql, NULL); in do_dump_settings()
250 run_command(title, 10, SU_PATH, "root", "showmap", arg, NULL); in do_showmap()
305 int run_command(const char *title, int timeout_seconds, const char *command, ...) { in run_command() function
684 run_command("ROUTE TABLE IPv4", 10, "ip", "-4", "route", "show", "table", table, NULL); in dump_route_tables()
685 run_command("ROUTE TABLE IPv6", 10, "ip", "-6", "route", "show", "table", table, NULL); in dump_route_tables()
Ddumpstate.h38 int run_command(const char *title, int timeout_seconds, const char *command, ...);