Home
last modified time | relevance | path

Searched refs:check_run (Results 1 – 9 of 9) sorted by relevance

/system/extras/simpleperf/scripts/test/
Djava_app_test.py46 self.adb.check_run(['shell', 'am', 'force-stop', self.package_name])
47 self.adb.check_run(['shell', 'am', 'start', '-n',
58 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
71 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
77 self.adb.check_run(['shell', 'am', 'force-stop', self.package_name])
95 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
158 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
161 self.adb.check_run(['kill-server'])
165 self.adb.check_run(['devices'])
Dapi_profiler_test.py35 adb.check_run(['install', '-t', apk_path])
38 adb.check_run(['shell', 'am', 'start', '-n', package_name + '/.MainActivity'])
58 adb.check_run(['uninstall', package_name])
Dapp_profiler_test.py61 self.adb.check_run(['shell', 'rm', '-rf', '/data/local/tmp/native_libs'])
65 self.adb.check_run(['shell', 'rm', '-rf', '/data/local/tmp/native_libs'])
113 self.adb.check_run(['shell', 'mkdir', '-p', '/data/local/tmp/native_libs'])
114 self.adb.check_run(['push', 'build_id_list', '/data/local/tmp/native_libs'])
138 self.adb.check_run(['shell', 'truncate', '-s', '0', target_file])
Dapp_test.py45 cls.adb.check_run(args)
57 cls.adb.check_run(["uninstall", cls.package_name])
/system/extras/simpleperf/scripts/
Dapi_profiler.py58 adb.check_run(['push', simpleperf_binary, '/data/local/tmp'])
59 adb.check_run(['shell', 'chmod', 'a+x', '/data/local/tmp/simpleperf'])
63 adb.check_run(['shell', '/data/local/tmp/simpleperf', 'api-prepare'])
77 adb.check_run(['shell', '/data/local/tmp/simpleperf', 'api-collect', '--app', args.app[0],
79 adb.check_run(['pull', '/data/local/tmp/simpleperf_data.zip', args.out_dir])
80 adb.check_run(['shell', 'rm', '-rf', '/data/local/tmp/simpleperf_data'])
Drun_simpleperf_without_usb_connection.py42 adb.check_run(['push', simpleperf_binary, '/data/local/tmp'])
43 adb.check_run(['shell', 'chmod', 'a+x', '/data/local/tmp/simpleperf'])
44 adb.check_run(['shell', 'rm', '-rf', '/data/local/tmp/perf.data',
75 adb.check_run(['pull', '/data/local/tmp/perf.data', args.perf_data_path])
Drun_simpleperf_on_device.py32 adb.check_run(['push', simpleperf_binary, '/data/local/tmp'])
33 adb.check_run(['shell', 'chmod', 'a+x', '/data/local/tmp/simpleperf'])
Dapp_profiler.py130 self.adb.check_run(['shell', 'mkdir', '-p', self.dir_on_device])
156 self.adb.check_run(['push', entry.path, self.dir_on_device + entry.name])
167 self.adb.check_run(['push', self.build_id_list_file,
186 self.adb.check_run(['push', entry.path, target])
221 self.adb.check_run(['push', simpleperf_binary, '/data/local/tmp'])
222 self.adb.check_run(['shell', 'chmod', 'a+x', '/data/local/tmp/simpleperf'])
301 self.adb.check_run(['shell', 'cmd', 'package', 'compile', '-f', '-m', 'speed',
306 self.adb.check_run(['shell', 'am', 'force-stop', self.args.app])
Dsimpleperf_utils.py347 def check_run(self, adb_args: List[str], log_output: bool = False): member in AdbHelper