/system/bt/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 71 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddDevice() 83 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddDevice() 84 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice() 137 bd_addr[0], bd_addr[1], bd_addr[2], in BTM_SecAddDevice() 138 bd_addr[3], bd_addr[4], bd_addr[5]); in BTM_SecAddDevice() 178 BOOLEAN BTM_SecDeleteDevice (BD_ADDR bd_addr) in BTM_SecDeleteDevice() argument 182 if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in BTM_SecDeleteDevice() 183 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_BR_EDR)) in BTM_SecDeleteDevice() 189 if ((p_dev_rec = btm_find_dev(bd_addr)) != NULL) in BTM_SecDeleteDevice() [all …]
|
D | btm_ble.c | 52 extern void gatt_notify_enc_cmpl(BD_ADDR bd_addr); 72 BOOLEAN BTM_SecAddBleDevice (BD_ADDR bd_addr, BD_NAME bd_name, tBT_DEVICE_TYPE dev_type, in BTM_SecAddBleDevice() argument 76 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleDevice() 87 memcpy(p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddBleDevice() 88 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice() 89 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice() 111 memcpy(p_dev_rec->ble.pseudo_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddBleDevice() 113 tBTM_INQ_INFO *p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice() 140 BOOLEAN BTM_SecAddBleKey (BD_ADDR bd_addr, tBTM_LE_KEY_VALUE *p_le_key, tBTM_LE_KEY_TYPE key_type) in BTM_SecAddBleKey() argument 145 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddBleKey() [all …]
|
D | btm_sec.c | 55 BOOLEAN (APPL_AUTH_WRITE_EXCEPTION)(BD_ADDR bd_addr); 82 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig, 107 static BOOLEAN btm_sec_queue_encrypt_request (BD_ADDR bd_addr, tBT_TRANSPORT transport, 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() 853 void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask… in BTM_PINCodeReply() argument 867 if (memcmp (bd_addr, btm_cb.pairing_bda, BD_ADDR_LEN) != 0) in BTM_PINCodeReply() 873 if ((p_dev_rec = btm_find_dev (bd_addr)) == NULL) in BTM_PINCodeReply() [all …]
|
D | btm_ble_bgconn.c | 149 BOOLEAN btm_add_dev_to_controller (BOOLEAN to_add, BD_ADDR bd_addr) in btm_add_dev_to_controller() argument 151 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev (bd_addr); in btm_add_dev_to_controller() 157 … if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || !BTM_BLE_IS_RESOLVE_BDA(bd_addr)) { in btm_add_dev_to_controller() 158 started = btsnd_hcic_ble_add_white_list(p_dev_rec->ble.ble_addr_type, bd_addr); in btm_add_dev_to_controller() 160 } else if (memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0 && in btm_add_dev_to_controller() 167 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || !BTM_BLE_IS_RESOLVE_BDA(bd_addr)) in btm_add_dev_to_controller() 168 … started = btsnd_hcic_ble_remove_from_white_list(p_dev_rec->ble.ble_addr_type, bd_addr); in btm_add_dev_to_controller() 171 memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0) in btm_add_dev_to_controller() 178 UINT8 addr_type = BTM_IS_PUBLIC_BDA(bd_addr) ? BLE_ADDR_PUBLIC : BLE_ADDR_RANDOM; in btm_add_dev_to_controller() 179 started = btsnd_hcic_ble_remove_from_white_list(addr_type, bd_addr); in btm_add_dev_to_controller() [all …]
|
/system/bt/stack/smp/ |
D | smp_l2c.c | 40 static void smp_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, 42 static void smp_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf); 44 static void smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reas… 46 static void smp_br_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf); 91 static void smp_connect_callback (UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, in smp_connect_callback() argument 100 if (transport == BT_TRANSPORT_BR_EDR || memcmp(bd_addr, dummy_bda, BD_ADDR_LEN) == 0) in smp_connect_callback() 103 if (memcmp(bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) == 0) in smp_connect_callback() 107 (bd_addr[0]<<24)+(bd_addr[1]<<16)+(bd_addr[2]<<8) + bd_addr[3], in smp_connect_callback() 108 (bd_addr[4]<<8)+bd_addr[5], in smp_connect_callback() 117 p_cb->role = L2CA_GetBleConnRole(bd_addr); in smp_connect_callback() [all …]
|
D | smp_api.c | 138 tSMP_STATUS SMP_Pair (BD_ADDR bd_addr) in SMP_Pair() argument 155 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); in SMP_Pair() 157 if (!L2CA_ConnectFixedChnl (L2CAP_SMP_CID, bd_addr)) in SMP_Pair() 180 tSMP_STATUS SMP_BR_PairWith (BD_ADDR bd_addr) in SMP_BR_PairWith() argument 200 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); in SMP_BR_PairWith() 202 if (!L2CA_ConnectFixedChnl (L2CAP_SMP_BR_CID, bd_addr)) in SMP_BR_PairWith() 223 BOOLEAN SMP_PairCancel (BD_ADDR bd_addr) in SMP_PairCancel() argument 237 (!memcmp (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN)) ) in SMP_PairCancel() 260 void SMP_SecurityGrant(BD_ADDR bd_addr, UINT8 res) in SMP_SecurityGrant() argument 268 memcmp (smp_cb.pairing_bda, bd_addr, BD_ADDR_LEN)) in SMP_SecurityGrant() [all …]
|
/system/bt/btif/src/ |
D | btif_hh.c | 145 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 150 extern void btif_dm_cb_remove_bond(bt_bdaddr_t *bd_addr); 284 bda = (BD_ADDR*) (&p_dev->bd_addr); in update_keyboard_lockstates() 355 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr) in btif_hh_find_dev_by_bda() argument 360 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_dev_by_bda() 376 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 381 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) in btif_hh_find_connected_dev_by_bda() 397 void btif_hh_stop_vup_timer(bt_bdaddr_t *bd_addr) in btif_hh_stop_vup_timer() argument 399 btif_hh_device_t *p_dev = btif_hh_find_connected_dev_by_bda(bd_addr); in btif_hh_stop_vup_timer() 415 void btif_hh_start_vup_timer(bt_bdaddr_t *bd_addr) in btif_hh_start_vup_timer() argument [all …]
|
D | btif_dm.c | 108 BD_ADDR bd_addr; member 143 BD_ADDR bd_addr; member 185 bt_bdaddr_t bd_addr; member 225 static void btif_dm_cb_create_bond(bt_bdaddr_t *bd_addr, tBTA_TRANSPORT transport); 227 static void btif_update_remote_properties(BD_ADDR bd_addr, BD_NAME bd_name, 245 static void btif_stats_add_bond_event(const bt_bdaddr_t *bd_addr, 259 extern int btif_hh_connect(bt_bdaddr_t *bd_addr); 418 bdcpy(remote_bdaddr.address, p_search_data->inq_res.bd_addr); in check_cached_remote_name() 529 static void bond_state_changed(bt_status_t status, bt_bdaddr_t *bd_addr, bt_bond_state_t state) in bond_state_changed() argument 532 btif_stats_add_bond_event(bd_addr, BTIF_DM_FUNC_BOND_STATE_CHANGED, state); in bond_state_changed() [all …]
|
D | btif_hf.c | 197 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr) in is_connected() argument 204 ((bd_addr == NULL) || (bdcmp(bd_addr->address, in is_connected() 220 static int btif_hf_idx_by_bdaddr(bt_bdaddr_t *bd_addr) in btif_hf_idx_by_bdaddr() argument 225 if ((bdcmp(bd_addr->address, in btif_hf_idx_by_bdaddr() 418 p_data->open.bd_addr); in btif_hf_upstreams_evt() 742 static bt_status_t connect_int(bt_bdaddr_t *bd_addr, uint16_t uuid) in connect_int() argument 758 if (!is_connected(bd_addr)) in connect_int() 761 bdcpy(btif_hf_cb[i].connected_bda.address, bd_addr->address); in connect_int() 771 static bt_status_t connect( bt_bdaddr_t *bd_addr ) in connect() argument 774 return btif_queue_connect(UUID_SERVCLASS_AG_HANDSFREE, bd_addr, connect_int); in connect() [all …]
|
D | bluetooth.c | 262 static int create_bond(const bt_bdaddr_t *bd_addr, int transport) in create_bond() argument 268 return btif_dm_create_bond(bd_addr, transport); in create_bond() 271 static int create_bond_out_of_band(const bt_bdaddr_t *bd_addr, int transport, in create_bond_out_of_band() argument 278 return btif_dm_create_bond_out_of_band(bd_addr, transport, oob_data); in create_bond_out_of_band() 281 static int cancel_bond(const bt_bdaddr_t *bd_addr) in cancel_bond() argument 287 return btif_dm_cancel_bond(bd_addr); in cancel_bond() 290 static int remove_bond(const bt_bdaddr_t *bd_addr) in remove_bond() argument 292 if (is_restricted_mode() && !btif_storage_is_restricted_device(bd_addr)) in remove_bond() 299 return btif_dm_remove_bond(bd_addr); in remove_bond() 302 static int get_connection_state(const bt_bdaddr_t *bd_addr) in get_connection_state() argument [all …]
|
/system/bt/stack/rfcomm/ |
D | port_utils.c | 65 tPORT *port_allocate_port (UINT8 dlci, BD_ADDR bd_addr) in port_allocate_port() argument 90 memcpy (p_port->bd_addr, bd_addr, BD_ADDR_LEN); in port_allocate_port() 94 … bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_allocate_port() 156 packet_size = btm_get_max_packet_size (p_port->bd_addr); in port_select_mtu() 270 memcpy (p_port->bd_addr, BT_BD_ANY, BD_ADDR_LEN); in port_release_port() 287 tRFC_MCB *port_find_mcb (BD_ADDR bd_addr) in port_find_mcb() argument 294 && !memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)) in port_find_mcb() 298 … bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_find_mcb() 305 bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_find_mcb() 387 tPORT *port_find_port (UINT8 dlci, BD_ADDR bd_addr) in port_find_port() argument [all …]
|
D | rfc_utils.c | 135 tRFC_MCB *rfc_alloc_multiplexer_channel (BD_ADDR bd_addr, BOOLEAN is_initiator) in rfc_alloc_multiplexer_channel() argument 140 … bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in rfc_alloc_multiplexer_channel() 148 … rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1], in rfc_alloc_multiplexer_channel() 149 … rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3], in rfc_alloc_multiplexer_channel() 150 … rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]); in rfc_alloc_multiplexer_channel() 153 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN))) in rfc_alloc_multiplexer_channel() 178 memcpy (p_mcb->bd_addr, bd_addr, BD_ADDR_LEN); in rfc_alloc_multiplexer_channel() 347 void rfc_sec_check_complete (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) in rfc_sec_check_complete() argument 350 UNUSED(bd_addr); in rfc_sec_check_complete()
|
/system/bt/btif/co/ |
D | bta_dm_co.c | 80 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 83 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() 167 void bta_dm_co_rmt_oob(BD_ADDR bd_addr) in bta_dm_co_rmt_oob() argument 174 result = btif_dm_proc_rmt_oob(bd_addr, p_c, p_r); in bta_dm_co_rmt_oob() 178 bta_dm_ci_rmt_oob(result, bd_addr, p_c, p_r); in bta_dm_co_rmt_oob() [all …]
|
/system/bt/bta/dm/ |
D | bta_dm_api.c | 250 void BTA_DmDiscover(BD_ADDR bd_addr, tBTA_SERVICE_MASK services, in BTA_DmDiscover() argument 257 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscover() 276 void BTA_DmDiscoverUUID(BD_ADDR bd_addr, tSDP_UUID *uuid, in BTA_DmDiscoverUUID() argument 283 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscoverUUID() 308 void BTA_DmBond(BD_ADDR bd_addr) in BTA_DmBond() argument 314 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBond() 331 void BTA_DmBondByTransport(BD_ADDR bd_addr, tBTA_TRANSPORT transport) in BTA_DmBondByTransport() argument 337 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBondByTransport() 354 void BTA_DmBondCancel(BD_ADDR bd_addr) in BTA_DmBondCancel() argument 360 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBondCancel() [all …]
|
D | bta_dm_ci.c | 44 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 52 bdcpy(p_msg->bd_addr, bd_addr); in bta_dm_ci_io_req() 71 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 77 bdcpy(p_msg->bd_addr, bd_addr); in bta_dm_ci_rmt_oob()
|
D | bta_dm_act.c | 54 static void bta_dm_service_search_remname_cback (BD_ADDR bd_addr, DEV_CLASS dc, BD_NAME bd_name); 56 static void bta_dm_find_services ( BD_ADDR bd_addr); 59 static UINT8 bta_dm_authorize_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *… 60 static UINT8 bta_dm_pin_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, BOOLEAN min_1… 61 static UINT8 bta_dm_new_link_key_cback(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, LINK_… 62 static UINT8 bta_dm_authentication_complete_cback(BD_ADDR bd_addr, DEV_CLASS dev_class,BD_NAME bd_n… 63 static void bta_dm_local_name_cback(BD_ADDR bd_addr); 85 static BOOLEAN bta_dm_read_remote_device_name (BD_ADDR bd_addr,tBT_TRANSPORT transport); 98 static void btm_dm_start_gatt_discovery(BD_ADDR bd_addr); 99 static void bta_dm_cancel_gatt_discovery(BD_ADDR bd_addr); [all …]
|
/system/bt/btif/include/ |
D | btif_api.h | 227 bt_status_t btif_dm_create_bond(const bt_bdaddr_t *bd_addr, int transport); 238 bt_status_t btif_dm_create_bond_out_of_band(const bt_bdaddr_t *bd_addr, int transport, 250 bt_status_t btif_dm_cancel_bond(const bt_bdaddr_t *bd_addr); 261 bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 272 uint16_t btif_dm_get_connection_state(const bt_bdaddr_t *bd_addr); 283 bt_status_t btif_dm_pin_reply( const bt_bdaddr_t *bd_addr, uint8_t accept, 295 bt_status_t btif_dm_passkey_reply( const bt_bdaddr_t *bd_addr, 307 bt_status_t btif_dm_ssp_reply( const bt_bdaddr_t *bd_addr,
|
D | btif_hh.h | 62 bt_bdaddr_t bd_addr; member 78 bt_bdaddr_t bd_addr; member 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);
|
D | btif_dm.h | 47 void btif_dm_proc_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, tBTA_OOB_DATA *p_oob_data, 52 void btif_dm_proc_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, 59 void btif_dm_set_oob_for_le_io_req(BD_ADDR bd_addr, tBTA_OOB_DATA *p_oob_data, 64 BOOLEAN btif_dm_proc_rmt_oob(BD_ADDR bd_addr, BT_OCTET16 p_c, BT_OCTET16 p_r); 105 void btif_dm_update_ble_remote_properties( BD_ADDR bd_addr, BD_NAME bd_name,
|
/system/bt/bta/include/ |
D | bta_dm_co.h | 72 extern void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, 91 extern void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, 107 extern void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade ); 137 extern void bta_dm_co_rmt_oob(BD_ADDR bd_addr); 224 extern void bta_dm_co_ble_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, 265 extern void bta_dm_co_ble_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap,
|
D | bta_api.h | 275 BD_ADDR bd_addr; /* BD address of device to filter. */ member 467 typedef void (tBTA_DM_BLE_RSSI_CBACK) (BD_ADDR bd_addr, tBTA_DM_BLE_RSSI_ALERT_TYPE alert_type, INT… 608 BD_ADDR bd_addr; /* BD address peer device. */ member 701 BD_ADDR bd_addr; /* peer address */ member 707 BD_ADDR bd_addr; /* peer address */ member 715 BD_ADDR bd_addr; /* BD address peer device. */ member 730 BD_ADDR bd_addr; /* BD address peer device. */ member 739 BD_ADDR bd_addr; /* BD address peer device. */ member 748 BD_ADDR bd_addr; /* BD address peer device. */ member 759 BD_ADDR bd_addr; /* BD address peer device. */ member [all …]
|
/system/bt/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 …]
|
/system/bt/bta/pan/ |
D | bta_pan_act.c | 58 bta_sys_busy(BTA_ID_PAN, p_scb->app_id, p_scb->bd_addr); in bta_pan_pm_conn_busy() 75 bta_sys_idle(BTA_ID_PAN, p_scb->app_id, p_scb->bd_addr); in bta_pan_pm_conn_idle() 88 static void bta_pan_conn_state_cback(UINT16 handle, BD_ADDR bd_addr, tPAN_RESULT state, in bta_pan_conn_state_cback() argument 110 bdcpy(p_scb->bd_addr, bd_addr); in bta_pan_conn_state_cback() 263 BD_ADDR bd_addr; in bta_pan_has_multiple_connections() local 271 bdcpy(bd_addr, p_scb->bd_addr); in bta_pan_has_multiple_connections() 287 bdcmp(bd_addr, p_scb->bd_addr)) in bta_pan_has_multiple_connections() 471 …status = PAN_Connect (p_data->api_open.bd_addr, p_data->api_open.local_role, p_data->api_open.peer… in bta_pan_open() 478 bdcpy(p_scb->bd_addr, p_data->api_open.bd_addr); in bta_pan_open() 481 bdcpy(opening.bd_addr, p_data->api_open.bd_addr); in bta_pan_open() [all …]
|
/system/bt/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 …]
|
/system/bt/stack/include/ |
D | smp_api.h | 290 typedef UINT8 (tSMP_CALLBACK) (tSMP_EVT event, BD_ADDR bd_addr, tSMP_EVT_DATA *p_data); 348 extern tSMP_STATUS SMP_Pair (BD_ADDR bd_addr); 359 extern tSMP_STATUS SMP_BR_PairWith (BD_ADDR bd_addr); 370 extern BOOLEAN SMP_PairCancel (BD_ADDR bd_addr); 385 extern void SMP_SecurityGrant(BD_ADDR bd_addr, UINT8 res); 400 extern void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey); 414 extern void SMP_ConfirmReply (BD_ADDR bd_addr, UINT8 res); 428 extern void SMP_OobDataReply(BD_ADDR bd_addr, tSMP_STATUS res, UINT8 len, 474 extern void SMP_KeypressNotification (BD_ADDR bd_addr, UINT8 value);
|