Home
last modified time | relevance | path

Searched refs:wake_source (Results 1 – 2 of 2) sorted by relevance

/external/autotest/server/site_tests/power_WakeSources/
Dpower_WakeSources.py50 def _after_resume(self, wake_source): argument
55 if wake_source in ['BASE_ATTACH', 'BASE_DETACH']:
58 def _before_suspend(self, wake_source): argument
65 if wake_source == 'BASE_ATTACH':
68 if wake_source == 'BASE_DETACH':
71 if wake_source == 'LID_OPEN':
109 def _is_valid_wake_source(self, wake_source): argument
115 if wake_source.startswith('BASE'):
122 if wake_source == 'LID_OPEN':
124 if wake_source == 'INTERNAL_KB':
[all …]
/external/autotest/client/cros/power/
Dpower_suspend.py441 wake_source = 'unknown'
445 wake_source = match.group(1)
446 driver = self._identify_driver(wake_source)
449 re.search(w, wake_source)):
451 'S3: %s | %s', wake_source, driver)
457 'before S3: %s | %s' % (wake_source, driver))