Lines Matching refs:adb
192 adb = adb_tools.AdbTools(adb_port=inst.adb_port,
195 self._CheckRunningEmulator(adb, no_prompts)
212 self._WaitForEmulatorToStart(adb, proc, boot_timeout_secs)
290 def _IsEmulatorRunning(adb): argument
299 return adb.EmuCommand() == 0
301 def _CheckRunningEmulator(self, adb, no_prompts): argument
311 if not self._IsEmulatorRunning(adb):
315 if adb.EmuCommand("kill") != 0:
317 self._WaitForEmulatorToStop(adb)
468 def _WaitForEmulatorToStop(self, adb): argument
479 utils.PollAndWait(func=lambda: self._IsEmulatorRunning(adb),
485 def _WaitForEmulatorToStart(self, adb, proc, timeout): argument
501 self._IsEmulatorRunning(adb)),