Searched refs:adapter_power_status (Results 1 – 1 of 1) sorted by relevance
78 def _verify_adapter_power(self, adapter_power_status): argument83 return True if info['Powered'] == adapter_power_status else False106 def set_adapter_power(self, adapter_power_status): argument120 properties.Set(_ADAPTER_INTERFACE, 'Powered', adapter_power_status)122 self.poll_adapter_power(adapter_power_status)133 def poll_adapter_power(self, adapter_power_status=True): argument140 adapter_power_status=adapter_power_status)141 adapter_str = 'ON' if adapter_power_status else 'OFF'