Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/test/
Dapp_test.py102 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 …]
Djava_app_test.py41 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 …]
Dcpp_app_test.py35 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"])
Dapp_profiler_test.py32 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 …]
Dkotlin_app_test.py37 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"])
Dapi_profiler_test.py38 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])
Dannotate_test.py36 self.run_cmd(['annotate.py', '-i', testdata_file, '-s',
58 self.run_cmd(['annotate.py', '-i', TestHelper.testdata_path(
79 self.run_cmd(
Dsample_filter_test.py30 output = self.run_cmd(['sample_filter.py', '-i', testdata_file,
36 self.run_cmd(['sample_filter.py', '-i', testdata_file, '--split-time-range', '2'])
Drun_simpleperf_on_device_test.py22 self.run_cmd(['run_simpleperf_on_device.py', 'list', '--show-features'])
Dpurgatorio_test.py31 self.run_cmd([self.script_path, '-d', '-o', 'report.html'] + options)
Dbinary_cache_builder_test.py47 self.run_cmd([strip, '--strip-all', '-o', source_file, origin_file])
52 self.run_cmd([strip, '--strip-debug', '-o', source_file, origin_file])
Ddebug_unwind_reporter_test.py25 return self.run_cmd(['debug_unwind_reporter.py', '-i',
Dpprof_proto_generator_test.py34 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)
Dinferno_test.py29 self.run_cmd([INFERNO_SCRIPT] + options)
Dreport_html_test.py29 self.run_cmd(['report_html.py', '-i',
94 self.run_cmd(args)
Dstackcollapse_test.py32 report = self.run_cmd(args, return_output=True)
Dreport_sample_test.py31 report = self.run_cmd(args, return_output=True)
Dgecko_profile_generator_test.py32 return self.run_cmd(args, return_output=True)
Dtest_utils.py162 def run_cmd(self, args: List[str], return_output=False, drop_output=True) -> str: member in TestBase
/system/tools/hidl/test/hidl_test/
Dhidl_test.py21 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/
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)
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/
Dhidl_test_java.py23 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" …