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