Home
last modified time | relevance | path

Searched refs:p_dest (Results 1 – 12 of 12) sorted by relevance

/system/bt/btif/src/
Dbtif_gatt_util.c83 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src) in btif_to_bta_uuid() argument
88 p_dest->len = uuidType(p_src->uu); in btif_to_bta_uuid()
90 switch (p_dest->len) in btif_to_bta_uuid()
93 p_dest->uu.uuid16 = (p_src->uu[13] << 8) + p_src->uu[12]; in btif_to_bta_uuid()
97 p_dest->uu.uuid32 = (p_src->uu[13] << 8) + p_src->uu[12]; in btif_to_bta_uuid()
98 p_dest->uu.uuid32 += (p_src->uu[15] << 24) + (p_src->uu[14] << 16); in btif_to_bta_uuid()
103 p_dest->uu.uuid128[i] = p_byte[i]; in btif_to_bta_uuid()
107 LOG_ERROR(LOG_TAG, "%s: Unknown UUID length %d!", __FUNCTION__, p_dest->len); in btif_to_bta_uuid()
112 void btif_to_bta_response(tBTA_GATTS_RSP *p_dest, btgatt_response_t* p_src) in btif_to_bta_response() argument
114 p_dest->attr_value.auth_req = p_src->attr_value.auth_req; in btif_to_bta_response()
[all …]
Dbtif_mce.c76 static void mas_discovery_comp_copy_cb(UINT16 event, char *p_dest, char *p_src) in mas_discovery_comp_copy_cb() argument
78 tBTA_MCE_MAS_DISCOVERY_COMP *p_dest_data = (tBTA_MCE_MAS_DISCOVERY_COMP *) p_dest; in mas_discovery_comp_copy_cb()
91 p_dest_str = p_dest + sizeof(tBTA_MCE_MAS_DISCOVERY_COMP); in mas_discovery_comp_copy_cb()
Dbtif_sdp.c79 static void sdp_search_comp_copy_cb(UINT16 event, char *p_dest, char *p_src) in sdp_search_comp_copy_cb() argument
81 tBTA_SDP_SEARCH_COMP *p_dest_data = (tBTA_SDP_SEARCH_COMP *) p_dest; in sdp_search_comp_copy_cb()
Dbtif_gatt_server.c118 static void btapp_gatts_copy_req_data(UINT16 event, char *p_dest, char *p_src) in btapp_gatts_copy_req_data() argument
120 tBTA_GATTS *p_dest_data = (tBTA_GATTS*) p_dest; in btapp_gatts_copy_req_data()
Dbtif_dm.c817 static void search_devices_copy_cb(UINT16 event, char *p_dest, char *p_src) in search_devices_copy_cb() argument
819 tBTA_DM_SEARCH *p_dest_data = (tBTA_DM_SEARCH *) p_dest; in search_devices_copy_cb()
833 p_dest_data->inq_res.p_eir = (UINT8 *)(p_dest + sizeof(tBTA_DM_SEARCH)); in search_devices_copy_cb()
843 p_dest_data->disc_res.p_raw_data = (UINT8 *)(p_dest + sizeof(tBTA_DM_SEARCH)); in search_devices_copy_cb()
852 static void search_services_copy_cb(UINT16 event, char *p_dest, char *p_src) in search_services_copy_cb() argument
854 tBTA_DM_SEARCH *p_dest_data = (tBTA_DM_SEARCH *) p_dest; in search_services_copy_cb()
869 (UINT8*)(p_dest + sizeof(tBTA_DM_SEARCH)); in search_services_copy_cb()
Dbtif_av.c1060 void btif_av_event_deep_copy(UINT16 event, char *p_dest, char *p_src) in btif_av_event_deep_copy() argument
1063 tBTA_AV *av_dest = (tBTA_AV *)p_dest; in btif_av_event_deep_copy()
Dbtif_gatt_client.c305 static void btapp_gattc_req_data(UINT16 event, char *p_dest, char *p_src) in btapp_gattc_req_data() argument
307 tBTA_GATTC *p_dest_data = (tBTA_GATTC*) p_dest; in btapp_gattc_req_data()
1669 static void btif_gattc_deep_copy(UINT16 event, char *p_dest, char *p_src) in btif_gattc_deep_copy() argument
1677 btif_adv_data_t *dst = (btif_adv_data_t*) p_dest; in btif_gattc_deep_copy()
/system/bt/btif/include/
Dbtif_gatt_util.h27 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src);
28 void btif_to_bta_response(tBTA_GATTS_RSP *p_dest, btgatt_response_t* p_src);
31 void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src);
33 uint16_t set_read_value(btgatt_read_params_t *p_dest, tBTA_GATTC_READ *p_src);
37 extern void btif_gatt_move_track_adv_data(btgatt_track_adv_info_t *p_dest,
Dbtif_common.h178 typedef void (tBTIF_COPY_CBACK) (UINT16 event, char *p_dest, char *p_src);
/system/bt/stack/rfcomm/
Drfc_ts_frames.c482 UINT8 *p_dest = (UINT8 *) (p_new_buf + 1) + p_new_buf->offset + p_new_buf->len - 1; in rfc_send_test() local
485 *p_dest-- = *p_src--; in rfc_send_test()
/system/bt/stack/btm/
Dbtm_ble.c1031 UINT8 *p_dest = params.param_buf; in btm_ble_rand_enc_complete() local
1052 memcpy(p_dest, p, params.param_len); /* Fetch return info from HCI event message */ in btm_ble_rand_enc_complete()
/system/bt/bta/gatt/
Dbta_gattc_cache.c50 extern void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src);