Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_utils.cc311 UINT16_TO_BE_STREAM(p, (2 * BD_ADDR_LEN * p_bcb->sent_mcast_filters)); in bnepu_send_peer_our_multi_filters()
313 memcpy(p, p_bcb->sent_mcast_filter_start[xx].address, BD_ADDR_LEN); in bnepu_send_peer_our_multi_filters()
314 p += BD_ADDR_LEN; in bnepu_send_peer_our_multi_filters()
315 memcpy(p, p_bcb->sent_mcast_filter_end[xx].address, BD_ADDR_LEN); in bnepu_send_peer_our_multi_filters()
316 p += BD_ADDR_LEN; in bnepu_send_peer_our_multi_filters()
319 p_buf->len = 4 + (2 * BD_ADDR_LEN * p_bcb->sent_mcast_filters); in bnepu_send_peer_our_multi_filters()
464 memcpy(p, dest_addr.address, BD_ADDR_LEN); in bnepu_build_bnep_hdr()
465 p += BD_ADDR_LEN; in bnepu_build_bnep_hdr()
467 memcpy(p, source_addr.address, BD_ADDR_LEN); in bnepu_build_bnep_hdr()
468 p += BD_ADDR_LEN; in bnepu_build_bnep_hdr()
[all …]
Dbnep_api.cc624 BD_ADDR_LEN); in BNEP_SetMulticastFilters()
625 memcpy(p_bcb->sent_mcast_filter_end[xx].address, p_end_array, BD_ADDR_LEN); in BNEP_SetMulticastFilters()
627 p_start_array += BD_ADDR_LEN; in BNEP_SetMulticastFilters()
628 p_end_array += BD_ADDR_LEN; in BNEP_SetMulticastFilters()
Dbnep_main.cc430 p += BD_ADDR_LEN; in bnep_data_ind()
432 p += BD_ADDR_LEN; in bnep_data_ind()
472 p += BD_ADDR_LEN; in bnep_data_ind()
479 p += BD_ADDR_LEN; in bnep_data_ind()
/packages/modules/Bluetooth/system/types/
Draw_address.h99 #define BD_ADDR_LEN 6 /* Device address length */
102 for (int ijk = 0; ijk < BD_ADDR_LEN; ijk++)
103 *(p)++ = (uint8_t)(a.address)[BD_ADDR_LEN - 1 - ijk];
107 uint8_t* pbda = (uint8_t*)(a.address) + BD_ADDR_LEN - 1;
108 for (int ijk = 0; ijk < BD_ADDR_LEN; ijk++) *pbda-- = *(p)++;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java90 private static final int BD_ADDR_LEN = 6; // in bytes field in AdapterProperties
1034 int number = val.length / BD_ADDR_LEN; in adapterPropertyChangedCallback()
1035 byte[] addrByte = new byte[BD_ADDR_LEN]; in adapterPropertyChangedCallback()
1037 System.arraycopy(val, j * BD_ADDR_LEN, addrByte, 0, BD_ADDR_LEN); in adapterPropertyChangedCallback()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DUtils.java108 static final int BD_ADDR_LEN = 6; // bytes field in Utils
211 if (address == null || address.length != BD_ADDR_LEN) { in getAddressStringFromByte()
220 if (address == null || address.length != BD_ADDR_LEN) { in getRedactedAddressStringFromByte()
295 byte[] output = new byte[BD_ADDR_LEN]; in getBytesFromAddress()
/packages/modules/Bluetooth/system/stack/hcic/
Dhcicmds.cc929 filt_cond += BD_ADDR_LEN; in btsnd_hcic_set_event_filter()
931 filt_cond_len -= BD_ADDR_LEN; in btsnd_hcic_set_event_filter()
/packages/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc1281 if (evt_len < 1 + BD_ADDR_LEN) { in btu_hcif_create_conn_cancel_complete()
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_utils.cc63 #define SMP_ID_ADDR_SIZE (BD_ADDR_LEN + 1 + 1)