Searched refs:outlet (Results 1 - 10 of 10) sorted by relevance
/external/autotest/client/cros/ |
H A D | power_strip.py | 17 def reboot(self, outlet, delay=0): 18 self.command('reboot', outlet, delay) 20 def off(self, outlet, delay=0): 21 self.command('off', outlet, delay) 23 def on(self, outlet, delay=0): 24 self.command('on', outlet, delay) 26 def command(self, command, outlet=1, delay=0): 28 self._do_command(command, outlet) 30 threading.Timer(delay, self._do_command, (command, outlet)).start() 32 def _do_command(self, command, outlet [all...] |
/external/autotest/server/site_tests/platform_CryptohomeSyncStressServer/ |
H A D | platform_CryptohomeSyncStressServer.py | 14 def run_once(self, host, power_addr, outlet, username, password): 18 if outlet == None: 19 raise error.TestFail('Missing outlet argument.') 25 outlet = int(outlet) 43 power_strip.PowerStrip(power_addr).reboot(outlet)
|
/external/autotest/site_utils/rpm_control_system/ |
H A D | rpm_integration_test.py | 23 outlet='') 29 outlet='') 35 outlet='') 50 outlet='') 56 outlet='') 71 outlet='.A14') 77 outlet='.A11') 103 outlet='fa33') 109 outlet='fa34') 124 outlet [all...] |
H A D | dli.py | 56 def off(self,outlet=0): 57 """ Turn off a power to an outlet """ 58 self.geturl(url= 'outlet?%d=OFF' % outlet) 59 def on(self,outlet=0): 60 """ Turn on power to an outlet """ 61 self.geturl(url= 'outlet?%d=ON' % outlet) 89 def status(self,outlet=1): 90 """ Return the status of an outlet, returne [all...] |
H A D | rpm_controller.py | 55 @var request_queue: queue used to store requested outlet state changes. 199 """Process the request to change a device's outlet state. 205 @param request: A request to change a device's outlet state. 257 Queues up a requested state change for a device's outlet. 265 the outlet. 475 Set the state of the dut's outlet on this RPM. 487 the outlet. 504 # Try to change the state of the device's power outlet. 518 responsible for changing the state of the RPM outlet. 522 the outlet [all...] |
H A D | utils.py | 38 powerunit_hostname, outlet, hydra_hostname=None): 42 self.outlet = outlet 70 outlet=afe_host.attributes[POWERUNIT_OUTLET_KEY],
|
H A D | rpm_controller_unittest.py | 29 outlet='.A100', 61 outlet='.A100', 73 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet)) 91 self.ssh.sendline('%s %s' % (new_state, self.powerunit_info.outlet)) 111 outlet = 8 115 self.test_status_list_initial = [[outlet, dut, initial_state]] 120 outlet=outlet, 150 self.powerunit_info.outlet=None 179 outlet variable in class:TestCiscoPOEController [all...] |
H A D | frontend_server_unittest.py | 38 outlet=OUTLET, hydra_hostname=None)
|
H A D | frontend_server.py | 43 # to a device, e.g. rpm_hostname, outlet, hydra_hostname, etc. 108 device's outlet to. 184 we need to know include rpm hostname, rpm outlet, hydra hostname. 218 outlet=switch_if_tuple[1],
|
/external/ipsec-tools/src/racoon/ |
H A D | isakmp_xauth.c | 191 char **outlet = NULL; local 225 outlet = &xst->authdata.generic.usr; 229 outlet = &xst->authdata.generic.pwd; 238 if (outlet != NULL) { 241 if ((*outlet = racoon_malloc(alen + 1)) == NULL) { 247 memcpy(*outlet, attr + 1, alen); 248 (*outlet)[alen] = '\0'; 249 outlet = NULL;
|
Completed in 208 milliseconds