Lines Matching refs:retry_count
54 def SendCommand(self, command_string, timeout_time=60, retry_count=3):
61 retry_count: number of times to retry command before raising
72 retry_count=retry_count)
74 def SendShellCommand(self, cmd, timeout_time=20, retry_count=3):
81 retry_count: number of times to retry command before raising
91 retry_count=retry_count)
240 retry_count=2)))
415 output = self.SendShellCommand(command, retry_count=1)
449 output = self.SendShellCommand("getprop dev.bootcomplete", retry_count=1)
460 def Sync(self, retry_count=3, runtime_restart=False):
466 retry_count: number of times to retry sync before failing
477 self.SendShellCommand("setprop ro.test_harness 1", retry_count=retry_count)
480 retry_count=retry_count)
481 self.SendShellCommand("stop", retry_count=retry_count)
484 output = self.SendCommand("sync", retry_count=retry_count)
492 output = self.SendCommand("sync", retry_count=retry_count)
496 self.SendShellCommand("stop", retry_count=retry_count)
497 output = self.SendCommand("sync", retry_count=retry_count)
498 self.SendShellCommand("start", retry_count=retry_count)
505 self.SendShellCommand("start", retry_count=retry_count)
509 self.SendShellCommand("input keyevent 82", retry_count=retry_count)
518 def RuntimeReset(self, disable_keyguard=False, retry_count=3, preview_only=False):
528 retry_count: number of times to retry reset before failing
539 self.SendShellCommand("stop", retry_count=retry_count)
540 self.SendShellCommand("start", retry_count=retry_count)
547 self.SendShellCommand("input keyevent 82", retry_count=retry_count)