/external/autotest/client/site_tests/power_KernelSuspend/ |
power_KernelSuspend.py | 6 from autotest_lib.client.cros import sys_power 15 sys_power.kernel_suspend(seconds)
|
/external/autotest/client/site_tests/power_MemorySuspend/ |
power_MemorySuspend.py | 8 from autotest_lib.client.cros import sys_power 25 sys_power.memory_suspend(10) 26 except sys_power.SpuriousWakeupError:
|
/external/autotest/client/site_tests/power_NoConsoleSuspend/ |
power_NoConsoleSuspend.py | 7 from autotest_lib.client.cros import rtc, sys_power 23 sys_power.kernel_suspend(10)
|
/external/autotest/client/site_tests/power_UiResume/ |
power_UiResume.py | 9 from autotest_lib.client.cros import power_suspend, sys_power 26 method=sys_power.do_suspend, throw=True)
|
/external/autotest/client/site_tests/power_BacklightSuspend/ |
power_BacklightSuspend.py | 7 from autotest_lib.client.cros import power_utils, sys_power 27 sys_power.kernel_suspend(seconds=5)
|
/external/autotest/client/site_tests/power_WakeupRTC/ |
power_WakeupRTC.py | 7 from autotest_lib.client.cros import rtc, sys_power 53 old_sys_wakeup_count = sys_power.read_wakeup_count() 56 new_sys_wakeup_count = sys_power.read_wakeup_count()
|
/external/autotest/client/site_tests/power_SuspendStress/ |
power_SuspendStress.py | 9 from autotest_lib.client.cros import power_suspend, sys_power 21 @param idle: use sys_power.idle_suspend method. 37 self._method = sys_power.idle_suspend if idle else sys_power.do_suspend 78 if type(failure) is sys_power.SuspendTimeout: timeout += 1 79 if type(failure) is sys_power.KernelError: kernel += 1 80 if type(failure) is sys_power.FirmwareError: firmware += 1 81 if type(failure) is sys_power.SpuriousWakeupError: spurious += 1
|
/external/autotest/client/cros/ |
dark_resume_xmlrpc_server.py | 13 from autotest_lib.client.cros import sys_power 35 sys_power.suspend_bg_for_dark_resume()
|
power_suspend.py | 9 from autotest_lib.client.cros import cros_logging, sys_power 30 _suspend: Set to the sys_power suspend function to use. 90 def __init__(self, logdir, method=sys_power.do_suspend, 235 for b, e, s in sys_power.SpuriousWakeupError.S3_WHITELIST: 241 raise sys_power.SpuriousWakeupError('Spurious wake in S3: %s | %s' 330 for p1, p2 in sys_power.KernelError.WHITELIST: 335 raise sys_power.KernelError("%s\n%s" % (src, text)) 343 for b, w in sys_power.SpuriousWakeupError.S0_WHITELIST: 350 raise sys_power.SuspendTimeout('System took too ' 352 raise sys_power.SpuriousWakeupError('Spurious wake [all...] |
/external/autotest/client/site_tests/platform_SuspendStress/ |
platform_SuspendStress.py | 10 from autotest_lib.client.cros import rtc, sys_power 31 sys_power.do_suspend(sleep_seconds)
|
/external/autotest/client/site_tests/power_CheckAfterSuspend/ |
power_CheckAfterSuspend.py | 8 from autotest_lib.client.cros import sys_power 58 sys_power.do_suspend(max(self._min_suspend_s, MIN_ALLOWED_SUSPEND_S))
|
/external/autotest/client/site_tests/power_FlashVideoSuspend/ |
power_FlashVideoSuspend.py | 12 from autotest_lib.client.cros import sys_power 61 sys_power.do_suspend(10)
|
/external/autotest/client/site_tests/power_VideoSuspend/ |
power_VideoSuspend.py | 12 from autotest_lib.client.cros import sys_power 50 sys_power.kernel_suspend(10)
|
/external/autotest/client/site_tests/power_CameraSuspend/ |
power_CameraSuspend.py | 8 from autotest_lib.client.cros import sys_power 24 sys_power.kernel_suspend(10)
|
/external/autotest/client/site_tests/power_Standby/ |
power_Standby.py | 9 from autotest_lib.client.cros import power_status, rtc, sys_power 45 sys_power.do_suspend(sample_hours * 3600)
|
/external/autotest/client/site_tests/security_x86Registers/ |
security_x86Registers.py | 9 from autotest_lib.client.cros import sys_power 133 sys_power.do_suspend(10)
|
/external/autotest/client/site_tests/hardware_UsbMount/ |
hardware_UsbMount.py | 9 from autotest_lib.client.cros import rtc, sys_power 95 sys_power.do_suspend(self.SECS_TO_SUSPEND)
|
/external/autotest/client/site_tests/network_WiFiResume/ |
network_WiFiResume.py | 7 from autotest_lib.client.cros import rtc, sys_power 59 sys_power.do_suspend(secs_to_suspend)
|
/external/autotest/client/site_tests/power_HotCPUSuspend/ |
power_HotCPUSuspend.py | 8 from autotest_lib.client.cros import sys_power 88 sys_power.kernel_suspend(10)
|
/external/autotest/client/cros/multimedia/ |
display_facade_adapter.py | 12 from autotest_lib.client.cros import sys_power 155 except sys_power.SpuriousWakeupError as e:
|
display_facade_native.py | 15 from autotest_lib.client.cros import constants, sys_power 438 sys_power.do_suspend(suspend_time)
|
/external/autotest/client/site_tests/network_ChromeCellularEndToEnd/ |
network_ChromeCellularEndToEnd.py | 9 from autotest_lib.client.cros import sys_power 142 sys_power.do_suspend(20)
|
/external/autotest/client/site_tests/network_EthCaps/ |
network_EthCaps.py | 9 from autotest_lib.client.cros import rtc, sys_power 151 sys_power.do_suspend(self._suspend_secs)
|
/external/autotest/client/cros/networking/ |
shill_xmlrpc_server.py | 18 from autotest_lib.client.cros import sys_power 379 return sys_power.do_suspend(seconds) 389 process = multiprocessing.Process(target=sys_power.do_suspend,
|
/external/autotest/client/cros/bluetooth/ |
bluetooth_semiauto_helper.py | 12 from autotest_lib.client.cros import sys_power 343 Not using sys_power so that user can use Bluetooth to wake machine. 356 """Function to suspend ChromeOS using sys_power.""" 357 sys_power.do_suspend(5)
|