Lines Matching refs:adb
118 if not self._CheckRunningEmulator(ins.adb, no_prompts):
203 self._WaitForEmulatorToStart(ins.adb, proc, boot_timeout_secs)
339 def _IsEmulatorRunning(adb): argument
348 return adb.EmuCommand() == 0
350 def _CheckRunningEmulator(self, adb, no_prompts): argument
363 if not self._IsEmulatorRunning(adb):
367 if adb.EmuCommand("kill") != 0:
369 self._WaitForEmulatorToStop(adb)
524 def _WaitForEmulatorToStop(self, adb): argument
535 utils.PollAndWait(func=lambda: self._IsEmulatorRunning(adb),
541 def _WaitForEmulatorToStart(self, adb, proc, timeout): argument
557 self._IsEmulatorRunning(adb)),