Searched refs:ch_id (Results 1 – 3 of 3) sorted by relevance
/system/bt/udrv/ulinux/ |
D | uipc.cc | 81 static int uipc_close_ch_locked(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id); 239 static int uipc_check_fd_locked(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id) { in uipc_check_fd_locked() argument 240 if (ch_id >= UIPC_CH_NUM) return -1; in uipc_check_fd_locked() 245 if (SAFE_FD_ISSET(uipc.ch[ch_id].srvfd, &uipc.read_set)) { in uipc_check_fd_locked() 246 BTIF_TRACE_EVENT("INCOMING CONNECTION ON CH %d", ch_id); in uipc_check_fd_locked() 249 if (uipc.ch[ch_id].fd != UIPC_DISCONNECTED) { in uipc_check_fd_locked() 250 BTIF_TRACE_EVENT("CLOSE CONNECTION (FD %d)", uipc.ch[ch_id].fd); in uipc_check_fd_locked() 251 close(uipc.ch[ch_id].fd); in uipc_check_fd_locked() 252 FD_CLR(uipc.ch[ch_id].fd, &uipc.active_set); in uipc_check_fd_locked() 253 uipc.ch[ch_id].fd = UIPC_DISCONNECTED; in uipc_check_fd_locked() [all …]
|
/system/bt/udrv/include/ |
D | uipc.h | 52 tUIPC_CH_ID ch_id, 96 bool UIPC_Open(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id, tUIPC_RCV_CBACK* p_cback, 104 void UIPC_Close(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id); 115 bool UIPC_Send(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id, uint16_t msg_evt, 127 uint32_t UIPC_Read(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id, uint16_t* p_msg_evt, 138 bool UIPC_Ioctl(tUIPC_STATE& uipc, tUIPC_CH_ID ch_id, uint32_t request,
|
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 46 static void btif_a2dp_data_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event); 47 static void btif_a2dp_ctrl_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event); 322 static void btif_a2dp_ctrl_cb(UNUSED_ATTR tUIPC_CH_ID ch_id, in btif_a2dp_ctrl_cb() argument 356 static void btif_a2dp_data_cb(UNUSED_ATTR tUIPC_CH_ID ch_id, in btif_a2dp_data_cb() argument
|