/external/bluetooth/bluedroid/stack/smp/ |
smp_l2c.c | 37 static void smp_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason); 38 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf); 76 static void smp_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason) 83 if (memcmp(bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) == 0) 86 (bd_addr[0]<<24)+(bd_addr[1]<<16)+(bd_addr[2]<<8) + bd_addr[3] [all...] |
smp_api.c | 123 ** Parameters bd_addr - peer device bd address. 128 tSMP_STATUS SMP_Pair (BD_ADDR bd_addr) 143 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); 145 if (!L2CA_ConnectFixedChnl (L2CAP_SMP_CID, bd_addr)) 163 ** Parameters bd_addr - peer device bd address. 168 BOOLEAN SMP_PairCancel (BD_ADDR bd_addr) 176 (!memcmp (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN)) ) 192 ** Parameters bd_addr - peer device bd address [all...] |
/hardware/libhardware/include/hardware/ |
bt_av.h | 42 bt_bdaddr_t *bd_addr); 48 bt_bdaddr_t *bd_addr); 79 bt_status_t (*connect)( bt_bdaddr_t *bd_addr ); 82 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr );
|
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); 145 bt_status_t (*connect)( bt_bdaddr_t *bd_addr); 148 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr ); 151 bt_status_t (*virtual_unplug)(bt_bdaddr_t *bd_addr); 154 bt_status_t (*set_info)(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info ) [all...] |
bt_pan.h | 42 const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 72 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 76 bt_status_t (*disconnect)(const bt_bdaddr_t *bd_addr);
|
bt_sock.h | 34 bt_bdaddr_t bd_addr; member in struct:__anon32884 52 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t* uuid, int channel, int* sock_fd, int flags);
|
bt_hf.h | 72 typedef void (* bthf_connection_state_callback)(bthf_connection_state_t state, bt_bdaddr_t *bd_addr); 77 typedef void (* bthf_audio_state_callback)(bthf_audio_state_t state, bt_bdaddr_t *bd_addr); 219 bt_status_t (*connect)( bt_bdaddr_t *bd_addr ); 222 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr ); 225 bt_status_t (*connect_audio)( bt_bdaddr_t *bd_addr ); 228 bt_status_t (*disconnect_audio)( bt_bdaddr_t *bd_addr );
|
/external/bluetooth/bluedroid/stack/btm/ |
btm_dev.c | 48 ** Parameters: bd_addr - BD address of the peer 59 BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, 67 p_dev_rec = btm_find_dev (bd_addr); 81 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); 82 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr); 140 bd_addr[0], bd_addr[1], bd_addr[2] [all...] |
btm_ble.c | 39 extern void smp_link_encrypted(BD_ADDR bda, UINT8 encr_enable); 40 extern BOOLEAN smp_proc_ltk_request(BD_ADDR bda); 42 extern void gatt_notify_enc_cmpl(BD_ADDR bd_addr); 55 ** Parameters: bd_addr - BD address of the peer 63 BOOLEAN BTM_SecAddBleDevice (BD_ADDR bd_addr, BD_NAME bd_name, tBT_DEVICE_TYPE dev_type, 72 p_dev_rec = btm_find_dev (bd_addr); 90 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN) [all...] |
btm_ble_int.h | 152 BD_ADDR private_addr; 153 BD_ADDR random_bda; 176 BD_ADDR bd_addr; member in struct:__anon3514 206 BD_ADDR bd_addr; member in struct:__anon3516 254 extern tBTM_STATUS btm_ble_read_remote_name(BD_ADDR remote_bda, tBTM_INQ_INFO *p_cur, tBTM_CMPL_CB *p_cb); 255 extern BOOLEAN btm_ble_cancel_remote_name(BD_ADDR remote_bda); 275 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_ble_bgconn.c | 69 BOOLEAN btm_add_dev_to_controller (BOOLEAN to_add, BD_ADDR bd_addr, UINT8 attr) 71 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev (bd_addr); 74 BD_ADDR dummy_bda = {0}; 83 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || !BTM_BLE_IS_RESOLVE_BDA(bd_addr)) 85 started = btsnd_hcic_ble_add_white_list (p_dev_rec->ble.ble_addr_type, bd_addr); 87 if (memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0 && 95 if (!BTM_BLE_IS_RESOLVE_BDA(bd_addr)) 97 started = btsnd_hcic_ble_remove_from_white_list (p_dev_rec->ble.ble_addr_type, bd_addr); 100 memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0 [all...] |
/external/bluetooth/bluedroid/bta/include/ |
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,
|
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...] |
/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); 259 BD_ADDR* bda; 281 bda = (BD_ADDR*) (&p_dev->bd_addr); 376 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr) 381 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) 397 static btif_hh_device_t *btif_hh_find_connected_dev_by_bda(bt_bdaddr_t *bd_addr) 402 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0 1128 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)p_param; local [all...] |
btif_dm.c | 83 BD_ADDR bd_addr; member in struct:__anon3377 115 BD_ADDR bd_addr; member in struct:__anon3380 123 BD_ADDR oob_bdaddr; /* peer bdaddr*/ 141 static void btif_dm_cb_create_bond(bt_bdaddr_t *bd_addr); 143 static void btif_update_remote_properties(BD_ADDR bd_addr, BD_NAME bd_name, 159 extern int btif_hh_connect(bt_bdaddr_t *bd_addr); 259 bdcpy(remote_bdaddr.address, p_search_data->inq_res.bd_addr); 646 bt_bdaddr_t bd_addr; local 726 bt_bdaddr_t bd_addr; local 790 bt_bdaddr_t bd_addr; local 828 bt_bdaddr_t bd_addr; local 1106 bt_bdaddr_t bd_addr; local 1176 bt_bdaddr_t bd_addr; local 1240 bt_bdaddr_t bd_addr; local 1286 bt_bdaddr_t bd_addr; local 2297 bt_bdaddr_t bd_addr; local 2330 bt_bdaddr_t bd_addr; local 2411 bt_bdaddr_t bd_addr; local 2464 bt_bdaddr_t bd_addr; local 2484 bt_bdaddr_t bd_addr; local 2526 bt_bdaddr_t bd_addr; local 2606 bt_bdaddr_t bd_addr; local [all...] |
btif_gatt_util.c | 51 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 262 static void btif_gatt_set_encryption_cb (BD_ADDR bd_addr, tBTA_STATUS result); 264 static BOOLEAN btif_gatt_is_link_encrypted (BD_ADDR bd_addr) 266 if (bd_addr == NULL) 269 return BTA_JvIsEncrypted(bd_addr); 272 static void btif_gatt_set_encryption_cb (BD_ADDR bd_addr, tBTA_STATUS result) 277 bdcpy(bda.address, bd_addr); [all...] |
/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 | 438 void BTA_DmDiscover(BD_ADDR bd_addr, tBTA_SERVICE_MASK services, 448 bdcpy(p_msg->bd_addr, bd_addr); 468 void BTA_DmDiscoverUUID(BD_ADDR bd_addr, tSDP_UUID *uuid, 476 bdcpy(p_msg->bd_addr, bd_addr); 501 BOOLEAN BTA_DmIsMaster(BD_ADDR bd_addr) [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_api.h | 209 bt_status_t btif_dm_create_bond(const bt_bdaddr_t *bd_addr); 220 bt_status_t btif_dm_cancel_bond(const bt_bdaddr_t *bd_addr); 231 bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 242 bt_status_t btif_dm_pin_reply( const bt_bdaddr_t *bd_addr, uint8_t accept, 254 bt_status_t btif_dm_passkey_reply( const bt_bdaddr_t *bd_addr, 266 bt_status_t btif_dm_ssp_reply( const bt_bdaddr_t *bd_addr,
|
btif_hh.h | 61 bt_bdaddr_t bd_addr; member in struct:__anon3337 78 bt_bdaddr_t bd_addr; member in struct:__anon3338 103 extern void btif_hh_remove_device(bt_bdaddr_t bd_addr); 105 extern bt_status_t btif_hh_virtual_unplug(bt_bdaddr_t *bd_addr); 106 extern void btif_hh_disconnect(bt_bdaddr_t *bd_addr); 110 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bd_addr, tBTA_HH_ATTR_MASK attr_mask);
|
btif_gatt_util.h | 37 void btif_gatt_check_encrypted_link(BD_ADDR bd_addr); 39 BOOLEAN btif_get_device_type(BD_ADDR bd_addr, int *addr_type, int *device_type);
|
btif_sock_rfc.h | 34 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* uuid,
|
/external/qemu/hw/ |
bt.c | 85 dev->bd_addr.b[0] = bt_dev_idx & 0xff; 86 dev->bd_addr.b[1] = bt_dev_idx >> 8; 87 dev->bd_addr.b[2] = 0xd0; 88 dev->bd_addr.b[3] = 0xba; 89 dev->bd_addr.b[4] = 0xbe; 90 dev->bd_addr.b[5] = 0xba;
|
/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_DEBUG6("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...] |
/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...] |