Searched refs:next_event (Results 1 – 2 of 2) sorted by relevance
61 static void next_event() { in next_event() function69 next_event(); in btif_debug_conn_state()
584 int64_t next_event = INT64_MAX; in PrepareToWait() local590 if (next_screen_transition_ != -1) next_event = next_screen_transition_; in PrepareToWait()591 if (next_key_check_ != -1 && next_key_check_ < next_event) next_event = next_key_check_; in PrepareToWait()592 if (next_pwr_check_ != -1 && next_pwr_check_ < next_event) next_event = next_pwr_check_; in PrepareToWait()594 if (next_event != -1 && next_event != INT64_MAX) in PrepareToWait()595 timeout = max(0, next_event - now); in PrepareToWait()