Lines Matching refs:pm_timer
106 if(bta_dm_cb.pm_timer[i].in_use)
109 bta_sys_stop_timer(&bta_dm_cb.pm_timer[i].timer);
110 bta_dm_cb.pm_timer[i].in_use = FALSE;
132 if(bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr))
135 bta_sys_stop_timer(&bta_dm_cb.pm_timer[i].timer);
136 bta_dm_cb.pm_timer[i].in_use = FALSE;
430 if(!bta_dm_cb.pm_timer[i].in_use)
432 bta_dm_cb.pm_timer[i].in_use = TRUE;
433 bdcpy(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr);
434 bta_dm_cb.pm_timer[i].timer.p_cback = bta_dm_pm_timer_cback;
435 bta_sys_start_timer(&bta_dm_cb.pm_timer[i].timer, 0, timeout);
706 if(bta_dm_cb.pm_timer[i].in_use)
709 if(&bta_dm_cb.pm_timer[i].timer == (TIMER_LIST_ENT*) p_tle)
712 bta_dm_cb.pm_timer[i].in_use = FALSE;
730 bdcpy(p_buf->bd_addr, bta_dm_cb.pm_timer[i].peer_bdaddr);