/external/autotest/client/cros/ |
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=1) [all...] |
/external/autotest/server/site_tests/platform_CryptohomeSyncStressServer/ |
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)
|
control | 25 outlet = opts.get('outlet', None) 34 power_addr=power_addr, outlet=outlet,
|
/external/autotest/site_utils/rpm_control_system/ |
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) 86 print 'Outlet\t%-15.15s\tState' % 'Hostname' 89 def status(self,outlet=1) [all...] |
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='fa33' [all...] |
rpm_client.py | 25 """This is raised when we fail to set the state of the device's outlet.""" 32 @param hostname: host who's power outlet we want to change. 33 @param new_state: State we want to set the power outlet to. 51 error_msg = ('Failed to change outlet status for host: %s to ' 61 help='Machine hostname to change outlet state.') 63 help='Power state to set outlet: ON, OFF, CYCLE') 76 print 'Need --state to change outlet state.'
|
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...] |
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 113 # Outlet statuses are in the format "u'ON'" 115 self.test_status_list_initial = [[outlet, dut, initial_state]] 120 outlet=outlet, 137 """Should return False if Outlet State does not change."" 179 outlet=PORT, variable in class:TestCiscoPOEController [all...] |
utils.py | 38 powerunit_hostname, outlet, hydra_hostname=None): 42 self.outlet = outlet 70 outlet=afe_host.attributes[POWERUNIT_OUTLET_KEY],
|
rpm_config.ini | 27 # to a device, e.g. rpm_hostname, outlet, hydra_hostname, etc.
|
frontend_server_unittest.py | 22 OUTLET = '.A100' 38 outlet=OUTLET, hydra_hostname=None)
|
rpm_dispatcher.py | 31 communicating directly to the RPM devices to change a DUT's outlet status. 34 server, who will field out outlet requests to this dispatcher. 124 outlet to.
|
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/autotest/contrib/ |
generate_rpm_mapping.py | 9 (device_hostname, rpm_hostname, outlet, hydra_hostname) for each 62 """Get rpm outlet given a device. 66 @returns: the rpm outlet, default to empty string. 121 """Get rpm outlet. 125 @returns: rpm outlet, e.g. '.A1' 137 # chromeos2, hostX -> outlet 168 """Get rpm outlet. 172 @returns: rpm outlet, e.g. '.A1' 221 """Get rpm outlet. 225 @returns: rpm outlet, e.g. '.A1 [all...] |
manage_powerunit_info.py | 10 We store rpm hostname, outlet, hydra information for a host in cautotest
|
/external/autotest/client/site_tests/power_BatteryCharge/ |
control | 17 - Device should be plugged in to an AC outlet
|
/external/v8/tools/gyp/test/ios/extension/ActionExtension/ |
MainInterface.storyboard | 49 <outlet property="imageView" destination="9ga-4F-77Z" id="5y6-5w-9QO"/> 50 <outlet property="view" destination="zMn-AG-sqS" id="Qma-de-2ek"/>
|
/external/v8/tools/gyp/test/ios/watch/WatchKitExtension/ |
MainInterface.storyboard | 49 <outlet property="imageView" destination="9ga-4F-77Z" id="5y6-5w-9QO"/> 50 <outlet property="view" destination="zMn-AG-sqS" id="Qma-de-2ek"/>
|
/external/libgdx/tests/gdx-tests-ios-intel/src/main/resources/ |
MainUI.storyboard | 52 <outlet property="helloButton" destination="85a10b36-ed84-4835-ad5b-3164cdbb5c5d" id="2a3a7e85-7c21-4e0f-bb4f-bb3869821c82"/> 53 <outlet property="statusText" destination="db4b6fd7-cd29-46a7-b5a0-1f68afed4fb5" id="fe0745e2-c92d-49a1-86bd-d959a3b8c19f"/>
|
/external/ipsec-tools/src/racoon/ |
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; [all...] |
/frameworks/base/docs/html/tv/adt-1/ |
regulatory.jd | 36 <p>?Connect the equipment into an outlet on a circuit different from that to which the receiver
|
safety.jd | 20 outlet. Only use this device with the provided power adapter.</p></li>
|
/frameworks/base/docs/html/google/play/billing/ |
billing_subscriptions.jd | 359 promotion. For example, a news outlet might decide to offer both monthly and
|
/external/autotest/server/hosts/ |
cros_host.py | [all...] |
/external/clang/lib/Sema/ |
SemaDeclAttr.cpp | [all...] |