• Home
  • Raw
  • Download

Lines Matching refs:evt_data

824   tBTA_JV_CREATE_RECORD evt_data;  in bta_jv_create_record()  local
825 evt_data.status = BTA_JV_SUCCESS; in bta_jv_create_record()
829 bta_jv.create_rec = evt_data; in bta_jv_create_record()
854 tBTA_JV evt_data; in bta_jv_l2cap_client_cback() local
860 evt_data.l2c_open.status = BTA_JV_SUCCESS; in bta_jv_l2cap_client_cback()
861 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_client_cback()
865 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_client_cback()
866 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_client_cback()
868 p_cb->p_cback(BTA_JV_L2CAP_OPEN_EVT, &evt_data, p_cb->l2cap_socket_id); in bta_jv_l2cap_client_cback()
874 evt_data.l2c_close.async = true; in bta_jv_l2cap_client_cback()
875 p_cb->p_cback(BTA_JV_L2CAP_CLOSE_EVT, &evt_data, p_cb->l2cap_socket_id); in bta_jv_l2cap_client_cback()
880 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_client_cback()
883 p_cb->p_cback(BTA_JV_L2CAP_DATA_IND_EVT, &evt_data, in bta_jv_l2cap_client_cback()
895 evt_data.l2c_cong.cong = p_cb->cong; in bta_jv_l2cap_client_cback()
896 p_cb->p_cback(BTA_JV_L2CAP_CONG_EVT, &evt_data, p_cb->l2cap_socket_id); in bta_jv_l2cap_client_cback()
934 tBTA_JV_L2CAP_CL_INIT evt_data; in bta_jv_l2cap_connect() local
935 evt_data.sec_id = sec_id; in bta_jv_l2cap_connect()
936 evt_data.status = BTA_JV_FAILURE; in bta_jv_l2cap_connect()
948 evt_data.status = BTA_JV_SUCCESS; in bta_jv_l2cap_connect()
953 if (evt_data.status == BTA_JV_SUCCESS) { in bta_jv_l2cap_connect()
966 evt_data.handle = handle; in bta_jv_l2cap_connect()
969 bta_jv.l2c_cl_init = evt_data; in bta_jv_l2cap_connect()
976 tBTA_JV_L2CAP_CLOSE evt_data; in bta_jv_l2cap_close() local
980 evt_data.handle = handle; in bta_jv_l2cap_close()
981 evt_data.status = bta_jv_free_l2c_cb(p_cb); in bta_jv_l2cap_close()
982 evt_data.async = false; in bta_jv_l2cap_close()
986 bta_jv.l2c_close = evt_data; in bta_jv_l2cap_close()
1003 tBTA_JV evt_data; in bta_jv_l2cap_server_cback() local
1011 evt_data.l2c_open.status = BTA_JV_SUCCESS; in bta_jv_l2cap_server_cback()
1012 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_server_cback()
1016 evt_data.l2c_open.rem_bda = *GAP_ConnGetRemoteAddr(gap_handle); in bta_jv_l2cap_server_cback()
1017 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_server_cback()
1019 p_cb->p_cback(BTA_JV_L2CAP_OPEN_EVT, &evt_data, p_cb->l2cap_socket_id); in bta_jv_l2cap_server_cback()
1023 evt_data.l2c_close.async = true; in bta_jv_l2cap_server_cback()
1024 evt_data.l2c_close.handle = p_cb->handle; in bta_jv_l2cap_server_cback()
1027 evt_data.l2c_close.status = bta_jv_free_l2c_cb(p_cb); in bta_jv_l2cap_server_cback()
1028 p_cback(BTA_JV_L2CAP_CLOSE_EVT, &evt_data, socket_id); in bta_jv_l2cap_server_cback()
1032 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_server_cback()
1035 p_cb->p_cback(BTA_JV_L2CAP_DATA_IND_EVT, &evt_data, in bta_jv_l2cap_server_cback()
1047 evt_data.l2c_cong.cong = p_cb->cong; in bta_jv_l2cap_server_cback()
1048 p_cb->p_cback(BTA_JV_L2CAP_CONG_EVT, &evt_data, p_cb->l2cap_socket_id); in bta_jv_l2cap_server_cback()
1065 tBTA_JV_L2CAP_START evt_data; in bta_jv_l2cap_start_server() local
1100 evt_data.status = BTA_JV_FAILURE; in bta_jv_l2cap_start_server()
1103 evt_data.status = BTA_JV_SUCCESS; in bta_jv_l2cap_start_server()
1104 evt_data.handle = handle; in bta_jv_l2cap_start_server()
1105 evt_data.sec_id = sec_id; in bta_jv_l2cap_start_server()
1116 bta_jv.l2c_start = evt_data; in bta_jv_l2cap_start_server()
1127 tBTA_JV_L2CAP_CLOSE evt_data; in bta_jv_l2cap_stop_server() local
1128 evt_data.handle = p_cb->handle; in bta_jv_l2cap_stop_server()
1129 evt_data.status = bta_jv_free_l2c_cb(p_cb); in bta_jv_l2cap_stop_server()
1130 evt_data.async = false; in bta_jv_l2cap_stop_server()
1133 bta_jv.l2c_close = evt_data; in bta_jv_l2cap_stop_server()
1168 tBTA_JV_L2CAP_WRITE evt_data; in bta_jv_l2cap_write() local
1169 evt_data.status = BTA_JV_FAILURE; in bta_jv_l2cap_write()
1170 evt_data.handle = handle; in bta_jv_l2cap_write()
1171 evt_data.req_id = req_id; in bta_jv_l2cap_write()
1172 evt_data.cong = p_cb->cong; in bta_jv_l2cap_write()
1173 evt_data.len = msg->len; in bta_jv_l2cap_write()
1180 if (evt_data.cong) { in bta_jv_l2cap_write()
1184 evt_data.status = BTA_JV_SUCCESS; in bta_jv_l2cap_write()
1188 bta_jv.l2c_write = evt_data; in bta_jv_l2cap_write()
1196 tBTA_JV_L2CAP_WRITE_FIXED evt_data; in bta_jv_l2cap_write_fixed() local
1197 evt_data.status = BTA_JV_FAILURE; in bta_jv_l2cap_write_fixed()
1198 evt_data.channel = channel; in bta_jv_l2cap_write_fixed()
1199 evt_data.addr = addr; in bta_jv_l2cap_write_fixed()
1200 evt_data.req_id = req_id; in bta_jv_l2cap_write_fixed()
1201 evt_data.len = 0; in bta_jv_l2cap_write_fixed()
1206 bta_jv.l2c_write_fixed = evt_data; in bta_jv_l2cap_write_fixed()
1255 tBTA_JV evt_data; in bta_jv_port_mgmt_cl_cback() local
1269 evt_data.rfc_open.handle = p_cb->handle; in bta_jv_port_mgmt_cl_cback()
1270 evt_data.rfc_open.status = BTA_JV_SUCCESS; in bta_jv_port_mgmt_cl_cback()
1271 evt_data.rfc_open.rem_bda = rem_bda; in bta_jv_port_mgmt_cl_cback()
1273 p_cb->p_cback(BTA_JV_RFCOMM_OPEN_EVT, &evt_data, p_pcb->rfcomm_slot_id); in bta_jv_port_mgmt_cl_cback()
1275 evt_data.rfc_close.handle = p_cb->handle; in bta_jv_port_mgmt_cl_cback()
1276 evt_data.rfc_close.status = BTA_JV_FAILURE; in bta_jv_port_mgmt_cl_cback()
1277 evt_data.rfc_close.port_status = code; in bta_jv_port_mgmt_cl_cback()
1278 evt_data.rfc_close.async = true; in bta_jv_port_mgmt_cl_cback()
1280 evt_data.rfc_close.async = false; in bta_jv_port_mgmt_cl_cback()
1285 p_cback(BTA_JV_RFCOMM_CLOSE_EVT, &evt_data, p_pcb->rfcomm_slot_id); in bta_jv_port_mgmt_cl_cback()
1302 tBTA_JV evt_data; in bta_jv_port_event_cl_cback() local
1310 evt_data.data_ind.handle = p_cb->handle; in bta_jv_port_event_cl_cback()
1311 p_cb->p_cback(BTA_JV_RFCOMM_DATA_IND_EVT, &evt_data, p_pcb->rfcomm_slot_id); in bta_jv_port_event_cl_cback()
1316 evt_data.rfc_cong.cong = p_pcb->cong; in bta_jv_port_event_cl_cback()
1317 evt_data.rfc_cong.handle = p_cb->handle; in bta_jv_port_event_cl_cback()
1318 evt_data.rfc_cong.status = BTA_JV_SUCCESS; in bta_jv_port_event_cl_cback()
1319 p_cb->p_cback(BTA_JV_RFCOMM_CONG_EVT, &evt_data, p_pcb->rfcomm_slot_id); in bta_jv_port_event_cl_cback()
1342 tBTA_JV_RFCOMM_CL_INIT evt_data; in bta_jv_rfcomm_connect() local
1343 memset(&evt_data, 0, sizeof(evt_data)); in bta_jv_rfcomm_connect()
1344 evt_data.sec_id = sec_id; in bta_jv_rfcomm_connect()
1345 evt_data.status = BTA_JV_SUCCESS; in bta_jv_rfcomm_connect()
1349 evt_data.status = BTA_JV_FAILURE; in bta_jv_rfcomm_connect()
1355 if (evt_data.status == BTA_JV_SUCCESS && in bta_jv_rfcomm_connect()
1360 evt_data.status = BTA_JV_FAILURE; in bta_jv_rfcomm_connect()
1362 if (evt_data.status == BTA_JV_SUCCESS) { in bta_jv_rfcomm_connect()
1371 evt_data.use_co = true; in bta_jv_rfcomm_connect()
1383 evt_data.handle = p_cb->handle; in bta_jv_rfcomm_connect()
1385 evt_data.status = BTA_JV_FAILURE; in bta_jv_rfcomm_connect()
1390 bta_jv.rfc_cl_init = evt_data; in bta_jv_rfcomm_connect()
1452 tBTA_JV evt_data; in bta_jv_port_mgmt_sr_cback() local
1474 evt_data.rfc_srv_open.handle = p_pcb->handle; in bta_jv_port_mgmt_sr_cback()
1475 evt_data.rfc_srv_open.status = BTA_JV_SUCCESS; in bta_jv_port_mgmt_sr_cback()
1476 evt_data.rfc_srv_open.rem_bda = rem_bda; in bta_jv_port_mgmt_sr_cback()
1479 evt_data.rfc_srv_open.new_listen_handle = p_pcb_new_listen->handle; in bta_jv_port_mgmt_sr_cback()
1481 p_cb->p_cback(BTA_JV_RFCOMM_SRV_OPEN_EVT, &evt_data, rfcomm_slot_id); in bta_jv_port_mgmt_sr_cback()
1489 evt_data.rfc_close.handle = p_cb->handle; in bta_jv_port_mgmt_sr_cback()
1490 evt_data.rfc_close.status = BTA_JV_FAILURE; in bta_jv_port_mgmt_sr_cback()
1491 evt_data.rfc_close.async = true; in bta_jv_port_mgmt_sr_cback()
1492 evt_data.rfc_close.port_status = code; in bta_jv_port_mgmt_sr_cback()
1500 evt_data.rfc_close.async = false; in bta_jv_port_mgmt_sr_cback()
1501 evt_data.rfc_close.status = BTA_JV_SUCCESS; in bta_jv_port_mgmt_sr_cback()
1504 p_cback(BTA_JV_RFCOMM_CLOSE_EVT, &evt_data, rfcomm_slot_id); in bta_jv_port_mgmt_sr_cback()
1525 tBTA_JV evt_data; in bta_jv_port_event_sr_cback() local
1538 evt_data.data_ind.handle = p_cb->handle; in bta_jv_port_event_sr_cback()
1539 p_cb->p_cback(BTA_JV_RFCOMM_DATA_IND_EVT, &evt_data, user_data); in bta_jv_port_event_sr_cback()
1544 evt_data.rfc_cong.cong = p_pcb->cong; in bta_jv_port_event_sr_cback()
1545 evt_data.rfc_cong.handle = p_cb->handle; in bta_jv_port_event_sr_cback()
1546 evt_data.rfc_cong.status = BTA_JV_SUCCESS; in bta_jv_port_event_sr_cback()
1547 p_cb->p_cback(BTA_JV_RFCOMM_CONG_EVT, &evt_data, user_data); in bta_jv_port_event_sr_cback()
1645 tBTA_JV_RFCOMM_START evt_data; in bta_jv_rfcomm_start_server() local
1650 memset(&evt_data, 0, sizeof(evt_data)); in bta_jv_rfcomm_start_server()
1651 evt_data.status = BTA_JV_FAILURE; in bta_jv_rfcomm_start_server()
1684 evt_data.status = BTA_JV_SUCCESS; in bta_jv_rfcomm_start_server()
1685 evt_data.handle = p_cb->handle; in bta_jv_rfcomm_start_server()
1686 evt_data.sec_id = sec_id; in bta_jv_rfcomm_start_server()
1687 evt_data.use_co = true; in bta_jv_rfcomm_start_server()
1700 bta_jv.rfc_start = evt_data; in bta_jv_rfcomm_start_server()
1737 tBTA_JV_RFCOMM_WRITE evt_data; in bta_jv_rfcomm_write() local
1738 evt_data.status = BTA_JV_FAILURE; in bta_jv_rfcomm_write()
1739 evt_data.handle = handle; in bta_jv_rfcomm_write()
1740 evt_data.req_id = req_id; in bta_jv_rfcomm_write()
1741 evt_data.cong = p_pcb->cong; in bta_jv_rfcomm_write()
1742 evt_data.len = 0; in bta_jv_rfcomm_write()
1746 if (!evt_data.cong && in bta_jv_rfcomm_write()
1747 PORT_WriteDataCO(p_pcb->port_handle, &evt_data.len) == PORT_SUCCESS) { in bta_jv_rfcomm_write()
1748 evt_data.status = BTA_JV_SUCCESS; in bta_jv_rfcomm_write()
1752 evt_data.cong = p_pcb->cong; in bta_jv_rfcomm_write()
1760 bta_jv.rfc_write = evt_data; in bta_jv_rfcomm_write()
2110 tBTA_JV evt_data; in fcchan_data_cbk() local
2129 evt_data.le_data_ind.handle = t->id; in fcchan_data_cbk()
2130 evt_data.le_data_ind.p_buf = p_buf; in fcchan_data_cbk()
2132 if (sock_cback) sock_cback(BTA_JV_L2CAP_DATA_IND_EVT, &evt_data, sock_id); in fcchan_data_cbk()
2211 tBTA_JV_L2CAP_START evt_data; in bta_jv_l2cap_start_server_le() local
2212 evt_data.handle = GAP_INVALID_HANDLE; in bta_jv_l2cap_start_server_le()
2213 evt_data.status = BTA_JV_FAILURE; in bta_jv_l2cap_start_server_le()
2222 evt_data.status = BTA_JV_SUCCESS; in bta_jv_l2cap_start_server_le()
2223 evt_data.handle = t->id; in bta_jv_l2cap_start_server_le()
2224 evt_data.sec_id = t->sec_id; in bta_jv_l2cap_start_server_le()
2228 bta_jv.l2c_start = evt_data; in bta_jv_l2cap_start_server_le()