Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp631 int64_t next_event = INT64_MAX; in healthd_mode_charger_preparetowait() local
639 next_event = charger->next_screen_transition; in healthd_mode_charger_preparetowait()
640 if (charger->next_key_check != -1 && charger->next_key_check < next_event) in healthd_mode_charger_preparetowait()
641 next_event = charger->next_key_check; in healthd_mode_charger_preparetowait()
642 if (charger->next_pwr_check != -1 && charger->next_pwr_check < next_event) in healthd_mode_charger_preparetowait()
643 next_event = charger->next_pwr_check; in healthd_mode_charger_preparetowait()
645 if (next_event != -1 && next_event != INT64_MAX) in healthd_mode_charger_preparetowait()
646 timeout = max(0, next_event - now); in healthd_mode_charger_preparetowait()
/system/bt/btif/src/
Dbtif_debug_conn.c61 static void next_event() { in next_event() function
69 next_event(); in btif_debug_conn_state()