Home
last modified time | relevance | path

Searched refs:p_src (Results 1 – 21 of 21) 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
85 char *p_byte = (char*)p_src; in btif_to_bta_uuid()
88 p_dest->len = uuidType(p_src->uu); 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()
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()
115 p_dest->attr_value.handle = p_src->attr_value.handle; in btif_to_bta_response()
116 p_dest->attr_value.len = p_src->attr_value.len; in btif_to_bta_response()
[all …]
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
82 tBTA_SDP_SEARCH_COMP *p_src_data = (tBTA_SDP_SEARCH_COMP *) p_src; in sdp_search_comp_copy_cb()
84 if (!p_src) in sdp_search_comp_copy_cb()
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
79 tBTA_MCE_MAS_DISCOVERY_COMP *p_src_data = (tBTA_MCE_MAS_DISCOVERY_COMP *) p_src; in mas_discovery_comp_copy_cb()
83 if (!p_src) in mas_discovery_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
121 tBTA_GATTS *p_src_data = (tBTA_GATTS*) p_src; 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
820 tBTA_DM_SEARCH *p_src_data = (tBTA_DM_SEARCH *) p_src; in search_devices_copy_cb()
822 if (!p_src) 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
855 tBTA_DM_SEARCH *p_src_data = (tBTA_DM_SEARCH *) p_src; in search_services_copy_cb()
857 if (!p_src) 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
1062 tBTA_AV *av_src = (tBTA_AV *)p_src; 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
308 tBTA_GATTC *p_src_data = (tBTA_GATTC*) p_src; 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
1676 const btif_adv_data_t *src = (btif_adv_data_t*) p_src; 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);
29 void btif_to_bta_uuid_mask(tBTA_DM_BLE_PF_COND_MASK *p_mask, bt_uuid_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);
38 btgatt_track_adv_info_t *p_src);
Dbtif_common.h178 typedef void (tBTIF_COPY_CBACK) (UINT16 event, char *p_dest, char *p_src);
/system/bt/bta/include/
Dbta_av_sbc.h77 extern int bta_av_sbc_up_sample (void *p_src, void *p_dst,
98 extern int bta_av_sbc_up_sample_16s (void *p_src, void *p_dst,
119 extern int bta_av_sbc_up_sample_16m (void *p_src, void *p_dst,
140 extern int bta_av_sbc_up_sample_8s (void *p_src, void *p_dst,
161 extern int bta_av_sbc_up_sample_8m (void *p_src, void *p_dst,
Dbta_api.h1685 extern INT32 BTA_DmPcmResample (void *p_src, UINT32 in_bytes, void *p_dst);
/system/bt/bta/av/
Dbta_av_sbc.c31 typedef int (tBTA_AV_SBC_ACT)(void *p_src, void *p_dst,
127 int bta_av_sbc_up_sample (void *p_src, void *p_dst, in bta_av_sbc_up_sample() argument
138 return (*bta_av_sbc_ups_cb.p_act)(p_src, p_dst, src, dst, p_ret); in bta_av_sbc_up_sample()
164 int bta_av_sbc_up_sample_16s (void *p_src, void *p_dst, in bta_av_sbc_up_sample_16s() argument
168 INT16 *p_src_tmp = (INT16 *)p_src; in bta_av_sbc_up_sample_16s()
206 *p_ret = ((char *)p_src_tmp - (char *)p_src); in bta_av_sbc_up_sample_16s()
227 int bta_av_sbc_up_sample_16m (void *p_src, void *p_dst, in bta_av_sbc_up_sample_16m() argument
231 INT16 *p_src_tmp = (INT16 *)p_src; in bta_av_sbc_up_sample_16m()
271 *p_ret = ((char *)p_src_tmp - (char *)p_src); in bta_av_sbc_up_sample_16m()
292 int bta_av_sbc_up_sample_8s (void *p_src, void *p_dst, in bta_av_sbc_up_sample_8s() argument
[all …]
/system/bt/stack/a2dp/
Da2d_sbc.c216 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN *p_last, UINT8 *p_n… in A2D_ParsSbcMplHdr() argument
218 if(p_src && p_frag && p_start && p_last && p_num) in A2D_ParsSbcMplHdr()
220 *p_frag = (*p_src & A2D_SBC_HDR_F_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
221 *p_start= (*p_src & A2D_SBC_HDR_S_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
222 *p_last = (*p_src & A2D_SBC_HDR_L_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
223 *p_num = (*p_src & A2D_SBC_HDR_NUM_MSK); in A2D_ParsSbcMplHdr()
/system/bt/btif/co/
Dbta_av_co.c138 tBTA_AV_CO_SINK *p_src; /* currently selected src */ member
465 tBTA_AV_CO_SINK *p_src; in bta_av_audio_sink_getconfig() local
506 p_src = &p_peer->srcs[p_peer->num_sup_srcs++]; in bta_av_audio_sink_getconfig()
512 memcpy(p_src->codec_caps, p_codec_info, AVDT_CODEC_SIZE); in bta_av_audio_sink_getconfig()
513 p_src->codec_type = codec_type; in bta_av_audio_sink_getconfig()
514 p_src->sep_info_idx = *p_sep_info_idx; in bta_av_audio_sink_getconfig()
515 p_src->seid = seid; in bta_av_audio_sink_getconfig()
516 p_src->num_protect = *p_num_protect; in bta_av_audio_sink_getconfig()
517 memcpy(p_src->protect_info, p_protect_info, BTA_AV_CP_INFO_LEN); in bta_av_audio_sink_getconfig()
538 p_src = &p_peer->srcs[index]; in bta_av_audio_sink_getconfig()
[all …]
/system/bt/bta/gatt/
Dbta_gattc_utils.c75 BOOLEAN bta_gattc_uuid_compare (const tBT_UUID *p_src, const tBT_UUID *p_tar, BOOLEAN is_precise) in bta_gattc_uuid_compare() argument
81 if (p_src == 0 || p_tar == 0) in bta_gattc_uuid_compare()
90 if (p_src->len == 2 && p_tar->len == 2) in bta_gattc_uuid_compare()
92 return p_src->uu.uuid16 == p_tar->uu.uuid16; in bta_gattc_uuid_compare()
96 if (p_src->len == LEN_UUID_16) in bta_gattc_uuid_compare()
99 bta_gatt_convert_uuid16_to_uuid128(su, p_src->uu.uuid16); in bta_gattc_uuid_compare()
103 ps = p_src->uu.uuid128; in bta_gattc_uuid_compare()
Dbta_gattc_int.h468 extern BOOLEAN bta_gattc_uuid_compare (const tBT_UUID *p_src, const tBT_UUID *p_tar, BOOLEAN is_pre…
Dbta_gattc_cache.c50 extern void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src);
/system/bt/stack/include/
Da2d_sbc.h205 extern void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag,
Dbtm_api.h1245 #define BTM_SEC_COPY_TRUSTED_DEVICE(p_src, p_dst) {UINT32 trst; for (trst = 0; trst < BTM_SEC_SER… argument
1246 … ((UINT32 *)(p_dst))[trst] = ((UINT32 *)(p_src))[trst];}
/system/bt/bta/dm/
Dbta_dm_sco.c671 INT32 BTA_DmPcmResample (void *p_src, UINT32 in_bytes, void *p_dst) in BTA_DmPcmResample() argument
680 out_sample = (*bta_dm_pcm_cb.filter) (p_src, p_dst, (in_bytes / bta_dm_pcm_cb.divisor), in BTA_DmPcmResample()
685 out_sample = (*bta_dm_pcm_cb.nofilter) (p_src, p_dst, in BTA_DmPcmResample()
/system/bt/stack/rfcomm/
Drfc_ts_frames.c475 UINT8 *p_src = (UINT8 *) (p_buf + 1) + p_buf->offset + p_buf->len - 1; in rfc_send_test() local
485 *p_dest-- = *p_src--; in rfc_send_test()