/system/extras/simpleperf/scripts/test/ |
D | app_test.py | 102 self.run_cmd(args) 155 self.run_cmd(["app_profiler.py", "-h"]) 162 self.run_cmd(args) 170 self.run_cmd(["report.py", "-h"]) 171 self.run_cmd(["report.py"]) 172 self.run_cmd(["report.py", "-i", "perf.data"]) 173 self.run_cmd(["report.py", "-g"]) 174 self.run_cmd(["report.py", "--self-kill-for-testing", "-g", "--gui"]) 177 self.run_cmd(["annotate.py", "-h"]) 179 self.run_cmd(["annotate.py", "-s", self.example_path, '--summary-width', '1000']) [all …]
|
D | java_app_test.py | 41 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 53 self.run_cmd(["report.py", "-o", "report.txt"]) 71 self.run_cmd(["report.py"]) 85 self.run_cmd(["report.py"]) 89 self.run_cmd(['app_profiler.py', '--app', self.package_name, '-a', self.activity_name, 94 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 105 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 141 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 144 self.run_cmd([INFERNO_SCRIPT, "-sc", "-o", "report2.html"]) 153 self.run_cmd(['app_profiler.py', '--app', self.package_name, [all …]
|
D | cpp_app_test.py | 35 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 40 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 70 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 75 self.run_cmd(['report_html.py', '--add_source_code', '--source_dirs', 'testdata', 113 self.run_cmd(["report.py", "-g", "--comms", "SleepThread", "-o", "report.txt"]) 126 self.run_cmd(["annotate.py", "-s", self.example_path, "--comm", 138 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 155 self.run_cmd(["report.py", "-g", "--comms", "BusyThread", "-o", "report.txt"]) 160 self.run_cmd(["annotate.py", "-s", self.example_path, "--comm", 175 self.run_cmd([INFERNO_SCRIPT, "-sc"])
|
D | app_profiler_test.py | 32 self.run_cmd(["app_profiler.py", "-cmd", "pm -l", "--disable_adb_root"]) 33 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 38 self.run_cmd(["app_profiler.py", "-np", "surfaceflinger"]) 39 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 40 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 41 self.run_cmd([INFERNO_SCRIPT, "-np", "surfaceflinger"]) 47 self.run_cmd(['app_profiler.py', '--pid', str(pid), '-r', '--duration 1']) 48 self.run_cmd(['app_profiler.py', '--pid', str(pid), str(pid), '-r', '--duration 1']) 49 self.run_cmd(['app_profiler.py', '--tid', str(pid), '-r', '--duration 1']) 50 self.run_cmd(['app_profiler.py', '--tid', str(pid), str(pid), '-r', '--duration 1']) [all …]
|
D | kotlin_app_test.py | 37 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 44 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 81 self.run_cmd([INFERNO_SCRIPT, "-sc"]) 125 self.run_cmd(["report.py", "-g", "-o", "report.txt"]) 134 self.run_cmd(["annotate.py", "-s", self.example_path, '--summary-width', '1000']) 146 self.run_cmd([INFERNO_SCRIPT, "-sc"])
|
D | api_profiler_test.py | 38 self.run_cmd(['api_profiler.py', 'prepare', '-p', package_name, '-d', '1']) 52 self.run_cmd(['api_profiler.py', 'collect', '-p', package_name, '-o', 'simpleperf_data']) 59 self.run_cmd(['report.py', '-g', '-o', 'report.txt', '-i', path])
|
D | annotate_test.py | 36 self.run_cmd(['annotate.py', '-i', testdata_file, '-s', 58 self.run_cmd(['annotate.py', '-i', TestHelper.testdata_path( 79 self.run_cmd(
|
D | sample_filter_test.py | 30 output = self.run_cmd(['sample_filter.py', '-i', testdata_file, 36 self.run_cmd(['sample_filter.py', '-i', testdata_file, '--split-time-range', '2'])
|
D | run_simpleperf_on_device_test.py | 22 self.run_cmd(['run_simpleperf_on_device.py', 'list', '--show-features'])
|
D | purgatorio_test.py | 31 self.run_cmd([self.script_path, '-d', '-o', 'report.html'] + options)
|
D | binary_cache_builder_test.py | 47 self.run_cmd([strip, '--strip-all', '-o', source_file, origin_file]) 52 self.run_cmd([strip, '--strip-debug', '-o', source_file, origin_file])
|
D | debug_unwind_reporter_test.py | 25 return self.run_cmd(['debug_unwind_reporter.py', '-i',
|
D | pprof_proto_generator_test.py | 34 self.run_cmd(['pprof_proto_generator.py', '-i', testdata_path] + options) 35 return self.run_cmd(['pprof_proto_generator.py', '--show'], return_output=True) 40 self.run_cmd(['pprof_proto_generator.py', '-i'] + testdata_paths + options)
|
D | inferno_test.py | 29 self.run_cmd([INFERNO_SCRIPT] + options)
|
D | report_html_test.py | 29 self.run_cmd(['report_html.py', '-i', 94 self.run_cmd(args)
|
D | stackcollapse_test.py | 32 report = self.run_cmd(args, return_output=True)
|
D | report_sample_test.py | 31 report = self.run_cmd(args, return_output=True)
|
D | gecko_profile_generator_test.py | 32 return self.run_cmd(args, return_output=True)
|
D | test_utils.py | 162 def run_cmd(self, args: List[str], return_output=False, drop_output=True) -> str: member in TestBase
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test.py | 21 def run_cmd(cmd, ignore_error=False): function 32 return 0 != run_cmd("echo '[[ \"$(getprop hwservicemanager.disabled)\" == \"true\" ]] || " + 42 run_cmd("adb shell killall %s >/dev/null 2>&1" % client, ignore_error=True) 43 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 44 run_cmd("adb shell \"( %s ) </dev/null >/dev/null 2>&1 &\"" % server) 45 run_cmd("adb shell %s" % client) 47 run_cmd("adb shell killall %s >/dev/null 2>&1" % client, ignore_error=True) 48 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 52 …return 0 == run_cmd("echo '[[ \"$(getprop ro.product.cpu.abilist%s)\" != \"\" ]]' | adb shell sh" …
|
/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) 41 run_cmd("adb shell %s" % client_cmd) 43 run_cmd("adb shell killall %s >/dev/null 2>&1" % client, ignore_error=True) 44 run_cmd("adb shell killall %s >/dev/null 2>&1" % server, ignore_error=True) 48 …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 35 return 0 != run_cmd("echo '[[ \"$(getprop hwservicemanager.disabled)\" == \"true\" ]] || " + 44 run_cmd("adb shell killall %s >/dev/null 2>&1" % binary, ignore_error=True) 53 run_cmd("adb shell \"( %s %s -s ) </dev/null >/dev/null 2>&1 &\"" % (env, server)) 55 run_cmd("adb shell %s %s -c" % (env, client)) 62 …return 0 == run_cmd("echo '[[ \"$(getprop ro.product.cpu.abilist%s)\" != \"\" ]]' | adb shell sh" …
|