Home
last modified time | relevance | path

Searched refs:sendline (Results 1 – 14 of 14) sorted by relevance

/external/autotest/site_utils/rpm_control_system/
Drpm_controller_unittest.py71 self.ssh.sendline(password)
73 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
75 self.ssh.sendline('logout')
89 self.ssh.sendline(password)
91 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet))
94 self.ssh.sendline('logout')
192 pexpect.spawn.sendline(self.poe._username)
195 pexpect.spawn.sendline(self.poe._password)
213 pexpect.spawn.sendline('configure terminal')
216 pexpect.spawn.sendline('interface %s' % self.PORT)
[all …]
Drpm_controller.py293 ssh.sendline(rpm_config.get('HYDRA', 'admin_password'))
295 ssh.sendline(RPMController.CLI_CMD)
304 ssh.sendline(RPMController.CLI_KILL_PREVIOUS)
306 ssh.sendline(RPMController.PORT_STATUS_CMD)
311 ssh.sendline(RPMController.SESSION_KILL_CMD_FORMAT % port_number)
336 ssh.sendline('')
345 ssh.sendline(rpm_config.get('HYDRA','password'))
346 ssh.sendline('')
430 ssh.sendline(self._username)
442 ssh.sendline(self._password)
[all …]
/external/autotest/client/common_lib/
Dpxssh.py134 self.sendline()
138 self.sendline()
142 self.sendline()
146 self.sendline()
201 self.sendline("yes")
204 self.sendline(password)
207 self.sendline(terminal_type)
261 self.sendline("exit")
264 self.sendline("exit")
299 self.sendline ("unset PROMPT_COMMAND")
[all …]
Dpexpect.py956 def sendline(self, s=''): member in spawn
/external/ltp/testcases/kernel/sched/clisrv/
Dpthcli.c67 char sendline[MAXLINE], recvline[MAXLINE + 1]; local
69 while (fgets(sendline, MAXLINE, fp) != NULL) {
70 n = strlen(sendline);
72 dprt("%s: str_cli(): sendline = %s", __FILE__, sendline);
74 if (writen(sockfd, sendline, n) != n)
/external/devlib/devlib/utils/
Dserial_port.py64 tsln = target.sendline
66 def sendline(x): function
70 target.sendline = sendline
81 conn.sendline('')
Duboot.py59 self.conn.sendline('')
62 self.conn.sendline('')
106 self.conn.sendline('')
Dssh.py74 conn.sendline('')
100 self.sendline(password)
232 self.conn.sendline(chr(3))
246 self.conn.sendline(command)
250 self.conn.sendline(self.password)
254 self.conn.sendline(command)
796 self.conn.sendline("{}".format(self.username))
800 self.conn.sendline("{}".format(self.password))
/external/devlib/devlib/module/
Dvexpress.py138 tty.sendline('')
143 tty.sendline('reboot')
148 tty.sendline('')
150 tty.sendline('reboot')
226 tty.sendline('') # stop default boot
231 tty.sendline('\r\n')
329 tty.sendline('')
379 tty.sendline('') # clear any garbage
381 tty.sendline('usb_on')
Dcooling.py40 target.sendline('motor_{}_1'.format(self.fan_pin))
46 target.sendline('motor_{}_0'.format(self.fan_pin))
/external/autotest/client/site_tests/security_RootCA/
Dsecurity_RootCA.py65 child.sendline('foo')
67 child.sendline('foo')
75 nssmodutil.sendline('\n')
/external/autotest/server/hosts/
Dssh_host.py439 host.sendline('mkdir -p ~/.ssh')
441 host.sendline('chmod 700 ~/.ssh')
443 host.sendline("echo '%s' >> ~/.ssh/authorized_keys; " %
446 host.sendline('chmod 600 ~/.ssh/authorized_keys')
/external/devlib/devlib/platform/
Darm.py101 tty.sendline('')
108 tty.sendline('ip addr list eth0')
/external/lisa/libs/utils/android/
Dworkload.py219 self._systrace_output.sendline('')