OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:on_ac
(Results
1 - 12
of
12
) sorted by null
/external/autotest/client/site_tests/power_CheckAC/
power_CheckAC.py
20
if power_on and not status.
on_ac
():
22
elif not power_on and status.
on_ac
():
/external/autotest/client/site_tests/policy_ChromeOsLockOnIdleSuspend/
policy_ChromeOsLockOnIdleSuspend.py
71
if not self._power_status.
on_ac
():
82
return 'AC' if self._power_status.
on_ac
() else 'Battery'
/external/autotest/client/site_tests/power_Draw/
power_Draw.py
17
if status.
on_ac
():
/external/autotest/client/site_tests/power_Status/
power_Status.py
26
logging.info("linepower_online: %s" % status.
on_ac
())
/external/autotest/client/site_tests/enterprise_PowerManagement/
enterprise_PowerManagement.py
40
if not self._power_status.
on_ac
():
60
if self._power_status.
on_ac
():
/external/autotest/client/site_tests/power_BatteryCharge/
power_BatteryCharge.py
20
if not self.status.
on_ac
():
95
if not self.status.
on_ac
():
/external/autotest/client/site_tests/power_Idle/
power_Idle.py
47
if not self.status.
on_ac
():
75
if self.status.
on_ac
():
/external/autotest/client/site_tests/hardware_MultiReaderPowerConsumption/
hardware_MultiReaderPowerConsumption.py
21
if self.status.
on_ac
():
/external/autotest/client/site_tests/policy_PowerManagementIdleSettings/
policy_PowerManagementIdleSettings.py
61
if not self._power_status.
on_ac
():
/external/autotest/client/cros/
power_status.py
439
def
on_ac
(self):
member in class:SysStat
443
on_ac
= False
445
on_ac
|= linepower.online
450
on_ac
&= (not self.battery_discharging())
451
return
on_ac
475
if self.
on_ac
():
[
all
...]
/external/autotest/client/site_tests/power_LoadTest/
power_LoadTest.py
108
self._tmp_keyvals['b_on_ac'] = self._power_status.
on_ac
()
403
if keyvals['ah_charge_used'] > 0 and not self._power_status.
on_ac
():
480
if not self._ac_ok and self._power_status.
on_ac
():
/external/autotest/client/site_tests/power_Consumption/
power_Consumption.py
55
self._tmp_keyvals['b_on_ac'] = self._power_status.
on_ac
()
Completed in 4040 milliseconds