/external/bluetooth/bluedroid/bta/include/ |
bd.h | 34 typedef UINT8 BD_ADDR[BD_ADDR_LEN]; 43 extern const BD_ADDR bd_addr_any; 44 extern const BD_ADDR bd_addr_null; 59 extern void bdcpy(BD_ADDR a, const BD_ADDR b); 71 extern int bdcmp(const BD_ADDR a, const BD_ADDR b); 83 extern int bdcmpany(const BD_ADDR a); 95 extern void bdsetany(BD_ADDR a);
|
bta_dm_co.h | 64 ** Parameters bd_addr - The peer device 72 BTA_API extern void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, 83 ** Parameters bd_addr - The peer device 91 BTA_API extern void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, 101 ** Parameters bd_addr - The peer device 107 BTA_API extern void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade ); 132 ** Parameters bd_addr - The peer devic [all...] |
bta_dm_ci.h | 48 BTA_API extern void bta_dm_ci_io_req(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, 62 BTA_API extern void bta_dm_ci_rmt_oob(BOOLEAN accept, BD_ADDR bd_addr,
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_l2c.c | 37 static void smp_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, tBT_TRANSPORT transport); 38 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf); 77 static void smp_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, 91 if (memcmp(bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) == 0) 94 (bd_addr[0]<<24)+(bd_addr[1]<<16)+(bd_addr[2]<<8) + bd_addr[3] [all...] |
smp_api.c | 124 ** Parameters bd_addr - peer device bd address. 129 tSMP_STATUS SMP_Pair (BD_ADDR bd_addr) 144 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); 146 if (!L2CA_ConnectFixedChnl (L2CAP_SMP_CID, bd_addr)) 164 ** Parameters bd_addr - peer device bd address. 169 BOOLEAN SMP_PairCancel (BD_ADDR bd_addr) 177 (!memcmp (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN)) ) 193 ** Parameters bd_addr - peer device bd address [all...] |
/hardware/libhardware/include/hardware/ |
bt_hf.h | 80 typedef void (* bthf_connection_state_callback)(bthf_connection_state_t state, bt_bdaddr_t *bd_addr); 85 typedef void (* bthf_audio_state_callback)(bthf_audio_state_t state, bt_bdaddr_t *bd_addr); 90 typedef void (* bthf_vr_cmd_callback)(bthf_vr_state_t state, bt_bdaddr_t *bd_addr); 94 typedef void (* bthf_answer_call_cmd_callback)(bt_bdaddr_t *bd_addr); 98 typedef void (* bthf_hangup_call_cmd_callback)(bt_bdaddr_t *bd_addr); 103 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume, bt_bdaddr_t *bd_addr); 108 typedef void (* bthf_dial_call_cmd_callback)(char *number, bt_bdaddr_t *bd_addr); 113 typedef void (* bthf_dtmf_cmd_callback)(char tone, bt_bdaddr_t *bd_addr); 118 typedef void (* bthf_nrec_cmd_callback)(bthf_nrec_t nrec, bt_bdaddr_t *bd_addr); 123 typedef void (* bthf_wbs_callback)(bthf_wbs_config_t wbs, bt_bdaddr_t *bd_addr); [all...] |
bt_hh.h | 90 typedef void (* bthh_connection_state_callback)(bt_bdaddr_t *bd_addr, bthh_connection_state_t state); 95 typedef void (* bthh_virtual_unplug_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status); 100 typedef void (* bthh_hid_info_callback)(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info); 105 typedef void (* bthh_protocol_mode_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, bthh_protocol_mode_t mode); 109 typedef void (* bthh_idle_time_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, int idle_rate); 115 typedef void (* bthh_get_report_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status, uint8_t* rpt_data, int rpt_size); 120 typedef void (* bthh_handshake_callback)(bt_bdaddr_t *bd_addr, bthh_status_t hh_status); 151 bt_status_t (*connect)( bt_bdaddr_t *bd_addr); 154 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr ); 157 bt_status_t (*virtual_unplug)(bt_bdaddr_t *bd_addr); [all...] |
/external/bluetooth/bluedroid/stack/btm/ |
btm_ble_int.h | 170 BD_ADDR private_addr; 171 BD_ADDR random_bda; 194 BD_ADDR bd_addr; member in struct:__anon5854 255 BD_ADDR bd_addr; member in struct:__anon5856 314 extern tBTM_STATUS btm_ble_read_remote_name(BD_ADDR remote_bda, tBTM_INQ_INFO *p_cur, tBTM_CMPL_CB *p_cb); 315 extern BOOLEAN btm_ble_cancel_remote_name(BD_ADDR remote_bda); 341 extern void btm_ble_link_sec_check(BD_ADDR bd_addr, tBTM_LE_AUTH_REQ auth_req, tBTM_BLE_SEC_REQ_ACT *p_sec_req_act) [all...] |
btm_dev.c | 50 ** Parameters: bd_addr - BD address of the peer 61 BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, 70 p_dev_rec = btm_find_dev (bd_addr); 84 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); 85 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); 143 bd_addr[0], bd_addr[1], bd_addr[2] [all...] |
/external/bluetooth/bluedroid/bta/sys/ |
bd.c | 33 const BD_ADDR bd_addr_any = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; 34 const BD_ADDR bd_addr_null= {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; 50 void bdcpy(BD_ADDR a, const BD_ADDR b) 70 int bdcmp(const BD_ADDR a, const BD_ADDR b) 94 int bdcmpany(const BD_ADDR a) 109 void bdsetany(BD_ADDR a)
|
/external/bluetooth/bluedroid/btif/src/ |
btif_hh.c | 154 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 159 extern void btif_dm_cb_remove_bond(bt_bdaddr_t *bd_addr); 283 BD_ADDR* bda; 296 bda = (BD_ADDR*) (&p_dev->bd_addr); 367 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr) 372 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) 388 static btif_hh_device_t *btif_hh_find_connected_dev_by_bda(bt_bdaddr_t *bd_addr) 393 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0 1135 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)p_param; local [all...] |
btif_dm.c | 61 BOOLEAN blacklistPairingRetries(BD_ADDR bd_addr) 67 if (blacklist_pairing_retries[i][0] == bd_addr[0] && 68 blacklist_pairing_retries[i][1] == bd_addr[1] && 69 blacklist_pairing_retries[i][2] == bd_addr[2]) 115 BD_ADDR bd_addr; member in struct:__anon5676 150 BD_ADDR bd_addr; member in struct:__anon5679 158 BD_ADDR oob_bdaddr; /* peer bdaddr* 800 bt_bdaddr_t bd_addr; local 880 bt_bdaddr_t bd_addr; local 944 bt_bdaddr_t bd_addr; local 982 bt_bdaddr_t bd_addr; local 1035 bt_bdaddr_t bd_addr; local 1340 bt_bdaddr_t bd_addr; local 1410 bt_bdaddr_t bd_addr; local 1474 bt_bdaddr_t bd_addr; local 1520 bt_bdaddr_t bd_addr; local 2753 bt_bdaddr_t bd_addr; local 2786 bt_bdaddr_t bd_addr; local 2875 bt_bdaddr_t bd_addr; local 2928 bt_bdaddr_t bd_addr; local 2948 bt_bdaddr_t bd_addr; local 2990 bt_bdaddr_t bd_addr; local 3070 bt_bdaddr_t bd_addr; local [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_dm.h | 41 void btif_dm_proc_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, tBTA_OOB_DATA *p_oob_data, 46 void btif_dm_proc_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, 57 BOOLEAN btif_dm_proc_rmt_oob(BD_ADDR bd_addr, BT_OCTET16 p_c, BT_OCTET16 p_r); 97 BD_ADDR static_addr; 133 void btif_dm_update_ble_remote_properties( BD_ADDR bd_addr, BD_NAME bd_name,
|
btif_hh.h | 61 bt_bdaddr_t bd_addr; member in struct:__anon5633 77 bt_bdaddr_t bd_addr; member in struct:__anon5634 102 extern void btif_hh_remove_device(bt_bdaddr_t bd_addr); 104 extern bt_status_t btif_hh_virtual_unplug(bt_bdaddr_t *bd_addr); 105 extern void btif_hh_disconnect(bt_bdaddr_t *bd_addr); 109 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bd_addr, tBTA_HH_ATTR_MASK attr_mask);
|
btif_gatt_util.h | 38 void btif_gatt_check_encrypted_link(BD_ADDR bd_addr); 40 BOOLEAN btif_get_device_type(BD_ADDR bd_addr, int *addr_type, int *device_type);
|
btif_pan_internal.h | 69 BD_ADDR peer; 94 btpan_conn_t *btpan_new_conn(int handle, const BD_ADDR addr, int local_role, int peer_role); 95 btpan_conn_t *btpan_find_conn_addr(const BD_ADDR addr); 103 int btpan_tap_send(int tap_fd, const BD_ADDR src, const BD_ADDR dst, UINT16 protocol, 106 static inline int is_empty_eth_addr(const BD_ADDR addr) 115 static inline int is_valid_bt_eth_addr(const BD_ADDR addr)
|
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_eng_int.h | 41 BD_ADDR bda; 75 extern tSRVC_CLCB *srvc_eng_find_clcb_by_bd_addr(BD_ADDR bda); 76 extern UINT16 srvc_eng_find_conn_id_by_bd_addr(BD_ADDR bda); 80 extern BOOLEAN srvc_eng_request_channel (BD_ADDR remote_bda, UINT8 srvc_id ); 82 extern void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value);
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_ci.c | 46 void bta_dm_ci_io_req(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, tBTA_OOB_DATA oob_data, 55 bdcpy(p_msg->bd_addr, bd_addr); 74 void bta_dm_ci_rmt_oob(BOOLEAN accept, BD_ADDR bd_addr, BT_OCTET16 c, BT_OCTET16 r) 81 bdcpy(p_msg->bd_addr, bd_addr);
|
bta_dm_api.c | 430 void BTA_DmDiscover(BD_ADDR bd_addr, tBTA_SERVICE_MASK services, 440 bdcpy(p_msg->bd_addr, bd_addr); 460 void BTA_DmDiscoverUUID(BD_ADDR bd_addr, tSDP_UUID *uuid, 468 bdcpy(p_msg->bd_addr, bd_addr); 493 BOOLEAN BTA_DmIsMaster(BD_ADDR bd_addr) [all...] |
/external/bluetooth/bluedroid/vnd/include/ |
vendor_ble.h | 71 BD_ADDR bd_addr; /* must be the address used in controller */ member in struct:__anon6358 72 BD_ADDR psuedo_bda; /* the random pseudo address */ 79 BD_ADDR *irk_q; 80 BD_ADDR *irk_q_random_pseudo; 115 extern tBTM_STATUS btm_ble_read_irk_entry(BD_ADDR target_bda); 123 extern BOOLEAN btm_ble_vendor_write_device_wl_attribute (tBLE_ADDR_TYPE addr_type, BD_ADDR bd_addr, UINT8 attribute);
|
/external/bluetooth/bluedroid/stack/include/ |
avdtc_api.h | 61 typedef void tAVDTC_CTRL_CBACK(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDTC_CTRL *p_data); 90 AVDT_API extern void AVDTC_DiscoverRsp(BD_ADDR bd_addr, UINT8 label, 102 AVDT_API extern void AVDTC_GetCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap); 113 AVDT_API extern void AVDTC_GetAllCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap); 223 AVDT_API extern void AVDTC_Rej(UINT8 handle, BD_ADDR bd_addr, UINT8 cmd, UINT8 label [all...] |
smp_api.h | 163 typedef UINT8 (tSMP_CALLBACK) (tSMP_EVT event, BD_ADDR bd_addr, tSMP_EVT_DATA *p_data); 221 SMP_API extern tSMP_STATUS SMP_Pair (BD_ADDR bd_addr); 231 SMP_API extern BOOLEAN SMP_PairCancel (BD_ADDR bd_addr); 239 ** Parameters bd_addr - peer device bd address. 246 SMP_API extern void SMP_SecurityGrant(BD_ADDR bd_addr, UINT8 res); 255 ** Parameters: bd_addr - Address of the device for which PIN was requeste [all...] |
hcimsgs.h | 111 HCI_API extern BOOLEAN btsnd_hcic_create_conn(BD_ADDR dest, UINT16 packet_types, 148 HCI_API extern BOOLEAN btsnd_hcic_create_conn_cancel(BD_ADDR dest); 156 HCI_API extern BOOLEAN btsnd_hcic_accept_conn (BD_ADDR bd_addr, UINT8 role); 165 HCI_API extern BOOLEAN btsnd_hcic_reject_conn (BD_ADDR bd_addr, UINT8 reason); 174 HCI_API extern BOOLEAN btsnd_hcic_link_key_req_reply (BD_ADDR bd_addr, 184 HCI_API extern BOOLEAN btsnd_hcic_link_key_neg_reply (BD_ADDR bd_addr); [all...] |
/external/bluetooth/bluedroid/btif/co/ |
bta_dm_co.c | 70 ** Parameters bd_addr - The peer device 78 void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, tBTA_OOB_DATA *p_oob_data, 81 UNUSED(bd_addr); 85 btif_dm_proc_io_req(bd_addr, p_io_cap, p_oob_data, p_auth_req, is_orig); 99 ** Parameters bd_addr - The peer device 107 void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, 110 btif_dm_proc_io_rsp(bd_addr, io_cap, oob_data, auth_req); 120 ** Parameters bd_addr - The peer devic [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_utils.c | 63 tPORT *port_allocate_port (UINT8 dlci, BD_ADDR bd_addr) 82 memcpy (p_port->bd_addr, bd_addr, BD_ADDR_LEN); 89 RFCOMM_TRACE_DEBUG("port_allocate_port:bd_addr:%02x:%02x:%02x:%02x:%02x:%02x", 90 bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]) [all...] |