Searched refs:next_event (Results 1 – 2 of 2) sorted by relevance
631 int64_t next_event = INT64_MAX; in healthd_mode_charger_preparetowait() local639 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()
61 static void next_event() { in next_event() function69 next_event(); in btif_debug_conn_state()