Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd_mode_charger.cpp535 int64_t next_event = INT64_MAX; in healthd_mode_charger_preparetowait() local
541 if (charger->next_screen_transition != -1) next_event = charger->next_screen_transition; in healthd_mode_charger_preparetowait()
542 if (charger->next_key_check != -1 && charger->next_key_check < next_event) in healthd_mode_charger_preparetowait()
543 next_event = charger->next_key_check; in healthd_mode_charger_preparetowait()
544 if (charger->next_pwr_check != -1 && charger->next_pwr_check < next_event) in healthd_mode_charger_preparetowait()
545 next_event = charger->next_pwr_check; in healthd_mode_charger_preparetowait()
547 if (next_event != -1 && next_event != INT64_MAX) in healthd_mode_charger_preparetowait()
548 timeout = max(0, next_event - now); in healthd_mode_charger_preparetowait()
/system/bt/btif/src/
Dbtif_debug_conn.cc61 static void next_event() { in next_event() function
69 next_event(); in btif_debug_conn_state()