Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp515 if (next_pwr_check_ == -1) { in HandlePowerSupplyState()
528 next_pwr_check_ = now + timer_shutdown; in HandlePowerSupplyState()
530 now, (int64_t)timer_shutdown, next_pwr_check_); in HandlePowerSupplyState()
531 } else if (now >= next_pwr_check_) { in HandlePowerSupplyState()
539 if (next_pwr_check_ != -1) { in HandlePowerSupplyState()
550 next_pwr_check_ = -1; in HandlePowerSupplyState()
588 now, next_screen_transition_, next_key_check_, next_pwr_check_); in PrepareToWait()
592 if (next_pwr_check_ != -1 && next_pwr_check_ < next_event) next_event = next_pwr_check_; in PrepareToWait()
716 next_pwr_check_ = -1; in Init()
Dhealthd_mode_charger.h72 int64_t next_pwr_check_ = 0; variable