Home
last modified time | relevance | path

Searched refs:usb_charger_was_connected_ (Results 1 – 3 of 3) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/power/
H A Dpower_notification_controller.cc123 usb_charger_was_connected_ = PowerStatus::Get()->IsUsbChargerConnected(); in OnPowerStatusChanged()
136 if (show && !usb_charger_was_connected_ && !usb_notification_dismissed_) { in MaybeShowUsbChargerNotification()
163 if (!show && usb_charger_was_connected_ && !battery_was_full_) { in MaybeShowUsbChargerNotification()
H A Dpower_notification_controller.h85 bool usb_charger_was_connected_ = false; variable
H A Dpower_notification_controller_unittest.cc123 controller_->usb_charger_was_connected_ = connected; in SetUsbChargerWasConnected()