• Home
  • Raw
  • Download

Lines Matching full:console

20     """Base clase for all PD console utils
23 in TypeC FAFT tests. The base class is specific for Type C console access.
26 def __init__(self, console): argument
27 """Console can be either usbpd, ec, or pdtester UART
32 # save console for UART access functions
33 self.console = console
36 """Send command to PD console UART
40 self.console.send_command(cmd)
43 """Send command to PD console, wait for response
48 # Enable PD console debug mode to show control messages
51 output = self.console.send_command_get_output(cmd, regexp)
59 The PD console debug mode is enabled prior to sending
64 @param cmd: pd command to issue to the UART console
73 """Verify that PD commands exist on UART console
75 Send 'help' command to UART console
80 l = self.console.send_command_get_output('help', ['(pd)\s+([\w]+)'])
92 matches = self.console.send_command_get_output('pd version',
266 """Turn off PD console debug
273 """Enable PD console debug level 1
296 @param port: port to be used for pd console commands
382 servo UART console. USB PD tests will typically use the console
403 # Strings passing to the console command "pd dualrole"
405 # Strings returned from the console command "pd dualrole"
552 # Get string required for console command
554 # Create console command
562 self.console.send_command(cmd)
596 servo UART console. USB PD tests will typically use the console
618 # Strings passing to the console command "pd dualrole"
620 # Strings returned from the console command "pd dualrole"
709 # Get string required for console command
711 # Create console command
713 self.console.send_command(cmd)
755 @param dut_console: PD console object for DUT
756 @param pdtester_console: PD console object for PDTester
758 # save console for DUT PD UART access functions
760 # save console for PDTester UART access functions
779 # pdtester console command to force PD disconnect
812 def create_pd_console_utils(console): argument
815 @param console: DUT PD console
824 version = PDConsoleUtils(console).get_pd_version()
825 logging.debug('%s is TCPM v%s', console, version)
827 return cls(console)