Searched refs:ch_id (Results 1 – 3 of 3) sorted by relevance
/system/bt/udrv/ulinux/ |
D | uipc.c | 118 static int uipc_close_ch_locked(tUIPC_CH_ID ch_id); 281 static int uipc_check_fd_locked(tUIPC_CH_ID ch_id) in uipc_check_fd_locked() argument 283 if (ch_id >= UIPC_CH_NUM) in uipc_check_fd_locked() 288 if (SAFE_FD_ISSET(uipc_main.ch[ch_id].srvfd, &uipc_main.read_set)) in uipc_check_fd_locked() 290 BTIF_TRACE_EVENT("INCOMING CONNECTION ON CH %d", ch_id); in uipc_check_fd_locked() 292 uipc_main.ch[ch_id].fd = accept_server_socket(uipc_main.ch[ch_id].srvfd); in uipc_check_fd_locked() 294 BTIF_TRACE_EVENT("NEW FD %d", uipc_main.ch[ch_id].fd); in uipc_check_fd_locked() 296 if ((uipc_main.ch[ch_id].fd > 0) && uipc_main.ch[ch_id].cback) in uipc_check_fd_locked() 300 BTIF_TRACE_EVENT("ADD FD %d TO ACTIVE SET", uipc_main.ch[ch_id].fd); in uipc_check_fd_locked() 301 FD_SET(uipc_main.ch[ch_id].fd, &uipc_main.active_set); in uipc_check_fd_locked() [all …]
|
/system/bt/udrv/include/ |
D | uipc.h | 49 typedef void (tUIPC_RCV_CBACK)(tUIPC_CH_ID ch_id, tUIPC_EVENT event); /* points to BT_HDR which des… 73 BOOLEAN UIPC_Open(tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK *p_cback); 84 void UIPC_Close(tUIPC_CH_ID ch_id); 96 BOOLEAN UIPC_SendBuf(tUIPC_CH_ID ch_id, BT_HDR *p_msg); 107 BOOLEAN UIPC_Send(tUIPC_CH_ID ch_id, UINT16 msg_evt, UINT8 *p_buf, UINT16 msglen); 118 UINT32 UIPC_Read(tUIPC_CH_ID ch_id, UINT16 *p_msg_evt, UINT8 *p_buf, UINT32 len); 129 BOOLEAN UIPC_Ioctl(tUIPC_CH_ID ch_id, UINT32 request, void *param);
|
/system/bt/btif/src/ |
D | btif_media_task.c | 260 static void btif_a2dp_data_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event); 261 static void btif_a2dp_ctrl_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event); 542 static void btif_a2dp_ctrl_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event) in btif_a2dp_ctrl_cb() argument 544 UNUSED(ch_id); in btif_a2dp_ctrl_cb() 571 static void btif_a2dp_data_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event) in btif_a2dp_data_cb() argument 573 UNUSED(ch_id); in btif_a2dp_data_cb()
|