Home | History | Annotate | Download | only in hosts

Lines Matching refs:chameleon

6 """This file provides core logic for connecting a Chameleon Daemon."""
12 from autotest_lib.client.cros.chameleon import chameleon
33 """Host class for a host that controls a Chameleon."""
47 A ChameleonHost instance represents a host that controls a Chameleon.
68 self._chameleon_connection = chameleon.ChameleonConnection(
77 ready_test_name=chameleon.CHAMELEON_READY_TEST,
79 self._chameleon_connection = chameleon.ChameleonConnection(
83 raise ChameleonHostError('Can not connect to Chameleon: %s(%s)',
88 """Checks if Chameleon host is in lab and set self._is_in_lab.
98 """Check whether the chameleon host is a lab device.
100 @returns: True if the chameleon host is in Cros Lab, otherwise False.
122 This function will reboot the chameleon board once and retry if we can't
123 create chameleon board.
131 chameleon_board = chameleon.ChameleonBoard(
136 chameleon_board = chameleon.ChameleonBoard(
145 1) If the DUT is in Cros Lab and has a chameleon board, then create
152 @param dut: host name of the host that chameleon connects. It can be used
153 to lookup the chameleon in test lab using naming convention.
155 chameleon in test lab.
173 chameleon_hostname = chameleon.make_chameleon_hostname(dut)
175 # Be more tolerant on chameleon in the lab because
176 # we don't want dead chameleon blocks non-chameleon tests.
179 'Chameleon %s is not accessible. Please file a bug'