Searched refs:adb_args (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/scripts/ |
D | utils.py | 246 def run(self, adb_args): argument 247 return self.run_and_return_output(adb_args)[0] 250 def run_and_return_output(self, adb_args, log_output=True, log_stderr=True): argument 251 adb_args = [self.adb_path] + adb_args 252 log_debug('run adb cmd: %s' % adb_args) 253 subproc = subprocess.Popen(adb_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 259 if log_output and stdout_data and adb_args[1] != 'push' and adb_args[1] != 'pull': 263 log_debug('run adb cmd: %s [result %s]' % (adb_args, result)) 266 def check_run(self, adb_args): argument 267 self.check_run_and_return_output(adb_args) [all …]
|
D | app_profiler.py | 237 adb_args = [self.adb.adb_path, 'shell'] + args 238 log_info('run adb cmd: %s' % adb_args) 239 self.record_subproc = subprocess.Popen(adb_args) 320 adb_args = ['shell', 'cd /data/data/' + self.args.app + ' && ' + (' '.join(args))] 322 adb_args = ['shell', 'run-as', self.args.app] + args 323 return self.adb.run_and_return_output(adb_args, log_output=False)
|