Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_mce.c79 tBTA_MCE_MAS_DISCOVERY_COMP *p_src_data = (tBTA_MCE_MAS_DISCOVERY_COMP *) p_src; in mas_discovery_comp_copy_cb() local
89 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in mas_discovery_comp_copy_cb()
93 for (i = 0; i < p_src_data->num_mas; i++) in mas_discovery_comp_copy_cb()
96 memcpy(p_dest_str, p_src_data->mas[i].p_srv_name, p_src_data->mas[i].srv_name_len); in mas_discovery_comp_copy_cb()
97 p_dest_str += p_src_data->mas[i].srv_name_len; in mas_discovery_comp_copy_cb()
Dbtif_sdp.c82 tBTA_SDP_SEARCH_COMP *p_src_data = (tBTA_SDP_SEARCH_COMP *) p_src; in sdp_search_comp_copy_cb() local
90 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in sdp_search_comp_copy_cb()
92 copy_sdp_records(p_src_data->records, p_dest_data->records, p_src_data->record_count); in sdp_search_comp_copy_cb()
Dbtif_gatt_server.c121 tBTA_GATTS *p_src_data = (tBTA_GATTS*) p_src; in btapp_gatts_copy_req_data() local
123 if (!p_src_data || !p_dest_data) in btapp_gatts_copy_req_data()
127 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in btapp_gatts_copy_req_data()
137 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data, in btapp_gatts_copy_req_data()
Dbtif_dm.c829 tBTA_DM_SEARCH *p_src_data = (tBTA_DM_SEARCH *) p_src; in search_devices_copy_cb() local
835 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in search_devices_copy_cb()
840 if (p_src_data->inq_res.p_eir) in search_devices_copy_cb()
843 … 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()
850 if (p_src_data->disc_res.raw_data_size && p_src_data->disc_res.p_raw_data) in search_devices_copy_cb()
854 p_src_data->disc_res.p_raw_data, p_src_data->disc_res.raw_data_size); in search_devices_copy_cb()
864 tBTA_DM_SEARCH *p_src_data = (tBTA_DM_SEARCH *) p_src; in search_services_copy_cb() local
868 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in search_services_copy_cb()
873 if (p_src_data->disc_res.result == BTA_SUCCESS) in search_services_copy_cb()
875 if (p_src_data->disc_res.num_uuids > 0) in search_services_copy_cb()
[all …]
Dbtif_gatt_client.c308 tBTA_GATTC *p_src_data = (tBTA_GATTC*) p_src; in btapp_gattc_req_data() local
310 if (!p_src_data || !p_dest_data) in btapp_gattc_req_data()
314 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in btapp_gattc_req_data()
322 if (p_src_data->read.p_value != NULL) in btapp_gattc_req_data()
326 memcpy(p_dest_data->read.p_value, p_src_data->read.p_value, in btapp_gattc_req_data()
330 if (p_src_data->read.p_value->len > 0 && in btapp_gattc_req_data()
331 p_src_data->read.p_value->p_value != NULL) { in btapp_gattc_req_data()
333 osi_malloc(p_src_data->read.p_value->len); in btapp_gattc_req_data()
335 p_src_data->read.p_value->p_value, in btapp_gattc_req_data()
336 p_src_data->read.p_value->len); in btapp_gattc_req_data()