Lines Matching refs:in_use
164 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer()
226 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer_by_mode()
258 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer_by_srvc_id()
287 p_timer->in_use = TRUE; in bta_dm_pm_start_timer()
321 assert(p_timer->in_use && (p_timer->active > 0)); in bta_dm_pm_stop_timer_by_index()
329 p_timer->in_use = FALSE; in bta_dm_pm_stop_timer_by_index()
637 … if (bta_dm_cb.pm_timer[i].in_use && bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr) == 0) in bta_dm_pm_set_mode()
662 else if (!bta_dm_cb.pm_timer[i].in_use) in bta_dm_pm_set_mode()
964 APPL_TRACE_DEBUG("dm_pm_timer[%d] in use? %d", i, bta_dm_cb.pm_timer[i].in_use); in bta_dm_pm_timer_cback()
965 if (bta_dm_cb.pm_timer[i].in_use) in bta_dm_pm_timer_cback()
978 bta_dm_cb.pm_timer[i].in_use = FALSE; in bta_dm_pm_timer_cback()