Lines Matching refs:retry_count
54 def SendCommand(self, command_string, timeout_time=60, retry_count=3): argument
72 retry_count=retry_count)
74 def SendShellCommand(self, cmd, timeout_time=20, retry_count=3): argument
91 retry_count=retry_count)
243 retry_count=2)))
425 output = self.SendShellCommand(command, retry_count=1)
459 output = self.SendShellCommand("getprop dev.bootcomplete", retry_count=1)
470 def Sync(self, retry_count=3, runtime_restart=False): argument
487 self.SendShellCommand("setprop ro.test_harness 1", retry_count=retry_count)
490 retry_count=retry_count)
491 self.SendShellCommand("stop", retry_count=retry_count)
494 output = self.SendCommand("sync", retry_count=retry_count)
502 output = self.SendCommand("sync", retry_count=retry_count)
506 self.SendShellCommand("stop", retry_count=retry_count)
507 output = self.SendCommand("sync", retry_count=retry_count)
508 self.SendShellCommand("start", retry_count=retry_count)
515 self.SendShellCommand("start", retry_count=retry_count)
519 self.SendShellCommand("input keyevent 82", retry_count=retry_count)
528 def RuntimeReset(self, disable_keyguard=False, retry_count=3, preview_only=False): argument
549 self.SendShellCommand("stop", retry_count=retry_count)
550 self.SendShellCommand("start", retry_count=retry_count)
557 self.SendShellCommand("input keyevent 82", retry_count=retry_count)