OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TMP_POWER_DIR
(Results
1 - 2
of
2
) sorted by null
/external/autotest/server/site_tests/power_DarkResumeShutdownServer/
power_DarkResumeShutdownServer.py
18
TMP_POWER_DIR
= '/tmp/power_manager'
30
host.run('mkdir -p %s' %
TMP_POWER_DIR
)
35
(SUSPEND_DURATION_PREF, SUSPEND_DURATION,
TMP_POWER_DIR
))
41
(DARK_RESUME_SOURCE_PREF,
TMP_POWER_DIR
))
45
host.run('echo 0 > %s/disable_dark_resume' %
TMP_POWER_DIR
)
48
host.run('mount --bind %s %s' % (
TMP_POWER_DIR
, POWER_DIR))
/external/autotest/server/cros/
dark_resume_utils.py
13
TMP_POWER_DIR
= '/tmp/power_manager'
80
logging.debug('Creating temporary powerd prefs at %s',
TMP_POWER_DIR
)
81
host.run('mkdir -p %s' %
TMP_POWER_DIR
)
84
host.run('echo 0 > %s/disable_dark_resume' %
TMP_POWER_DIR
)
94
(new_dev_contents,
TMP_POWER_DIR
))
100
(duration,
TMP_POWER_DIR
))
103
host.run('mount --bind %s %s' % (
TMP_POWER_DIR
, POWER_DIR))
Completed in 931 milliseconds