D | util_android.py | 213 output = self.shell(cmd, False, 60) 233 def shell(self, cmd, async=False, timeout=None): member in UtilAndroid 268 pid_output = self.shell('pidof ' + process_name) 408 self.shell('kill -9 ' + str(pid)) 418 self.shell('am force-stop ' + package_name) 483 output = self.shell('ls /data/ | grep ' + binary_name) 487 stdout = self.shell('exec /data/' + binary_name, True) 532 output = self.shell('pm list packages ' + name) 537 stdout = self.shell(cmd) 551 self.shell(cmd, True) [all …]
|