Searched refs:adapter_power_status (Results 1 – 1 of 1) sorted by relevance
76 def _verify_adapter_power(self, adapter_power_status): argument81 return True if info['Powered'] == adapter_power_status else False104 def set_adapter_power(self, adapter_power_status): argument118 properties.Set(_ADAPTER_INTERFACE, 'Powered', adapter_power_status)120 self.poll_adapter_power(adapter_power_status)131 def poll_adapter_power(self, adapter_power_status=True): argument138 adapter_power_status=adapter_power_status)139 adapter_str = 'ON' if adapter_power_status else 'OFF'