Lines Matching refs:RunCommand
131 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function
134 return ds.RunCommand(title, full_command, options, verbose_duration, out_fd); in RunCommand()
983 RunCommand( in DoKernelLogcat()
994 RunCommand("SYSTEM LOG", in DoSystemLogcat()
1002 RunCommand( in DoRadioLogcat()
1013 RunCommand("SYSTEM LOG", in DoLogcat()
1017 RunCommand( in DoLogcat()
1022 RunCommand( in DoLogcat()
1028 RunCommand("LOG STATISTICS", {"logcat", "-b", "all", "-S"}); in DoLogcat()
1031 RunCommand("LAST LOGCAT", {"logcat", "-L", "-b", "all", "-v", "threadtime", "-v", "printable", in DoLogcat()
1105 RunCommand("IPTABLES", {"iptables", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1106 RunCommand("IP6TABLES", {"ip6tables", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1107 RunCommand("IPTABLES NAT", {"iptables", "-t", "nat", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1109 RunCommand("IPTABLES MANGLE", {"iptables", "-t", "mangle", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1110 RunCommand("IP6TABLES MANGLE", {"ip6tables", "-t", "mangle", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1111 RunCommand("IPTABLES RAW", {"iptables", "-t", "raw", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1112 RunCommand("IP6TABLES RAW", {"ip6tables", "-t", "raw", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1120 RunCommand("LPDUMP", {"lpdump", "--all"}); in DumpDynamicPartitionInfo()
1121 RunCommand("DEVICE-MAPPER", {"gsid", "dump-device-mapper"}); in DumpDynamicPartitionInfo()
1170 RunCommand("ANR FILES", {"ls", "-lt", ANR_DIR}); in AddAnrTraceFiles()
1219 RunCommand("NETWORK INTERFACES", {"ip", "link"}); in DumpIpAddrAndRules()
1220 RunCommand("IPv4 ADDRESSES", {"ip", "-4", "addr", "show"}); in DumpIpAddrAndRules()
1221 RunCommand("IPv6 ADDRESSES", {"ip", "-6", "addr", "show"}); in DumpIpAddrAndRules()
1222 RunCommand("IP RULES", {"ip", "rule", "show"}); in DumpIpAddrAndRules()
1223 RunCommand("IP RULES v6", {"ip", "-6", "rule", "show"}); in DumpIpAddrAndRules()
1381 RunCommand("HARDWARE HALS", {"lshal", "--all", "--types=all", "--debug"}, in DumpHals()
1386 RunCommand("HARDWARE HALS", {"lshal", "--all", "--types=all"}, in DumpHals()
1489 RunCommand("SYSTEM LOG", in DumpstateLimitedOnly()
1493 RunCommand( in DumpstateLimitedOnly()
1612 RunCommand("UPTIME", {"uptime"}); in dumpstate()
1615 RunCommand("CPU INFO", {"top", "-b", "-n", "1", "-H", "-s", "6", "-o", in dumpstate()
1618 RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK(RunCommand, "PROCRANK", {"procrank"}, AS_ROOT_20); in dumpstate()
1633 RunCommand("PROCESSES AND THREADS", in dumpstate()
1636 RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK(RunCommand, "LIBRANK", {"librank"}, in dumpstate()
1645 RunCommand("PRINTENV", {"printenv"}); in dumpstate()
1646 RunCommand("NETSTAT", {"netstat", "-nW"}); in dumpstate()
1651 RunCommand("LSMOD", {"lsmod"}); in dumpstate()
1652 RunCommand("MODULES INFO", in dumpstate()
1664 RunCommand("LIST OF OPEN FILES", {"lsof"}, CommandOptions::AS_ROOT); in dumpstate()
1701 RunCommand("ARP CACHE", {"ip", "-4", "neigh", "show"}); in dumpstate()
1702 RunCommand("IPv6 ND CACHE", {"ip", "-6", "neigh", "show"}); in dumpstate()
1703 RunCommand("MULTICAST ADDRESSES", {"ip", "maddr"}); in dumpstate()
1713 RunCommand("SYSTEM PROPERTIES", {"getprop"}); in dumpstate()
1715 RunCommand("STORAGED IO INFO", {"storaged", "-u", "-p"}); in dumpstate()
1717 RunCommand("FILESYSTEMS & FREE SPACE", {"df"}); in dumpstate()
1753 RunCommand("DUMP VENDOR RIL LOGS", {"vril-dump"}, options.Build()); in dumpstate()
1858 RunCommand("IP XFRM POLICY", {"ip", "xfrm", "policy"}, CommandOptions::WithTimeout(10).Build()); in DumpstateDefaultAfterCritical()
1864 … RunCommand("DETAILED SOCKET STATE", {"ss", "-eionptu"}, CommandOptions::WithTimeout(10).Build()); in DumpstateDefaultAfterCritical()
1867 RunCommand("IOTOP", {"iotop", "-n", "1", "-m", "100"}); in DumpstateDefaultAfterCritical()
1870 RunCommand("Dmabuf dump", {"dmabuf_dump"}); in DumpstateDefaultAfterCritical()
1871 RunCommand("Dmabuf per-buffer/per-exporter/per-device stats", {"dmabuf_dump", "-b"}); in DumpstateDefaultAfterCritical()
1975 RunCommand("SYSTEM PROPERTIES", {"getprop"}); in DumpstateTelephonyOnly()
2212 RunCommand("mount debugfs", {"mount", "-t", "debugfs", "debugfs", "/sys/kernel/debug"}, in DumpstateBoard()
2214 RunCommand("chmod debugfs", {"chmod", "0755", "/sys/kernel/debug"}, in DumpstateBoard()
2321 RunCommand("unmount debugfs", {"umount", "/sys/kernel/debug"}, AS_ROOT_20); in DumpstateBoard()
2434 RunCommand("", am, in SendBroadcast()
2447 RunCommand("", args, in Vibrate()
3045 int res = RunCommand( in MaybeSnapshotSystemTrace()
3060 RunCommand( in MaybeSnapshotWinTrace()
3757 RunCommand(title, {"showmap", "-q", arg}, CommandOptions::AS_ROOT); in do_showmap()
3879 int Dumpstate::RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function in Dumpstate
3900 RunCommand(title, dumpsys, options, false, out_fd); in RunDumpsys()
4004 RunCommand("ROUTE TABLE IPv4", {"ip", "-4", "route", "show", "table", table}); in dump_route_tables()
4005 RunCommand("ROUTE TABLE IPv6", {"ip", "-6", "route", "show", "table", table}); in dump_route_tables()
4058 RunCommand("", {"/system/bin/screencap", "-p", real_path}, in TakeScreenshot()