Home | History | Annotate | Download | only in jv

Lines Matching full:p_data

661 void bta_jv_enable(tBTA_JV_MSG *p_data)
664 bta_jv_cb.p_dm_cback = p_data->enable.p_cback;
679 void bta_jv_disable (tBTA_JV_MSG *p_data)
681 UNUSED(p_data);
734 void bta_jv_get_channel_id(tBTA_JV_MSG *p_data)
738 switch (p_data->alloc_channel.type) {
740 INT32 channel = p_data->alloc_channel.channel;
759 p_data->alloc_channel.user_data);
776 bta_jv_cb.p_dm_cback(BTA_JV_GET_PSM_EVT, (tBTA_JV *)&psm, p_data->alloc_channel.user_data);
788 void bta_jv_free_scn(tBTA_JV_MSG *p_data)
790 UINT16 scn = p_data->free_channel.scn;
792 switch (p_data->free_channel.type) {
899 void bta_jv_start_discovery(tBTA_JV_MSG *p_data)
908 bta_jv_cb.p_dm_cback(BTA_JV_DISCOVERY_COMP_EVT, (tBTA_JV *)&status, p_data->start_discovery.user_data);
913 APPL_TRACE_DEBUG("call SDP_InitDiscoveryDb, p_data->start_discovery.num_uuid:%d",
914 p_data->start_discovery.num_uuid);
916 p_data->start_discovery.num_uuid, p_data->start_discovery.uuid_list, 0, NULL);
923 bta_jv_cb.uuid = p_data->start_discovery.uuid_list[0];
926 if (!SDP_ServiceSearchAttributeRequest2(p_data->start_discovery.bd_addr,
928 bta_jv_start_discovery_cback, p_data->start_discovery.user_data))
933 bta_jv_cb.p_dm_cback(BTA_JV_DISCOVERY_COMP_EVT, (tBTA_JV *)&status, p_data->start_discovery.user_data);
949 void bta_jv_create_record(tBTA_JV_MSG *p_data)
951 tBTA_JV_API_CREATE_RECORD *cr = &(p_data->create_record);
969 void bta_jv_delete_record(tBTA_JV_MSG *p_data)
971 tBTA_JV_API_ADD_ATTRIBUTE *dr = &(p_data->add_attr);
1050 void bta_jv_l2cap_connect(tBTA_JV_MSG *p_data)
1057 tBTA_JV_API_L2CAP_CONNECT *cc = &(p_data->l2cap_connect);
1131 void bta_jv_l2cap_close(tBTA_JV_MSG *p_data)
1134 tBTA_JV_API_L2CAP_CLOSE *cc = &(p_data->l2cap_close);
1220 void bta_jv_l2cap_start_server(tBTA_JV_MSG *p_data)
1227 tBTA_JV_API_L2CAP_SERVER *ls = &(p_data->l2cap_server);
1295 void bta_jv_l2cap_stop_server(tBTA_JV_MSG *p_data)
1299 tBTA_JV_API_L2CAP_SERVER *ls = &(p_data->l2cap_server);
1329 void bta_jv_l2cap_read(tBTA_JV_MSG *p_data)
1332 tBTA_JV_API_L2CAP_READ *rc = &(p_data->l2cap_read);
1337 evt_data.p_data = rc->p_data;
1340 if (BT_PASS == GAP_ConnReadData(rc->handle, rc->p_data, rc->len, &evt_data.len))
1358 void bta_jv_l2cap_write(tBTA_JV_MSG *p_data)
1361 tBTA_JV_API_L2CAP_WRITE *ls = &(p_data->l2cap_write);
1384 BT_PASS == GAP_ConnWriteData(ls->handle, ls->p_data, ls->len, &evt_data.len))
1405 void bta_jv_l2cap_write_fixed(tBTA_JV_MSG *p_data)
1408 tBTA_JV_API_L2CAP_WRITE_FIXED *ls = &(p_data->l2cap_write_fixed);
1418 memcpy(((uint8_t*)(msg + 1)) + L2CAP_MIN_OFFSET, ls->p_data, ls->len);
1566 void bta_jv_rfcomm_connect(tBTA_JV_MSG *p_data)
1574 tBTA_JV_API_RFCOMM_CONNECT *cc = &(p_data->rfcomm_connect);
1674 void bta_jv_rfcomm_close(tBTA_JV_MSG *p_data)
1676 tBTA_JV_API_RFCOMM_CLOSE *cc = &(p_data->rfcomm_close);
1903 void bta_jv_rfcomm_start_server(tBTA_JV_MSG *p_data)
1911 tBTA_JV_API_RFCOMM_SERVER *rs = &(p_data->rfcomm_server);
1994 void bta_jv_rfcomm_stop_server(tBTA_JV_MSG *p_data)
1996 tBTA_JV_API_RFCOMM_SERVER *ls = &(p_data->rfcomm_server);
2024 void bta_jv_rfcomm_write(tBTA_JV_MSG *p_data)
2026 tBTA_JV_API_RFCOMM_WRITE *wc = &(p_data->rfcomm_write);
2064 void bta_jv_set_pm_profile(tBTA_JV_MSG *p_data)
2070 p_data->set_pm.handle, p_data->set_pm.app_id, p_data->set_pm.init_st);
2073 if (p_data->set_pm.app_id == BTA_JV_PM_ID_CLEAR)
2075 status = bta_jv_free_set_pm_profile_cb(p_data->set_pm.handle);
2085 p_cb = bta_jv_alloc_set_pm_profile_cb(p_data->set_pm.handle,
2086 p_data->set_pm.app_id);
2089 bta_jv_pm_state_change(p_cb, p_data->set_pm.init_st);
2104 void bta_jv_change_pm_state(tBTA_JV_MSG *p_data)
2106 tBTA_JV_API_PM_STATE_CHANGE *p_msg = (tBTA_JV_API_PM_STATE_CHANGE *)p_data;
2511 void bta_jv_l2cap_connect_le(tBTA_JV_MSG *p_data)
2513 tBTA_JV_API_L2CAP_CONNECT *cc = &(p_data->l2cap_connect);
2563 void bta_jv_l2cap_stop_server_le(tBTA_JV_MSG *p_data)
2566 tBTA_JV_API_L2CAP_SERVER *ls = &(p_data->l2cap_server);
2603 void bta_jv_l2cap_start_server_le(tBTA_JV_MSG *p_data)
2605 tBTA_JV_API_L2CAP_SERVER *ss = &(p_data->l2cap_server);
2638 extern void bta_jv_l2cap_close_fixed (tBTA_JV_MSG *p_data)
2640 tBTA_JV_API_L2CAP_CLOSE *cc = &(p_data->l2cap_close);