• Home
  • Raw
  • Download

Lines Matching refs:channel_id

199 BOOLEAN btif_hl_if_channel_setup_pending(int channel_id, UINT8 *p_app_idx, UINT8 *p_mcl_idx)  in btif_hl_if_channel_setup_pending()  argument
217 p_mcb->is_connected && p_mcb->pcb.channel_id == channel_id ) in btif_hl_if_channel_setup_pending()
230 __FUNCTION__, found, channel_id, *p_app_idx, *p_mcl_idx); in btif_hl_if_channel_setup_pending()
778 btif_hl_pend_dch_op_t op, int *channel_id){ in btif_hl_dch_open() argument
804 *channel_id = in btif_hl_dch_open()
805 p_pcb->channel_id = (int) btif_hl_get_next_channel_id(app_id); in btif_hl_dch_open()
914 btif_hl_pend_dch_op_t op, int *channel_id){ in btif_hl_cch_open() argument
959 *channel_id = in btif_hl_cch_open()
960 p_pcb->channel_id = (int) btif_hl_get_next_channel_id(app_id); in btif_hl_cch_open()
964 p_pcb->channel_id = p_acb->delete_mdl.channel_id; in btif_hl_cch_open()
990 if (channel_id) in btif_hl_cch_open()
992 BTIF_TRACE_DEBUG("status=%d channel_id=0x%08x", status, *channel_id); in btif_hl_cch_open()
1011 BOOLEAN btif_hl_find_mdl_cfg_idx_using_channel_id(int channel_id, in btif_hl_find_mdl_cfg_idx_using_channel_id() argument
1031 (mdl_cfg_channel_id == channel_id)) in btif_hl_find_mdl_cfg_idx_using_channel_id()
1042 __FUNCTION__,found,channel_id, i,j ); in btif_hl_find_mdl_cfg_idx_using_channel_id()
1054 BOOLEAN btif_hl_find_mdl_idx_using_channel_id(int channel_id, in btif_hl_find_mdl_idx_using_channel_id() argument
1075 (p_dcb->channel_id == channel_id)) in btif_hl_find_mdl_idx_using_channel_id()
1629 int channel_id; in btif_hl_get_next_channel_id() local
1631 channel_id = (app_id << 16) + next_channel_id; in btif_hl_get_next_channel_id()
1633 channel_id, app_id, next_channel_id); in btif_hl_get_next_channel_id()
1634 return channel_id; in btif_hl_get_next_channel_id()
1646 static UINT8 btif_hl_get_app_id(int channel_id){ in btif_hl_get_app_id() argument
1647 UINT8 app_id =(UINT8) (channel_id >> 16); in btif_hl_get_app_id()
1648 BTIF_TRACE_DEBUG("%s channel_id=0x%08x, app_id=0x%02x ", __FUNCTION__,channel_id, app_id); in btif_hl_get_app_id()
1951 p_dcb->channel_id, BTHL_CONN_STATE_DISCONNECTED, 0 ); in btif_hl_clean_mdls_using_app_idx()
2215 int app_id = (int) btif_hl_get_app_id(p_acb->delete_mdl.channel_id); in btif_hl_send_destroyed_cb()
2219 …nel state callback channel_id=0x%08x mdep_cfg_idx=%d, state=%d fd=%d",p_acb->delete_mdl.channel_id, in btif_hl_send_destroyed_cb()
2225 p_acb->delete_mdl.channel_id, BTHL_CONN_STATE_DESTROYED, 0 ); in btif_hl_send_destroyed_cb()
2240 int app_id = (int) btif_hl_get_app_id(p_scb->channel_id); in btif_hl_send_disconnecting_cb()
2245 …"call channel state callback channel_id=0x%08x mdep_cfg_idx=%d, state=%d fd=%d",p_scb->channel_id, in btif_hl_send_disconnecting_cb()
2250 p_scb->channel_id, BTHL_CONN_STATE_DISCONNECTING, p_scb->socket_id[0] ); in btif_hl_send_disconnecting_cb()
2264 int app_id = (int) btif_hl_get_app_id(p_pcb->channel_id); in btif_hl_send_setup_connecting_cb()
2271 …("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id, in btif_hl_send_setup_connecting_cb()
2277 p_pcb->channel_id, BTHL_CONN_STATE_CONNECTING, 0 ); in btif_hl_send_setup_connecting_cb()
2293 int app_id = (int) btif_hl_get_app_id(p_pcb->channel_id); in btif_hl_send_setup_disconnected_cb()
2303 …("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id, in btif_hl_send_setup_disconnected_cb()
2308 p_pcb->channel_id, BTHL_CONN_STATE_CONNECTING, 0 ); in btif_hl_send_setup_disconnected_cb()
2310 …("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id, in btif_hl_send_setup_disconnected_cb()
2315 p_pcb->channel_id, BTHL_CONN_STATE_DISCONNECTED, 0 ); in btif_hl_send_setup_disconnected_cb()
2319 …("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id, in btif_hl_send_setup_disconnected_cb()
2324 p_pcb->channel_id, BTHL_CONN_STATE_DISCONNECTED, 0 ); in btif_hl_send_setup_disconnected_cb()
2801 … if(btif_hl_find_channel_id_using_mdl_id(orig_app_idx,p_dcb->mdl_id , &p_dcb->channel_id)) in btif_hl_proc_dch_open_ind()
2804 orig_app_idx, mcl_idx, mdl_idx, p_dcb->channel_id ); in btif_hl_proc_dch_open_ind()
2879 p_dcb->channel_id = p_pcb->channel_id; in btif_hl_proc_dch_open_cfm()
2887 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id); in btif_hl_proc_dch_open_cfm()
2953 p_dcb->channel_id = p_pcb->channel_id; in btif_hl_proc_dch_reconnect_cfm()
2961 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id); in btif_hl_proc_dch_reconnect_cfm()
3031 p_dcb->channel_id = btif_hl_get_next_channel_id(p_acb->app_id); in btif_hl_proc_dch_reconnect_ind()
3034 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id ); in btif_hl_proc_dch_reconnect_ind()
3305 p_data->chan_cb.channel_id, in btif_hl_proc_cb_evt()
3311 p_data->chan_cb.channel_id, state, p_data->chan_cb.fd ); in btif_hl_proc_cb_evt()
3961 …bt_status_t connect_channel(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id){ in connect_channel() argument
4005 … mdep_cfg_index, BTIF_HL_PEND_DCH_OP_OPEN, channel_id )) in connect_channel()
4039 channel_id)) in connect_channel()
4050 BTIF_TRACE_DEBUG("%s status=%d channel_id=0x%08x", __FUNCTION__, status, *channel_id); in connect_channel()
4063 static bt_status_t destroy_channel(int channel_id){ in destroy_channel() argument
4071 BTIF_TRACE_EVENT("%s channel_id=0x%08x", __FUNCTION__, channel_id); in destroy_channel()
4075 if (btif_hl_if_channel_setup_pending(channel_id, &app_idx, &mcl_idx)) in destroy_channel()
4081 if (btif_hl_find_mdl_cfg_idx_using_channel_id(channel_id, &app_idx, &mdl_cfg_idx)) in destroy_channel()
4090 p_acb->delete_mdl.channel_id = channel_id; in destroy_channel()
4346 *p_channel_id = p_mcb->pcb.channel_id; in btif_hl_save_mdl_cfg()
4616 p_scb->channel_id = p_dcb->channel_id; in btif_hl_create_socket()
4671 evt_param.chan_cb.channel_id = p_dcb->channel_id; in btif_hl_add_socket_to_set()
4709 evt_param.chan_cb.app_id = (int) btif_hl_get_app_id(p_scb->channel_id); in btif_hl_close_socket()
4711 evt_param.chan_cb.channel_id = p_scb->channel_id; in btif_hl_close_socket()