Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_debug_conn.cc61 static void next_event() { in next_event() function
69 next_event(); in btif_debug_conn_state()
/system/core/healthd/
Dhealthd_mode_charger.cpp589 int64_t next_event = INT64_MAX; in healthd_mode_charger_preparetowait() local
595 if (charger->next_screen_transition != -1) next_event = charger->next_screen_transition; in healthd_mode_charger_preparetowait()
596 if (charger->next_key_check != -1 && charger->next_key_check < next_event) in healthd_mode_charger_preparetowait()
597 next_event = charger->next_key_check; in healthd_mode_charger_preparetowait()
598 if (charger->next_pwr_check != -1 && charger->next_pwr_check < next_event) in healthd_mode_charger_preparetowait()
599 next_event = charger->next_pwr_check; in healthd_mode_charger_preparetowait()
601 if (next_event != -1 && next_event != INT64_MAX) in healthd_mode_charger_preparetowait()
602 timeout = max(0, next_event - now); in healthd_mode_charger_preparetowait()