/device/lge/bullhead/dumpstate/ |
dumpstate.cpp | 24 run_command("SUBSYSTEM TOMBSTONES", 5, SU_PATH, "root", "ls", "-l", "/data/tombstones/ramdump", NULL); 29 run_command("ION HEAPS", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in $(ls $d); do echo --- $d/$f; cat $d/$f; done; done", NULL); 32 run_command("Temperatures", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for f in emmc_therm msm_therm pa_therm0 xo_therm ; do echo -n \"$f : \" ; cat /sys/class/hwmon/hwmon2/device/$f ; done ; for f in `ls /sys/class/thermal` ; do type=`cat /sys/class/thermal/$f/type` ; temp=`cat /sys/class/thermal/$f/temp` ; echo \"$type: $temp\" ; done", NULL); 36 run_command("LITTLE cluster cpuidle", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /sys/devices/system/cpu/cpu0/cpuidle/state*); do echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; done", NULL); 38 run_command("big cluster cpuidle", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /sys/devices/system/cpu/cpu4/cpuidle/state*); do echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; done", NULL);
|
/device/huawei/angler/dumpstate/ |
dumpstate.cpp | 24 run_command("SUBSYSTEM TOMBSTONES", 5, SU_PATH, "root", "ls", "-l", "/data/tombstones/ramdump", NULL); 31 run_command("ION HEAPS", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in $(ls $d); do echo --- $d/$f; cat $d/$f; done; done", NULL); 32 run_command("Temperatures", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for f in die_temp emmc_therm msm_therm pa_therm1 quiet_therm ; do echo -n \"$f : \" ; cat /sys/class/hwmon/hwmon1/device/$f ; done ; for f in `ls /sys/class/thermal` ; do type=`cat /sys/class/thermal/$f/type` ; temp=`cat /sys/class/thermal/$f/temp` ; echo \"$type: $temp\" ; done", NULL); 36 run_command("LITTLE cluster cpuidle", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /sys/devices/system/cpu/cpu0/cpuidle/state*); do echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; done", NULL); 38 run_command("big cluster cpuidle", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /sys/devices/system/cpu/cpu4/cpuidle/state*); do echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; done", NULL); 40 run_command("Battery:", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for f in 1 2 3 4 5 6 7 8; do echo $f > /sys/class/power_supply/bms/cycle_count_id; echo \"$f: `cat /sys/class/power_supply/bms/cycle_count`\"; done", NULL);
|
/device/google/marlin/dumpstate/ |
dumpstate.cpp | 33 run_command("ION HEAPS", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in $(ls $d); do echo --- $d/$f; cat $d/$f; done; done", NULL); 35 run_command("Temperatures", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for f in `ls /sys/class/thermal` ; do type=`cat /sys/class/thermal/$f/type` ; temp=`cat /sys/class/thermal/$f/temp` ; echo \"$type: $temp\" ; done", NULL); 37 run_command("cpu0-1 cpuidle", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /sys/devices/system/cpu/cpu0/cpuidle/state*); do echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; done", NULL); 39 run_command("cpu2-3 cpuidle", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for d in $(ls -d /sys/devices/system/cpu/cpu2/cpuidle/state*); do echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; done", NULL); 52 run_command("SMLOG DUMP", 30, SU_PATH, "root", "smlog_dump", "-d", NULL); 58 run_command("FP LOGS", 10, "qsee_logger", "-d", NULL);
|
/device/moto/shamu/dumpstate/ |
dumpstate.cpp | 44 run_command("Subsystem Tombstone list", 5, SU_PATH, "root", "ls", "-l", "/data/tombstones/ramdump", NULL); 45 run_command("ION CLIENTS", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for f in $(ls /d/ion/clients/*); do echo $f; cat $f; done", NULL); 46 run_command("ION HEAPS", 5, SU_PATH, "root", "/system/bin/sh", "-c", "for f in $(ls /d/ion/heaps/*); do echo $f; cat $f; done", NULL);
|
/bootable/recovery/applypatch/ |
applypatch.sh | 51 run_command() { function 75 run_command df | awk "/$1/ {print gensub(/K/, \"\", \"g\", \$6)}" 82 run_command rm $WORK_DIR/bloat.dat 83 run_command rm $WORK_DIR/old.file 84 run_command rm $WORK_DIR/foo 85 run_command rm $WORK_DIR/patch.bsdiff 86 run_command rm $WORK_DIR/applypatch 87 run_command rm $CACHE_TEMP_SOURCE 88 run_command rm /cache/bloat*.dat 110 run_command $WORK_DIR/applypatch && fai [all...] |
imgdiff_test.sh | 37 run_command() { function 68 run_command rm $WORK_DIR/applypatch 69 run_command rm $WORK_DIR/source 70 run_command rm $WORK_DIR/target 71 run_command rm $WORK_DIR/patch 91 run_command rm /data/local/tmp/target 93 run_command /data/local/tmp/applypatch /data/local/tmp/source \
|
/device/google/dragon/dumpstate/ |
dumpstate.cpp | 27 run_command("FW Version", 5, "fwtool", "vboot", NULL);
|
/frameworks/native/cmds/dumpstate/ |
dumpstate.cpp | 204 if (run_command("SYSTRACE", 120, "/system/bin/atrace", "--async_dump", "-o", 207 // TODO: run_command tries to kill the process, but atrace doesn't die peacefully; ideally, 210 // if (run_command("SYSTRACE", 10, "/system/bin/atrace", "--kill", NULL)) { 242 run_command("RAFT LOGS", 600, "logcompressor", "-r", RAFT_DIR, NULL); 246 run_command("RAFT LOGS", 600, "logcompressor", "-n", "-r", RAFT_DIR, 692 run_command("IPTABLES", 10, "iptables", "-L", "-nvx", NULL); 693 run_command("IP6TABLES", 10, "ip6tables", "-L", "-nvx", NULL); 694 run_command("IPTABLES NAT", 10, "iptables", "-t", "nat", "-L", "-nvx", NULL); 696 run_command("IPTABLES MANGLE", 10, "iptables", "-t", "mangle", "-L", "-nvx", NULL); 697 run_command("IP6TABLES MANGLE", 10, "ip6tables", "-t", "mangle", "-L", "-nvx", NULL) [all...] |
/external/autotest/server/ |
site_host_route.py | 19 output = self.run_command(["ip", "route", "get", self.host]) 49 def run_command(self, args): member in class:LocalHostRoute 61 def run_command(self, args): member in class:RemoteHostRoute
|
/development/testrunner/test_defs/ |
native_test.py | 27 import run_command namespace 71 if run_command.RunHostCommand(f) != 0: 74 if run_command.HasValgrind(): 75 if run_command.RunHostCommand(f, valgrind=True) == 0: 185 return run_command.RunHostCommand(full_path, valgrind=valgrind)
|
host_test.py | 25 import run_command namespace 108 run_command.RunOnce(cmd, return_output=False)
|
gtest.py | 26 import run_command namespace 57 run_command.RunCommand(shell_cmd, return_output=False)
|
/external/autotest/client/cros/faft/utils/ |
shell_wrapper.py | 23 """Helper function of run_command() methods. 36 def run_command(self, cmd, block=True): member in class:LocalShell 104 """Helper function of run_command() methods. 113 self._host_shell.run_command('adb root') 118 def run_command(self, cmd): member in class:AdbShell 166 self._host_shell.run_command(cmd) 174 self._host_shell.run_command(cmd) 180 self._host_shell.run_command(cmd) 183 self._host_shell.run_command(cmd)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/ |
bdist_dumb.py | 86 self.run_command('build') 94 self.run_command('install')
|
install_scripts.py | 45 self.run_command('build_scripts')
|
install_lib.py | 109 self.run_command('build_py') 111 self.run_command('build_ext')
|
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/ |
bdist_dumb.py | 86 self.run_command('build') 94 self.run_command('install')
|
install_scripts.py | 45 self.run_command('build_scripts')
|
install_lib.py | 109 self.run_command('build_py') 111 self.run_command('build_ext')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_dumb.py | 86 self.run_command('build') 94 self.run_command('install')
|
install_scripts.py | 45 self.run_command('build_scripts')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_dumb.py | 86 self.run_command('build') 94 self.run_command('install')
|
install_scripts.py | 45 self.run_command('build_scripts')
|
/external/skia/tools/ |
find_run_binary.py | 14 def run_command(args): function
|
/development/testrunner/ |
runtest.py | 48 import run_command namespace 321 run_command.SetAbortOnError() 323 output = run_command.RunCommand(cmd, return_output=True, timeout_time=600) 329 run_command.RunCommand(alt_cmd, return_output=False, timeout_time=600) 331 output = run_command.RunCommand(cmd, return_output=True, timeout_time=600) 332 run_command.SetAbortOnError(False) 404 output = run_command.RunCommand(cmd, return_output=True) 519 run_command.SetAbortOnError()
|