/external/bluetooth/bluedroid/btif/src/ |
D | 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); 296 bda = (BD_ADDR*) (&p_dev->bd_addr); in update_keyboard_lockstates() 367 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr) in btif_hh_find_dev_by_bda() argument 372 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_dev_by_bda() 388 static btif_hh_device_t *btif_hh_find_connected_dev_by_bda(bt_bdaddr_t *bd_addr) in btif_hh_find_connected_dev_by_bda() argument 393 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_connected_dev_by_bda() 409 void btif_hh_stop_vup_timer(bt_bdaddr_t *bd_addr) in btif_hh_stop_vup_timer() argument 411 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); in btif_hh_stop_vup_timer() 430 void btif_hh_start_vup_timer(bt_bdaddr_t *bd_addr) in btif_hh_start_vup_timer() argument [all …]
|
D | btif_dm.c | 61 BOOLEAN blacklistPairingRetries(BD_ADDR bd_addr) in blacklistPairingRetries() argument 67 if (blacklist_pairing_retries[i][0] == bd_addr[0] && in blacklistPairingRetries() 68 blacklist_pairing_retries[i][1] == bd_addr[1] && in blacklistPairingRetries() 69 blacklist_pairing_retries[i][2] == bd_addr[2]) in blacklistPairingRetries() 122 BD_ADDR bd_addr; member 157 BD_ADDR bd_addr; member 213 static void btif_dm_cb_create_bond(bt_bdaddr_t *bd_addr, tBTA_TRANSPORT transport); 215 static void btif_update_remote_properties(BD_ADDR bd_addr, BD_NAME bd_name, 238 extern int btif_hh_connect(bt_bdaddr_t *bd_addr); 345 bdcpy(remote_bdaddr.address, p_search_data->inq_res.bd_addr); in check_cached_remote_name() [all …]
|
D | btif_hf.c | 195 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr) in is_connected() argument 202 ((bd_addr == NULL) || (bdcmp(bd_addr->address, in is_connected() 218 static int btif_hf_idx_by_bdaddr(bt_bdaddr_t *bd_addr) in btif_hf_idx_by_bdaddr() argument 223 if ((bdcmp(bd_addr->address, in btif_hf_idx_by_bdaddr() 412 p_data->open.bd_addr); in btif_hf_upstreams_evt() 735 static bt_status_t connect_int(bt_bdaddr_t *bd_addr, uint16_t uuid) in connect_int() argument 751 if (!is_connected(bd_addr)) in connect_int() 754 bdcpy(btif_hf_cb[i].connected_bda.address, bd_addr->address); in connect_int() 764 static bt_status_t connect( bt_bdaddr_t *bd_addr ) in connect() argument 767 return btif_queue_connect(UUID_SERVCLASS_AG_HANDSFREE, bd_addr, connect_int); in connect() [all …]
|
D | bluetooth.c | 268 static int create_bond(const bt_bdaddr_t *bd_addr, int transport) in create_bond() argument 274 return btif_dm_create_bond(bd_addr, transport); in create_bond() 277 static int cancel_bond(const bt_bdaddr_t *bd_addr) in cancel_bond() argument 283 return btif_dm_cancel_bond(bd_addr); in cancel_bond() 286 static int remove_bond(const bt_bdaddr_t *bd_addr) in remove_bond() argument 292 return btif_dm_remove_bond(bd_addr); in remove_bond() 295 static int get_connection_state(const bt_bdaddr_t *bd_addr) in get_connection_state() argument 301 return btif_dm_get_connection_state(bd_addr); in get_connection_state() 304 static int pin_reply(const bt_bdaddr_t *bd_addr, uint8_t accept, in pin_reply() argument 311 return btif_dm_pin_reply(bd_addr, accept, pin_len, pin_code); in pin_reply() [all …]
|
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_dev.c | 61 BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, in BTM_SecAddDevice() argument 70 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddDevice() 84 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddDevice() 85 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice() 143 bd_addr[0], bd_addr[1], bd_addr[2], in BTM_SecAddDevice() 144 bd_addr[3], bd_addr[4], bd_addr[5]); in BTM_SecAddDevice() 174 BOOLEAN BTM_SecDeleteDevice (BD_ADDR bd_addr) in BTM_SecDeleteDevice() argument 178 …if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT… in BTM_SecDeleteDevice() 184 if ((p_dev_rec = btm_find_dev (bd_addr)) == NULL) in BTM_SecDeleteDevice() 193 BTM_DeleteStoredLinkKey (bd_addr, NULL); in BTM_SecDeleteDevice() [all …]
|
D | btm_ble.c | 48 extern void gatt_notify_enc_cmpl(BD_ADDR bd_addr); 68 BOOLEAN BTM_SecAddBleDevice (BD_ADDR bd_addr, BD_NAME bd_name, tBT_DEVICE_TYPE dev_type, in BTM_SecAddBleDevice() argument 76 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddBleDevice() 94 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddBleDevice() 95 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice() 96 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice() 131 p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice() 158 BOOLEAN BTM_SecAddBleKey (BD_ADDR bd_addr, tBTM_LE_KEY_VALUE *p_le_key, tBTM_LE_KEY_TYPE key_type) in BTM_SecAddBleKey() argument 163 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddBleKey() 171 (bd_addr[0]<<24)+(bd_addr[1]<<16)+(bd_addr[2]<<8)+bd_addr[3], in BTM_SecAddBleKey() [all …]
|
D | btm_sec.c | 45 BOOLEAN (APPL_AUTH_WRITE_EXCEPTION)(BD_ADDR bd_addr); 73 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig, 346 BOOLEAN BTM_GetSecurityFlags (BD_ADDR bd_addr, UINT8 * p_sec_flags) in BTM_GetSecurityFlags() argument 350 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) in BTM_GetSecurityFlags() 368 BOOLEAN BTM_GetSecurityFlagsByTransport (BD_ADDR bd_addr, UINT8 * p_sec_flags, in BTM_GetSecurityFlagsByTransport() argument 373 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) in BTM_GetSecurityFlagsByTransport() 978 void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask… in BTM_PINCodeReply() argument 992 if (memcmp (bd_addr, btm_cb.pairing_bda, BD_ADDR_LEN) != 0) in BTM_PINCodeReply() 998 if ((p_dev_rec = btm_find_dev (bd_addr)) == NULL) in BTM_PINCodeReply() 1018 btsnd_hcic_pin_code_neg_reply (bd_addr); in BTM_PINCodeReply() [all …]
|
D | btm_ble_bgconn.c | 70 BOOLEAN btm_add_dev_to_controller (BOOLEAN to_add, BD_ADDR bd_addr) in btm_add_dev_to_controller() argument 72 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev (bd_addr); in btm_add_dev_to_controller() 84 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || !BTM_BLE_IS_RESOLVE_BDA(bd_addr)) in btm_add_dev_to_controller() 90 started = btsnd_hcic_ble_add_white_list (p_dev_rec->ble.ble_addr_type, bd_addr); in btm_add_dev_to_controller() 92 if (memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0 && in btm_add_dev_to_controller() 101 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || !BTM_BLE_IS_RESOLVE_BDA(bd_addr)) in btm_add_dev_to_controller() 103 … started = btsnd_hcic_ble_remove_from_white_list (p_dev_rec->ble.ble_addr_type, bd_addr); in btm_add_dev_to_controller() 106 memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0) in btm_add_dev_to_controller() 114 BTM_ReadDevInfo(bd_addr, &dev_type, &addr_type); in btm_add_dev_to_controller() 117 started = btsnd_hcic_ble_add_white_list (addr_type, bd_addr); in btm_add_dev_to_controller() [all …]
|
D | btm_ble_int.h | 194 BD_ADDR bd_addr; member 255 BD_ADDR bd_addr; member 341 extern void btm_ble_link_sec_check(BD_ADDR bd_addr, tBTM_LE_AUTH_REQ auth_req, tBTM_BLE_SEC_REQ_ACT… 343 extern UINT8 btm_proc_smp_cback(tSMP_EVT event, BD_ADDR bd_addr, tSMP_EVT_DATA *p_data); 344 extern tBTM_STATUS btm_ble_set_encryption (BD_ADDR bd_addr, void *p_ref_data, UINT8 link_role); 347 extern void btm_ble_link_encrypted(BD_ADDR bd_addr, UINT8 encr_enable); 354 extern void btm_ble_increment_sign_ctr(BD_ADDR bd_addr, BOOLEAN is_local ); 355 extern BOOLEAN btm_get_local_div (BD_ADDR bd_addr, UINT16 *p_div); 356 extern BOOLEAN btm_ble_get_enc_key_type(BD_ADDR bd_addr, UINT8 *p_key_types); 361 extern void btm_sec_save_le_key(BD_ADDR bd_addr, tBTM_LE_KEY_TYPE key_type, tBTM_LE_KEY_VALUE *p_ke… [all …]
|
D | btm_ble_addr.c | 366 tBLE_ADDR_TYPE btm_ble_map_bda_to_conn_bda(BD_ADDR bd_addr) in btm_ble_map_bda_to_conn_bda() argument 370 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL && in btm_ble_map_bda_to_conn_bda() 375 memcpy(bd_addr, p_dev_rec->ble.static_addr, BD_ADDR_LEN); in btm_ble_map_bda_to_conn_bda() 390 tBTM_SEC_DEV_REC* btm_find_dev_by_public_static_addr(BD_ADDR bd_addr) in btm_find_dev_by_public_static_addr() argument 398 BTM_BLE_IS_RESOLVE_BDA(p_dev_rec->bd_addr)) in btm_find_dev_by_public_static_addr() 400 if ( memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) == 0) in btm_find_dev_by_public_static_addr() 420 BOOLEAN btm_public_addr_to_random_pseudo(BD_ADDR bd_addr, UINT8 *p_addr_type) in btm_public_addr_to_random_pseudo() argument 423 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev_by_public_static_addr(bd_addr); in btm_public_addr_to_random_pseudo() 430 memcmp(p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN) != 0) in btm_public_addr_to_random_pseudo() 436 memcpy(bd_addr, p_dev_rec->bd_addr, BD_ADDR_LEN); in btm_public_addr_to_random_pseudo() [all …]
|
/external/bluetooth/bluedroid/stack/smp/ |
D | smp_l2c.c | 37 static void smp_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, tBT_TRANSPORT tra… 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, in smp_connect_cback() argument 91 if (memcmp(bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) == 0) in smp_connect_cback() 94 (bd_addr[0]<<24)+(bd_addr[1]<<16)+(bd_addr[2]<<8) + bd_addr[3], in smp_connect_cback() 95 (bd_addr[4]<<8)+bd_addr[5], (connected) ? "connected" : "disconnected"); in smp_connect_cback() 103 p_cb->role = L2CA_GetBleConnRole(bd_addr); in smp_connect_cback() 132 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf) in smp_data_ind() argument 156 p_cb->role = L2CA_GetBleConnRole(bd_addr); in smp_data_ind() 157 memcpy(&p_cb->pairing_bda[0], bd_addr, BD_ADDR_LEN); in smp_data_ind() [all …]
|
D | smp_api.c | 129 tSMP_STATUS SMP_Pair (BD_ADDR bd_addr) in SMP_Pair() argument 144 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); in SMP_Pair() 146 if (!L2CA_ConnectFixedChnl (L2CAP_SMP_CID, bd_addr)) in SMP_Pair() 169 BOOLEAN SMP_PairCancel (BD_ADDR bd_addr) in SMP_PairCancel() argument 177 (!memcmp (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN)) ) in SMP_PairCancel() 200 void SMP_SecurityGrant(BD_ADDR bd_addr, UINT8 res) in SMP_SecurityGrant() argument 205 memcmp (smp_cb.pairing_bda, bd_addr, BD_ADDR_LEN)) in SMP_SecurityGrant() 227 void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey) in SMP_PasskeyReply() argument 243 if (memcmp (bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) != 0) in SMP_PasskeyReply() 249 if ((p_dev_rec = btm_find_dev (bd_addr)) == NULL) in SMP_PasskeyReply() [all …]
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
D | port_utils.c | 63 tPORT *port_allocate_port (UINT8 dlci, BD_ADDR bd_addr) in port_allocate_port() argument 82 memcpy (p_port->bd_addr, bd_addr, BD_ADDR_LEN); in port_allocate_port() 90 … bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_allocate_port() 151 packet_size = btm_get_max_packet_size (p_port->bd_addr); in port_select_mtu() 263 memcpy (p_port->bd_addr, BT_BD_ANY, BD_ADDR_LEN); in port_release_port() 282 tRFC_MCB *port_find_mcb (BD_ADDR bd_addr) in port_find_mcb() argument 289 && !memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)) in port_find_mcb() 293 … bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_find_mcb() 300 bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_find_mcb() 382 tPORT *port_find_port (UINT8 dlci, BD_ADDR bd_addr) in port_find_port() argument [all …]
|
D | rfc_utils.c | 133 tRFC_MCB *rfc_alloc_multiplexer_channel (BD_ADDR bd_addr, BOOLEAN is_initiator) in rfc_alloc_multiplexer_channel() argument 138 … bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in rfc_alloc_multiplexer_channel() 146 … rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1], in rfc_alloc_multiplexer_channel() 147 … rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3], in rfc_alloc_multiplexer_channel() 148 … rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]); in rfc_alloc_multiplexer_channel() 151 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN))) in rfc_alloc_multiplexer_channel() 174 memcpy (p_mcb->bd_addr, bd_addr, BD_ADDR_LEN); in rfc_alloc_multiplexer_channel() 353 void rfc_sec_check_complete (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) in rfc_sec_check_complete() argument 356 UNUSED(bd_addr); in rfc_sec_check_complete()
|
/external/bluetooth/bluedroid/btif/co/ |
D | bta_dm_co.c | 78 void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, tBTA_OOB_DATA *p_oob_data, in bta_dm_co_io_req() argument 81 UNUSED(bd_addr); in bta_dm_co_io_req() 85 btif_dm_proc_io_req(bd_addr, p_io_cap, p_oob_data, p_auth_req, is_orig); in bta_dm_co_io_req() 107 void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, in bta_dm_co_io_rsp() argument 110 btif_dm_proc_io_rsp(bd_addr, io_cap, oob_data, auth_req); in bta_dm_co_io_rsp() 126 void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade ) in bta_dm_co_lk_upgrade() argument 128 UNUSED(bd_addr); in bta_dm_co_lk_upgrade() 168 void bta_dm_co_rmt_oob(BD_ADDR bd_addr) in bta_dm_co_rmt_oob() argument 175 result = btif_dm_proc_rmt_oob(bd_addr, p_c, p_r); in bta_dm_co_rmt_oob() 179 bta_dm_ci_rmt_oob(result, bd_addr, p_c, p_r); in bta_dm_co_rmt_oob() [all …]
|
/external/bluetooth/bluedroid/bta/dm/ |
D | bta_dm_api.c | 430 void BTA_DmDiscover(BD_ADDR bd_addr, tBTA_SERVICE_MASK services, in BTA_DmDiscover() argument 440 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscover() 460 void BTA_DmDiscoverUUID(BD_ADDR bd_addr, tSDP_UUID *uuid, in BTA_DmDiscoverUUID() argument 468 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscoverUUID() 493 BOOLEAN BTA_DmIsMaster(BD_ADDR bd_addr) in BTA_DmIsMaster() argument 498 BTM_GetRole(bd_addr, &link_role); in BTA_DmIsMaster() 518 void BTA_DmBond(BD_ADDR bd_addr) in BTA_DmBond() argument 520 BTA_DmBondByTransport (bd_addr, BTA_TRANSPORT_UNKNOWN); in BTA_DmBond() 534 void BTA_DmBondByTransport(BD_ADDR bd_addr, tBTA_TRANSPORT transport) in BTA_DmBondByTransport() argument 541 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBondByTransport() [all …]
|
D | bta_dm_act.c | 50 static void bta_dm_service_search_remname_cback (BD_ADDR bd_addr, DEV_CLASS dc, BD_NAME bd_name); 52 static void bta_dm_find_services ( BD_ADDR bd_addr); 55 static UINT8 bta_dm_authorize_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *… 56 static UINT8 bta_dm_pin_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name); 57 static UINT8 bta_dm_link_key_request_cback (BD_ADDR bd_addr, LINK_KEY key); 58 static UINT8 bta_dm_new_link_key_cback(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, LINK_… 59 static UINT8 bta_dm_authentication_complete_cback(BD_ADDR bd_addr, DEV_CLASS dev_class,BD_NAME bd_n… 60 static void bta_dm_local_name_cback(BD_ADDR bd_addr); 93 static BOOLEAN bta_dm_read_remote_device_name (BD_ADDR bd_addr,tBT_TRANSPORT transport); 109 static void btm_dm_start_gatt_discovery ( BD_ADDR bd_addr); [all …]
|
D | 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, in bta_dm_ci_io_req() argument 55 bdcpy(p_msg->bd_addr, bd_addr); in bta_dm_ci_io_req() 74 void bta_dm_ci_rmt_oob(BOOLEAN accept, BD_ADDR bd_addr, BT_OCTET16 c, BT_OCTET16 r) in bta_dm_ci_rmt_oob() argument 81 bdcpy(p_msg->bd_addr, bd_addr); in bta_dm_ci_rmt_oob()
|
/external/bluetooth/bluedroid/bta/include/ |
D | bta_api.h | 277 BD_ADDR bd_addr; /* BD address of device to filter. */ member 508 typedef void (tBTA_DM_BLE_RSSI_CBACK) (BD_ADDR bd_addr, tBTA_DM_BLE_RSSI_ALERT_TYPE alert_type, INT… 646 BD_ADDR bd_addr; /* BD address of local device. */ member 654 BD_ADDR bd_addr; /* BD address peer device. */ member 744 BD_ADDR bd_addr; /* peer address */ member 750 BD_ADDR bd_addr; /* peer address */ member 758 BD_ADDR bd_addr; /* BD address peer device. */ member 772 BD_ADDR bd_addr; /* BD address peer device. */ member 783 BD_ADDR bd_addr; /* BD address peer device. */ member 792 BD_ADDR bd_addr; /* BD address peer device. */ member [all …]
|
D | bta_dm_co.h | 72 BTA_API extern void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, 91 BTA_API extern void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, 107 BTA_API extern void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade ); 137 BTA_API extern void bta_dm_co_rmt_oob(BD_ADDR bd_addr); 224 BTA_API extern void bta_dm_co_ble_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, 266 BTA_API extern void bta_dm_co_ble_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap,
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_api.h | 209 bt_status_t btif_dm_create_bond(const bt_bdaddr_t *bd_addr, int transport); 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 uint16_t btif_dm_get_connection_state(const bt_bdaddr_t *bd_addr); 253 bt_status_t btif_dm_pin_reply( const bt_bdaddr_t *bd_addr, uint8_t accept, 265 bt_status_t btif_dm_passkey_reply( const bt_bdaddr_t *bd_addr, 277 bt_status_t btif_dm_ssp_reply( const bt_bdaddr_t *bd_addr,
|
D | btif_hh.h | 61 bt_bdaddr_t bd_addr; member 77 bt_bdaddr_t bd_addr; member 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);
|
/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_main.c | 47 static void gatt_le_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, tBT_TRANSPORT… 48 static void gatt_le_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf); 51 static void gatt_l2cif_connect_ind_cback (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2c… 322 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport) in gatt_act_connect() argument 328 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, transport)) != NULL) in gatt_act_connect() 337 if (!gatt_connect(bd_addr, p_tcb, transport)) in gatt_act_connect() 348 if ((p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, transport)) != NULL) in gatt_act_connect() 350 if (!gatt_connect(bd_addr, p_tcb, transport)) in gatt_act_connect() 382 static void gatt_le_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, in gatt_le_connect_cback() argument 386 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in gatt_le_connect_cback() [all …]
|
/external/bluetooth/bluedroid/stack/avdt/ |
D | avdt_l2c.c | 39 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 73 static void avdt_sec_check_complete_term (BD_ADDR bd_addr, tBT_TRANSPORT transport, in avdt_sec_check_complete_term() argument 82 if (!bd_addr) in avdt_sec_check_complete_term() 88 p_ccb = avdt_ccb_by_bd(bd_addr); in avdt_sec_check_complete_term() 97 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK); in avdt_sec_check_complete_term() 116 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, L2CAP_CONN_OK); in avdt_sec_check_complete_term() 131 static void avdt_sec_check_complete_orig (BD_ADDR bd_addr, tBT_TRANSPORT trasnport, in avdt_sec_check_complete_orig() argument 140 if (bd_addr) in avdt_sec_check_complete_orig() 141 p_ccb = avdt_ccb_by_bd(bd_addr); in avdt_sec_check_complete_orig() 175 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in avdt_l2c_connect_ind_cback() argument [all …]
|
/external/bluetooth/bluedroid/stack/mcap/ |
D | mca_l2c.c | 73 static void mca_sec_check_complete_term (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data… in mca_sec_check_complete_term() argument 94 … L2CA_ErtmConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK, &ertm_info); in mca_sec_check_complete_term() 105 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, L2CAP_CONN_OK); in mca_sec_check_complete_term() 120 static void mca_sec_check_complete_orig (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data… in mca_sec_check_complete_orig() argument 124 UNUSED(bd_addr); in mca_sec_check_complete_orig() 153 void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in mca_l2c_cconn_ind_cback() argument 166 if ((p_ccb = mca_ccb_by_bd(handle, bd_addr)) == NULL) in mca_l2c_cconn_ind_cback() 169 if ((p_ccb = mca_ccb_alloc(handle, bd_addr)) != NULL) in mca_l2c_cconn_ind_cback() 178 rc = btm_sec_mx_access_request (bd_addr, psm, FALSE, BTM_SEC_PROTO_MCA, 0, in mca_l2c_cconn_ind_cback() 203 L2CA_ErtmConnectRsp (bd_addr, id, lcid, result, L2CAP_CONN_OK, p_ertm_info); in mca_l2c_cconn_ind_cback() [all …]
|