Home
last modified time | relevance | path

Searched refs:ac_online (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/devices/src/
Dbat.rs43 ac_online: u32, field
79 create_battery_func!(set_ac_online, ac_online, AC_STATUS_CHANGED);
224 BatControlCommand::SetACOnline(ac_online) => { in command_monitor()
225 let v = if ac_online != 0 { 1 } else { 0 }; in command_monitor()
256 bat_state.set_ac_online(if data.ac_online { 1 } else { 0 }); in command_monitor()
322 ac_online: 1, in new()
446 BATTERY_AC_ONLINE => self.state.lock().ac_online, in read()
/external/crosvm/power_monitor/src/powerd/
Dmod.rs29 let ac_online = if props.has_external_power() { in from() localVariable
66 Self { ac_online, battery } in from()
/external/crosvm/power_monitor/src/
Dlib.rs14 pub ac_online: bool, field
/external/autotest/server/site_tests/firmware_FWupdateThenSleep/
Dfirmware_FWupdateThenSleep.py30 ac_online = self._client.is_ac_connected()
43 elif ac_online: