Lines Matching refs:RunCommand

140 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command,  in RunCommand()  function
143 return ds.RunCommand(title, full_command, options, verbose_duration, out_fd); in RunCommand()
997 RunCommand( in DoKernelLogcat()
1008 RunCommand("SYSTEM LOG", in DoSystemLogcat()
1016 RunCommand( in DoRadioLogcat()
1027 RunCommand("SYSTEM LOG", in DoLogcat()
1031 RunCommand( in DoLogcat()
1036 RunCommand( in DoLogcat()
1043 RunCommand("LAST LOGCAT", {"logcat", "-L", "-b", "all", "-v", "threadtime", "-v", "printable", in DoLogcat()
1132 RunCommand("IPTABLES", {"iptables", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1133 RunCommand("IP6TABLES", {"ip6tables", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1134 RunCommand("IPTABLES NAT", {"iptables", "-t", "nat", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1136 RunCommand("IPTABLES MANGLE", {"iptables", "-t", "mangle", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1137 RunCommand("IP6TABLES MANGLE", {"ip6tables", "-t", "mangle", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1138 RunCommand("IPTABLES RAW", {"iptables", "-t", "raw", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1139 RunCommand("IP6TABLES RAW", {"ip6tables", "-t", "raw", "-L", "-nvx"}); in DumpIpTablesAsRoot()
1157 RunCommand("LPDUMP", {"lpdump", "--all"}); in DumpDynamicPartitionInfo()
1158 RunCommand("DEVICE-MAPPER", {"gsid", "dump-device-mapper"}); in DumpDynamicPartitionInfo()
1203 RunCommand("ANR FILES", {"ls", "-lt", ANR_DIR}); in AddAnrTraceFiles()
1252 RunCommand("NETWORK INTERFACES", {"ip", "-s", "link"}); in DumpIpAddrAndRules()
1253 RunCommand("IPv4 ADDRESSES", {"ip", "-4", "addr", "show"}); in DumpIpAddrAndRules()
1254 RunCommand("IPv6 ADDRESSES", {"ip", "-6", "addr", "show"}); in DumpIpAddrAndRules()
1255 RunCommand("IP RULES", {"ip", "rule", "show"}); in DumpIpAddrAndRules()
1256 RunCommand("IP RULES v6", {"ip", "-6", "rule", "show"}); in DumpIpAddrAndRules()
1421 RunCommand("HARDWARE HALS", {"lshal", "--all", "--types=all"}, in DumpHals()
1543 RunCommand("SYSTEM LOG", in DumpstateLimitedOnly()
1547 RunCommand( in DumpstateLimitedOnly()
1679 RunCommand("UPTIME", {"uptime"}); in dumpstate()
1682 RunCommand("CPU INFO", {"top", "-b", "-n", "1", "-H", "-s", "6", "-o", in dumpstate()
1685 RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK(RunCommand, "BUGREPORT_PROCDUMP", {"bugreport_procdump"}, in dumpstate()
1700 RunCommand("PROCESSES AND THREADS", in dumpstate()
1709 RunCommand("PRINTENV", {"printenv"}); in dumpstate()
1710 RunCommand("NETSTAT", {"netstat", "-nW"}); in dumpstate()
1715 RunCommand("LSMOD", {"lsmod"}); in dumpstate()
1716 RunCommand("MODULES INFO", in dumpstate()
1730 RunCommand("LIST OF OPEN FILES", {"lsof"}, CommandOptions::AS_ROOT); in dumpstate()
1767 RunCommand("ARP CACHE", {"ip", "-4", "neigh", "show"}); in dumpstate()
1768 RunCommand("IPv6 ND CACHE", {"ip", "-6", "neigh", "show"}); in dumpstate()
1769 RunCommand("MULTICAST ADDRESSES", {"ip", "maddr"}); in dumpstate()
1779 RunCommand("SYSTEM PROPERTIES", {"getprop"}); in dumpstate()
1786 RunCommand("ACONFIG FLAGS", {PRINT_FLAGS}, in dumpstate()
1789 RunCommand("STORAGED IO INFO", {"storaged", "-u", "-p"}); in dumpstate()
1791 RunCommand("FILESYSTEMS & FREE SPACE", {"df"}); in dumpstate()
1822 RunCommand("DUMP VENDOR RIL LOGS", {"vril-dump"}, options.Build()); in dumpstate()
1952 RunCommand("IP XFRM POLICY", {"ip", "xfrm", "policy"}, CommandOptions::WithTimeout(10).Build()); in DumpstateDefaultAfterCritical()
1958RunCommand("DETAILED SOCKET STATE", {"ss", "-eionptu"}, CommandOptions::WithTimeout(10).Build()); in DumpstateDefaultAfterCritical()
1961 RunCommand("IOTOP", {"iotop", "-n", "1", "-m", "100"}); in DumpstateDefaultAfterCritical()
1964 RunCommand("Dmabuf dump", {"dmabuf_dump"}); in DumpstateDefaultAfterCritical()
1965 RunCommand("Dmabuf per-buffer/per-exporter/per-device stats", {"dmabuf_dump", "-b"}); in DumpstateDefaultAfterCritical()
1973 RunCommand("SDK EXTENSIONS", {SDK_EXT_INFO, "--dump"}, in DumpstateDefaultAfterCritical()
2079 RunCommand("SYSTEM PROPERTIES", {"getprop"}); in DumpstateTelephonyOnly()
2592 RunCommand("mount debugfs", {"mount", "-t", "debugfs", "debugfs", "/sys/kernel/debug"}, in DumpstateBoard()
2594 RunCommand("chmod debugfs", {"chmod", "0755", "/sys/kernel/debug"}, AS_ROOT_20); in DumpstateBoard()
2669 RunCommand("unmount debugfs", {"umount", "/sys/kernel/debug"}, AS_ROOT_20); in DumpstateBoard()
2784 RunCommand("", am, in SendBroadcast()
2797 RunCommand("", args, in Vibrate()
3527 RunCommand( in MaybeSnapshotSystemTraceAsync()
3570 RunCommand( in MaybeSnapshotUiTraces()
4397 int Dumpstate::RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() function in Dumpstate
4418 RunCommand(title, dumpsys, options, false, out_fd); in RunDumpsys()
4522 RunCommand("ROUTE TABLE IPv4", {"ip", "-4", "route", "show", "table", table}); in dump_route_tables()
4523 RunCommand("ROUTE TABLE IPv6", {"ip", "-6", "route", "show", "table", table}); in dump_route_tables()
4629 RunCommand("", {"/system/bin/screencap", "-p", real_path}, in TakeScreenshot()