Home
last modified time | relevance | path

Searched refs:p_dest_data (Results 1 – 5 of 5) sorted by relevance

/system/bt/btif/src/
Dbtif_sdp.c80 tBTA_SDP_SEARCH_COMP *p_dest_data = (tBTA_SDP_SEARCH_COMP *) p_dest; in sdp_search_comp_copy_cb() local
89 memcpy(p_dest_data, p_src_data, sizeof(tBTA_SDP_SEARCH_COMP)); in sdp_search_comp_copy_cb()
91 copy_sdp_records(p_src_data->records, p_dest_data->records, p_src_data->record_count); in sdp_search_comp_copy_cb()
Dbtif_mce.c77 tBTA_MCE_MAS_DISCOVERY_COMP *p_dest_data = (tBTA_MCE_MAS_DISCOVERY_COMP *) p_dest; in mas_discovery_comp_copy_cb() local
88 memcpy(p_dest_data, p_src_data, sizeof(tBTA_MCE_MAS_DISCOVERY_COMP)); in mas_discovery_comp_copy_cb()
94 p_dest_data->mas[i].p_srv_name = p_dest_str; in mas_discovery_comp_copy_cb()
Dbtif_gatt_server.c124 tBTA_GATTS *p_dest_data = (tBTA_GATTS*) p_dest; in btapp_gatts_copy_req_data() local
127 if (!p_src_data || !p_dest_data) in btapp_gatts_copy_req_data()
131 memcpy(p_dest_data, p_src_data, sizeof(tBTA_GATTS)); in btapp_gatts_copy_req_data()
140 p_dest_data->req_data.p_data = GKI_getbuf(sizeof(tBTA_GATTS_REQ_DATA)); in btapp_gatts_copy_req_data()
141 if (p_dest_data->req_data.p_data != NULL) in btapp_gatts_copy_req_data()
143 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data, in btapp_gatts_copy_req_data()
Dbtif_dm.c773 tBTA_DM_SEARCH *p_dest_data = (tBTA_DM_SEARCH *) p_dest; in search_devices_copy_cb() local
780 memcpy(p_dest_data, p_src_data, sizeof(tBTA_DM_SEARCH)); in search_devices_copy_cb()
787 p_dest_data->inq_res.p_eir = (UINT8 *)(p_dest + sizeof(tBTA_DM_SEARCH)); in search_devices_copy_cb()
788 … memcpy(p_dest_data->inq_res.p_eir, p_src_data->inq_res.p_eir, HCI_EXT_INQ_RESPONSE_LEN); in search_devices_copy_cb()
797 p_dest_data->disc_res.p_raw_data = (UINT8 *)(p_dest + sizeof(tBTA_DM_SEARCH)); in search_devices_copy_cb()
798 memcpy(p_dest_data->disc_res.p_raw_data, in search_devices_copy_cb()
808 tBTA_DM_SEARCH *p_dest_data = (tBTA_DM_SEARCH *) p_dest; in search_services_copy_cb() local
813 memcpy(p_dest_data, p_src_data, sizeof(tBTA_DM_SEARCH)); in search_services_copy_cb()
822 p_dest_data->disc_res.p_uuid_list = in search_services_copy_cb()
824 memcpy(p_dest_data->disc_res.p_uuid_list, p_src_data->disc_res.p_uuid_list, in search_services_copy_cb()
Dbtif_gatt_client.c312 tBTA_GATTC *p_dest_data = (tBTA_GATTC*) p_dest; in btapp_gattc_req_data() local
315 if (!p_src_data || !p_dest_data) in btapp_gattc_req_data()
319 memcpy(p_dest_data, p_src_data, sizeof(tBTA_GATTC)); in btapp_gattc_req_data()
329 p_dest_data->read.p_value = GKI_getbuf(sizeof(tBTA_GATT_READ_VAL)); in btapp_gattc_req_data()
331 if (p_dest_data->read.p_value != NULL) in btapp_gattc_req_data()
333 memcpy(p_dest_data->read.p_value, p_src_data->read.p_value, in btapp_gattc_req_data()
341 p_dest_data->read.p_value->unformat.p_value = in btapp_gattc_req_data()
343 if (p_dest_data->read.p_value->unformat.p_value != NULL) in btapp_gattc_req_data()
345 memcpy(p_dest_data->read.p_value->unformat.p_value, in btapp_gattc_req_data()
356 p_dest_data->read.p_value = NULL; in btapp_gattc_req_data()