/system/extras/simpleperf/scripts/test/ |
D | app_test.py | 94 self.run_cmd(args) 146 self.run_cmd(["app_profiler.py", "-h"]) 153 self.run_cmd(args) 161 self.run_cmd(["report.py", "-h"]) 162 self.run_cmd(["report.py"]) 163 self.run_cmd(["report.py", "-i", "perf.data"]) 164 self.run_cmd(["report.py", "-g"]) 165 self.run_cmd(["report.py", "--self-kill-for-testing", "-g", "--gui"]) 168 self.run_cmd(["annotate.py", "-h"]) 170 self.run_cmd(["annotate.py", "-s", self.example_path]) [all …]
|
D | java_app_test.py | 40 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 52 self.run_cmd(["report.py", "-o", "report.txt"]) 68 self.run_cmd(["report.py"]) 80 self.run_cmd(["report.py"]) 84 self.run_cmd(['app_profiler.py', '--app', self.package_name, '-a', self.activity_name, 89 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 100 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 137 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 140 self.run_cmd([INFERNO_SCRIPT, "-sc", "-o", "report2.html"]) 149 self.run_cmd(['app_profiler.py', '--app', self.package_name, [all …]
|
D | cpp_app_test.py | 36 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 41 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 71 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 76 self.run_cmd(['report_html.py', '--add_source_code', '--source_dirs', 'testdata', 101 self.run_cmd(["report.py", "-g", "--comms", "SleepThread", "-o", "report.txt"]) 107 self.run_cmd(["annotate.py", "-s", self.example_path, "--comm", "SleepThread"]) 118 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 133 self.run_cmd(["report.py", "-g", "--comms", "BusyThread", "-o", "report.txt"]) 138 self.run_cmd(["annotate.py", "-s", self.example_path, "--comm", "BusyThread"]) 152 self.run_cmd([INFERNO_SCRIPT, "-sc"])
|
D | app_profiler_test.py | 30 self.run_cmd(["app_profiler.py", "-cmd", "pm -l", "--disable_adb_root"]) 31 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 36 self.run_cmd(["app_profiler.py", "-np", "surfaceflinger"]) 37 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 38 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 39 self.run_cmd([INFERNO_SCRIPT, "-np", "surfaceflinger"]) 45 self.run_cmd(['app_profiler.py', '--pid', str(pid), '-r', '--duration 1']) 46 self.run_cmd(['app_profiler.py', '--pid', str(pid), str(pid), '-r', '--duration 1']) 47 self.run_cmd(['app_profiler.py', '--tid', str(pid), '-r', '--duration 1']) 48 self.run_cmd(['app_profiler.py', '--tid', str(pid), str(pid), '-r', '--duration 1']) [all …]
|
D | kotlin_app_test.py | 36 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 43 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 80 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 109 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 119 self.run_cmd(["annotate.py", "-s", self.example_path]) 131 self.run_cmd([INFERNO_SCRIPT, "-sc"])
|
D | api_profiler_test.py | 31 self.run_cmd(['api_profiler.py', 'prepare']) 48 self.run_cmd(['api_profiler.py', 'collect', '-p', package_name, '-o', 'simpleperf_data']) 55 self.run_cmd(['report.py', '-g', '-o', 'report.txt', '-i', path])
|
D | run_simpleperf_on_device_test.py | 22 self.run_cmd(['run_simpleperf_on_device.py', 'list', '--show-features'])
|
D | pprof_proto_generator_test.py | 29 self.run_cmd(['pprof_proto_generator.py', '-i', testdata_path] + options) 30 return self.run_cmd(['pprof_proto_generator.py', '--show'], return_output=True) 35 self.run_cmd(['pprof_proto_generator.py', '-i'] + testdata_paths + options)
|
D | inferno_test.py | 26 self.run_cmd([INFERNO_SCRIPT] + options)
|
D | purgatorio_test.py | 31 self.run_cmd([self.script_path, '-d', '-o', 'report.html'] + options)
|
D | binary_cache_builder_test.py | 46 self.run_cmd([strip, '--strip-all', '-o', source_file, origin_file]) 51 self.run_cmd([strip, '--strip-debug', '-o', source_file, origin_file])
|
D | report_html_test.py | 27 self.run_cmd(['report_html.py', '-i', 88 self.run_cmd(args)
|
D | debug_unwind_reporter_test.py | 25 return self.run_cmd(['debug_unwind_reporter.py', '-i',
|
D | test_utils.py | 151 def run_cmd(self, args: List[str], return_output=False, drop_output=True) -> str: member in TestBase
|
/system/libfmq/tests/ |
D | fmq_test.py | 21 def run_cmd(cmd, ignore_error=False): function 35 run_cmd("adb shell killall %s >/dev/null 2>&1" % client, ignore_error=True) 36 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 37 run_cmd("adb shell \"( %s ) </dev/null >/dev/null 2>&1 &\"" % server) 38 run_cmd("adb shell %s" % client) 40 run_cmd("adb shell killall %s >/dev/null 2>&1" % client, ignore_error=True) 41 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 45 …return 0 == run_cmd("echo '[[ \"$(getprop ro.product.cpu.abilist%s)\" != \"\" ]]' | adb shell sh" …
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test.py | 21 def run_cmd(cmd, ignore_error=False): function 35 run_cmd("adb shell killall %s >/dev/null 2>&1" % client, ignore_error=True) 36 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 37 run_cmd("adb shell \"( %s ) </dev/null >/dev/null 2>&1 &\"" % server) 38 run_cmd("adb shell %s" % client) 40 run_cmd("adb shell killall %s >/dev/null 2>&1" % client, ignore_error=True) 41 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 45 …return 0 == run_cmd("echo '[[ \"$(getprop ro.product.cpu.abilist%s)\" != \"\" ]]' | adb shell sh" …
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java.py | 23 def run_cmd(cmd, ignore_error=False): function 36 run_cmd("adb shell killall %s >/dev/null 2>&1" % binary, ignore_error=True) 45 run_cmd("adb shell \"( %s %s -s ) </dev/null >/dev/null 2>&1 &\"" % (env, server)) 47 run_cmd("adb shell %s %s -c" % (env, client)) 54 …return 0 == run_cmd("echo '[[ \"$(getprop ro.product.cpu.abilist%s)\" != \"\" ]]' | adb shell sh" …
|