/system/bt/btif/include/ |
H A D | btif_gatt_util.h | 25 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src); 26 void btif_to_bta_gatt_id(tBTA_GATT_ID *p_dest, btgatt_gatt_id_t *p_src); 27 void btif_to_bta_srvc_id(tBTA_GATT_SRVC_ID *p_dest, btgatt_srvc_id_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); 32 void bta_to_btif_srvc_id(btgatt_srvc_id_t *p_dest, tBTA_GATT_SRVC_ID *p_src); 33 void bta_to_btif_gatt_id(btgatt_gatt_id_t *p_dest, tBTA_GATT_ID *p_src); 35 uint16_t set_read_value(btgatt_read_params_t *p_dest, tBTA_GATTC_READ *p_src); 40 btgatt_track_adv_info_t *p_src); [all...] |
H A D | btif_common.h | 156 typedef void (tBTIF_COPY_CBACK) (UINT16 event, char *p_dest, char *p_src);
|
/system/bt/btif/src/ |
H A D | btif_gatt_util.c | 82 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src) argument 84 char *p_byte = (char*)p_src; 87 p_dest->len = uuidType(p_src->uu); 92 p_dest->uu.uuid16 = (p_src->uu[13] << 8) + p_src->uu[12]; 96 p_dest->uu.uuid32 = (p_src->uu[13] << 8) + p_src->uu[12]; 97 p_dest->uu.uuid32 += (p_src->uu[15] << 24) + (p_src->uu[14] << 16); 111 void btif_to_bta_gatt_id(tBTA_GATT_ID *p_dest, btgatt_gatt_id_t *p_src) argument 117 btif_to_bta_srvc_id(tBTA_GATT_SRVC_ID *p_dest, btgatt_srvc_id_t *p_src) argument 124 btif_to_bta_response(tBTA_GATTS_RSP *p_dest, btgatt_response_t* p_src) argument 133 btif_to_bta_uuid_mask(tBTA_DM_BLE_PF_COND_MASK *p_mask, bt_uuid_t *p_src) argument 163 bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src) argument 202 bta_to_btif_gatt_id(btgatt_gatt_id_t *p_dest, tBTA_GATT_ID *p_src) argument 208 bta_to_btif_srvc_id(btgatt_srvc_id_t *p_dest, tBTA_GATT_SRVC_ID *p_src) argument 239 set_read_value(btgatt_read_params_t *p_dest, tBTA_GATTC_READ *p_src) argument 328 btif_gatt_move_track_adv_data(btgatt_track_adv_info_t *p_dest, btgatt_track_adv_info_t *p_src) argument [all...] |
H A D | btif_mce.c | 75 static void mas_discovery_comp_copy_cb(UINT16 event, char *p_dest, char *p_src) argument 78 tBTA_MCE_MAS_DISCOVERY_COMP *p_src_data = (tBTA_MCE_MAS_DISCOVERY_COMP *) p_src; 82 if (!p_src)
|
H A D | btif_sdp.c | 78 static void sdp_search_comp_copy_cb(UINT16 event, char *p_dest, char *p_src) argument 81 tBTA_SDP_SEARCH_COMP *p_src_data = (tBTA_SDP_SEARCH_COMP *) p_src; 83 if (!p_src)
|
H A D | btif_gatt_server.c | 122 static void btapp_gatts_copy_req_data(UINT16 event, char *p_dest, char *p_src) argument 125 tBTA_GATTS *p_src_data = (tBTA_GATTS*) p_src;
|
H A D | btif_av.c | 903 void btif_av_event_deep_copy(UINT16 event, char *p_dest, char *p_src) argument 905 tBTA_AV *av_src = (tBTA_AV *)p_src; 909 memcpy(p_dest, p_src, sizeof(tBTA_AV));
|
H A D | btif_dm.c | 770 static void search_devices_copy_cb(UINT16 event, char *p_dest, char *p_src) argument 773 tBTA_DM_SEARCH *p_src_data = (tBTA_DM_SEARCH *) p_src; 775 if (!p_src) 805 static void search_services_copy_cb(UINT16 event, char *p_dest, char *p_src) argument 808 tBTA_DM_SEARCH *p_src_data = (tBTA_DM_SEARCH *) p_src; 810 if (!p_src)
|
H A D | btif_gatt_client.c | 310 static void btapp_gattc_req_data(UINT16 event, char *p_dest, char *p_src) argument 313 tBTA_GATTC *p_src_data = (tBTA_GATTC*) p_src; 1828 static void btif_gattc_deep_copy(UINT16 event, char *p_dest, char *p_src) argument 1835 const btif_adv_data_t *src = (btif_adv_data_t*) p_src;
|
/system/bt/bta/include/ |
H A D | bta_av_sbc.h | 56 ** Description Given the source (p_src) audio data and 60 ** p_src: the data buffer that holds the source audio data 74 ** The number of bytes used in p_src (in *p_ret) 77 extern int bta_av_sbc_up_sample (void *p_src, void *p_dst, 85 ** Description Given the source (p_src) audio data and 89 ** p_src: the data buffer that holds the source audio data 95 ** The number of bytes used in p_src (in *p_ret) 98 extern int bta_av_sbc_up_sample_16s (void *p_src, void *p_dst, 106 ** Description Given the source (p_src) audio data and 110 ** p_src [all...] |
H A D | bta_api.h | 1731 ** Parameters p_src: pointer to the buffer where the original sampling PCM 1741 extern INT32 BTA_DmPcmResample (void *p_src, UINT32 in_bytes, void *p_dst);
|
/system/bt/bta/av/ |
H A D | bta_av_sbc.c | 31 typedef int (tBTA_AV_SBC_ACT)(void *p_src, void *p_dst, 106 ** Description Given the source (p_src) audio data and 110 ** p_src: the data buffer that holds the source audio data 124 ** The number of bytes used in p_src (in *p_ret) 127 int bta_av_sbc_up_sample (void *p_src, void *p_dst, argument 138 return (*bta_av_sbc_ups_cb.p_act)(p_src, p_dst, src, dst, p_ret); 151 ** Description Given the source (p_src) audio data and 155 ** p_src: the data buffer that holds the source audio data 161 ** The number of bytes used in p_src (in *p_ret) 164 int bta_av_sbc_up_sample_16s (void *p_src, voi argument 227 bta_av_sbc_up_sample_16m(void *p_src, void *p_dst, UINT32 src_samples, UINT32 dst_samples, UINT32 *p_ret) argument 292 bta_av_sbc_up_sample_8s(void *p_src, void *p_dst, UINT32 src_samples, UINT32 dst_samples, UINT32 *p_ret) argument 361 bta_av_sbc_up_sample_8m(void *p_src, void *p_dst, UINT32 src_samples, UINT32 dst_samples, UINT32 *p_ret) argument [all...] |
/system/bt/bta/gatt/ |
H A D | bta_gattc_utils.c | 76 BOOLEAN bta_gattc_uuid_compare (tBT_UUID *p_src, tBT_UUID *p_tar, BOOLEAN is_precise) argument 82 if (p_src == 0 || p_tar == 0) 91 if (p_src->len == 2 && p_tar->len == 2) 93 return p_src->uu.uuid16 == p_tar->uu.uuid16; 97 if (p_src->len == LEN_UUID_16) 100 bta_gatt_convert_uuid16_to_uuid128(su, p_src->uu.uuid16); 104 ps = p_src->uu.uuid128; 489 void bta_gattc_cpygattid(tBTA_GATT_ID *p_des, tBTA_GATT_ID *p_src) argument 493 p_des->inst_id = p_src->inst_id; 495 p_des->uuid.len = p_src 515 bta_gattc_gattid_compare(tBTA_GATT_ID *p_src, tBTA_GATT_ID *p_tar) argument 533 bta_gattc_srvcid_compare(tBTA_GATT_SRVC_ID *p_src, tBTA_GATT_SRVC_ID *p_tar) argument 550 bta_gattc_charid_compare(tBTA_GATTC_CHAR_ID *p_src, tBTA_GATTC_CHAR_ID *p_tar) argument [all...] |
H A D | bta_gattc_int.h | 522 extern BOOLEAN bta_gattc_uuid_compare (tBT_UUID *p_src, tBT_UUID *p_tar, BOOLEAN is_precise); 531 extern BOOLEAN bta_gattc_charid_compare(tBTA_GATTC_CHAR_ID *p_src, tBTA_GATTC_CHAR_ID *p_tar); 532 extern BOOLEAN bta_gattc_srvcid_compare(tBTA_GATT_SRVC_ID *p_src, tBTA_GATT_SRVC_ID *p_tar); 533 extern void bta_gattc_cpygattid(tBTA_GATT_ID *p_des, tBTA_GATT_ID *p_src);
|
/system/bt/stack/a2dp/ |
H A D | a2d_sbc.c | 374 ** p_src: the byte sequence to parse.. 389 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN *p_last, UINT8 *p_num) argument 391 if(p_src && p_frag && p_start && p_last && p_num) 393 *p_frag = (*p_src & A2D_SBC_HDR_F_MSK) ? TRUE: FALSE; 394 *p_start= (*p_src & A2D_SBC_HDR_S_MSK) ? TRUE: FALSE; 395 *p_last = (*p_src & A2D_SBC_HDR_L_MSK) ? TRUE: FALSE; 396 *p_num = (*p_src & A2D_SBC_HDR_NUM_MSK);
|
/system/bt/stack/include/ |
H A D | a2d_sbc.h | 190 ** p_src: the byte sequence to parse.. 205 extern void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag,
|
H A D | btm_api.h | 1247 #define BTM_SEC_COPY_TRUSTED_DEVICE(p_src, p_dst) {UINT32 trst; for (trst = 0; trst < BTM_SEC_SERVICE_ARRAY_SIZE; trst++) \ 1248 ((UINT32 *)(p_dst))[trst] = ((UINT32 *)(p_src))[trst];}
|
/system/bt/btif/co/ |
H A D | bta_av_co.c | 137 tBTA_AV_CO_SINK *p_src; /* currently selected src */ member in struct:__anon582 464 tBTA_AV_CO_SINK *p_src; local 505 p_src = &p_peer->srcs[p_peer->num_sup_srcs++]; 511 memcpy(p_src->codec_caps, p_codec_info, AVDT_CODEC_SIZE); 512 p_src->codec_type = codec_type; 513 p_src->sep_info_idx = *p_sep_info_idx; 514 p_src->seid = seid; 515 p_src->num_protect = *p_num_protect; 516 memcpy(p_src->protect_info, p_protect_info, BTA_AV_CP_INFO_LEN); 537 p_src [all...] |
/system/bt/bta/dm/ |
H A D | bta_dm_sco.c | 661 ** Parameters p_src: pointer to the buffer where the original sampling PCM 671 INT32 BTA_DmPcmResample (void *p_src, UINT32 in_bytes, void *p_dst) argument 680 out_sample = (*bta_dm_pcm_cb.filter) (p_src, p_dst, (in_bytes / bta_dm_pcm_cb.divisor), 685 out_sample = (*bta_dm_pcm_cb.nofilter) (p_src, p_dst,
|
/system/bt/stack/rfcomm/ |
H A D | rfc_ts_frames.c | 510 UINT8 *p_src, *p_dest; local 515 p_src = (UINT8 *) (p_buf + 1) + p_buf->offset + p_buf->len - 1; 519 *p_dest-- = *p_src--;
|