Home
last modified time | relevance | path

Searched refs:BD_ADDR_LEN (Results 1 – 8 of 8) sorted by relevance

/system/bt/stack/bnep/
Dbnep_utils.cc309 UINT16_TO_BE_STREAM(p, (2 * BD_ADDR_LEN * p_bcb->sent_mcast_filters)); in bnepu_send_peer_our_multi_filters()
311 memcpy(p, p_bcb->sent_mcast_filter_start[xx].address, BD_ADDR_LEN); in bnepu_send_peer_our_multi_filters()
312 p += BD_ADDR_LEN; in bnepu_send_peer_our_multi_filters()
313 memcpy(p, p_bcb->sent_mcast_filter_end[xx].address, BD_ADDR_LEN); in bnepu_send_peer_our_multi_filters()
314 p += BD_ADDR_LEN; in bnepu_send_peer_our_multi_filters()
317 p_buf->len = 4 + (2 * BD_ADDR_LEN * p_bcb->sent_mcast_filters); in bnepu_send_peer_our_multi_filters()
455 memcpy(p, p_dest_addr->address, BD_ADDR_LEN); in bnepu_build_bnep_hdr()
456 p += BD_ADDR_LEN; in bnepu_build_bnep_hdr()
458 memcpy(p, p_src_addr->address, BD_ADDR_LEN); in bnepu_build_bnep_hdr()
459 p += BD_ADDR_LEN; in bnepu_build_bnep_hdr()
[all …]
Dbnep_api.cc619 BD_ADDR_LEN); in BNEP_SetMulticastFilters()
620 memcpy(p_bcb->sent_mcast_filter_end[xx].address, p_end_array, BD_ADDR_LEN); in BNEP_SetMulticastFilters()
622 p_start_array += BD_ADDR_LEN; in BNEP_SetMulticastFilters()
623 p_end_array += BD_ADDR_LEN; in BNEP_SetMulticastFilters()
Dbnep_main.cc536 p += BD_ADDR_LEN; in bnep_data_ind()
538 p += BD_ADDR_LEN; in bnep_data_ind()
579 p += BD_ADDR_LEN; in bnep_data_ind()
586 p += BD_ADDR_LEN; in bnep_data_ind()
/system/bt/stack/include/
Dbt_types.h538 #define BD_ADDR_LEN 6 /* Device address length */ macro
545 for (int ijk = 0; ijk < BD_ADDR_LEN; ijk++) in BDADDR_TO_STREAM()
546 *(p)++ = (uint8_t)(a.address)[BD_ADDR_LEN - 1 - ijk]; in BDADDR_TO_STREAM()
550 uint8_t* pbda = (uint8_t*)(a.address) + BD_ADDR_LEN - 1; in STREAM_TO_BDADDR()
551 for (int ijk = 0; ijk < BD_ADDR_LEN; ijk++) *pbda-- = *(p)++; in STREAM_TO_BDADDR()
/system/bt/stack/hcic/
Dhcicmds.cc680 filt_cond += BD_ADDR_LEN; in btsnd_hcic_set_event_filter()
682 filt_cond_len -= BD_ADDR_LEN; in btsnd_hcic_set_event_filter()
/system/bt/stack/smp/
Dsmp_utils.cc47 #define SMP_ID_ADDR_SIZE (BD_ADDR_LEN + 1 + 1)
/system/bt/stack/btu/
Dbtu_hcif.cc1124 evt_len -= (1 + BD_ADDR_LEN); in btu_hcif_rmt_name_request_comp_evt()
/system/bt/stack/btm/
Dbtm_sec.cc1747 p += BD_ADDR_LEN; in BTM_ReadOobData()