Home
last modified time | relevance | path

Searched refs:run_cmd (Results 1 – 17 of 17) sorted by relevance

/system/extras/simpleperf/scripts/test/
Dapp_test.py94 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 …]
Djava_app_test.py40 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 …]
Dcpp_app_test.py36 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"])
Dapp_profiler_test.py30 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 …]
Dkotlin_app_test.py36 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"])
Dapi_profiler_test.py31 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])
Drun_simpleperf_on_device_test.py22 self.run_cmd(['run_simpleperf_on_device.py', 'list', '--show-features'])
Dpprof_proto_generator_test.py29 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)
Dinferno_test.py26 self.run_cmd([INFERNO_SCRIPT] + options)
Dpurgatorio_test.py31 self.run_cmd([self.script_path, '-d', '-o', 'report.html'] + options)
Dbinary_cache_builder_test.py46 self.run_cmd([strip, '--strip-all', '-o', source_file, origin_file])
51 self.run_cmd([strip, '--strip-debug', '-o', source_file, origin_file])
Dreport_html_test.py27 self.run_cmd(['report_html.py', '-i',
88 self.run_cmd(args)
Ddebug_unwind_reporter_test.py25 return self.run_cmd(['debug_unwind_reporter.py', '-i',
Dtest_utils.py151 def run_cmd(self, args: List[str], return_output=False, drop_output=True) -> str: member in TestBase
/system/libfmq/tests/
Dfmq_test.py21 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/
Dhidl_test.py21 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/
Dhidl_test_java.py23 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" …