Home
last modified time | relevance | path

Searched refs:dual_index (Results 1 – 2 of 2) sorted by relevance

/external/autotest/server/cros/servo/
Dpd_console.py31 dual_index = {'on': 0, 'off': 1, 'snk': 2, 'src': 3} variable in PDConsoleUtils
215 dual_index = self.dual_index[value]
217 cmd = 'pd dualrole ' + self.dualrole_cmd[dual_index]
223 if dual != self.dualrole_resp[dual_index]:
225 self.dualrole_resp[dual_index] + " != "+dual)
331 return bool(drp == self.dualrole_resp[self.dual_index['on']])
Dpd_device.py266 resp = self.utils.dualrole_resp[self.utils.dual_index[mode]]
482 resp = self.utils.dualrole_resp[self.utils.dual_index[mode]]