/external/bluetooth/bluedroid/btif/src/ |
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...] |
bluetooth.c | 254 static int create_bond(const bt_bdaddr_t *bd_addr) 260 return btif_dm_create_bond(bd_addr); 263 static int cancel_bond(const bt_bdaddr_t *bd_addr) 269 return btif_dm_cancel_bond(bd_addr); 272 static int remove_bond(const bt_bdaddr_t *bd_addr) 278 return btif_dm_remove_bond(bd_addr); 281 static int pin_reply(const bt_bdaddr_t *bd_addr, uint8_t accept, 288 return btif_dm_pin_reply(bd_addr, accept, pin_len, pin_code); 291 static int ssp_reply(const bt_bdaddr_t *bd_addr, bt_ssp_variant_t variant, 298 return btif_dm_ssp_reply(bd_addr, variant, accept, passkey) [all...] |
btif_sock.c | 44 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, 122 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, 125 if((uuid == NULL && channel <= 0) || bd_addr == NULL || sock_fd == NULL) 127 BTIF_TRACE_ERROR4("invalid parameters, bd_addr:%p, uuid:%p, channel:%d, sock_fd:%p", 128 bd_addr, uuid, channel, sock_fd); 136 status = btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags);
|
/external/bluetooth/bluedroid/stack/pan/ |
pan_int.h | 55 BD_ADDR rem_bda; 85 BD_ADDR my_bda; /* BD Address of this device */ 113 BD_ADDR p_bda, 117 extern void pan_connect_state_cb (UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_role_change); 144 extern tPAN_CONN *pan_allocate_pcb (BD_ADDR p_bda, UINT16 handle); 146 extern tPAN_CONN *pan_get_pcb_by_addr (BD_ADDR p_bda);
|
/external/bluetooth/bluedroid/stack/btm/ |
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...] |
btm_sec.c | 44 BOOLEAN (APPL_AUTH_WRITE_EXCEPTION)(BD_ADDR bd_addr); 72 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig, 266 BOOLEAN BTM_GetSecurityFlags (BD_ADDR bd_addr, UINT8 * p_sec_flags) 270 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) 791 void btm_sec_clr_temp_auth_service (BD_ADDR bda) 856 ** Parameters: bd_addr - Address of the device for which PIN was requested 863 void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask[] 3112 BD_ADDR bd_addr; \/* peer address *\/ local 3897 UINT8 bd_addr[BD_ADDR_LEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff} ; local [all...] |
btm_int.h | 89 BD_ADDR remote_addr; 124 BD_ADDR conn_addr; /* local device address used for this connection */ 126 BD_ADDR active_remote_addr; /* remote address used on this connection */ 184 BD_ADDR local_addr; /* BD_ADDR of the local device */ 192 BD_ADDR read_tx_pwr_addr; /* read TX power target address */ 253 BD_ADDR bd_addr; member in struct:__anon3522 301 BD_ADDR remname_bda; /* Name of bd addr for active remote name request */ 434 BD_ADDR xfer_addr 529 BD_ADDR bd_addr; \/* BD_ADDR of the device *\/ member in struct:__anon3532 730 BD_ADDR bd_addr; member in struct:__anon3544 [all...] |
/external/bluetooth/bluedroid/stack/include/ |
l2c_api.h | 187 typedef void (tL2CA_CONNECT_IND_CB) (BD_ADDR, UINT16, UINT16, UINT8); 234 typedef void (tL2CA_QOS_VIOLATION_IND_CB) (BD_ADDR); 254 typedef void (tL2CA_ECHO_DATA_CB) (BD_ADDR, UINT16, UINT8 *); 270 ** peer BD_ADDR 272 typedef void (tL2CA_NOCP_CB) (BD_ADDR); 388 L2C_API extern UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr); 401 L2C_API extern BOOLEAN L2CA_ConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, 417 L2C_API extern UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr, 432 L2C_API extern BOOLEAN L2CA_ErtmConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, 504 L2C_API extern BOOLEAN L2CA_Ping (BD_ADDR p_bd_addr, tL2CA_ECHO_RSP_CB *p_cb) [all...] |
btm_ble_api.h | 306 typedef BOOLEAN (tBTM_BLE_SEL_CBACK)(BD_ADDR random_bda, UINT8 *p_remote_name); 312 typedef void (tBTM_BLE_RANDOM_SET_CBACK) (BD_ADDR random_bda); 314 typedef void (tBTM_BLE_SCAN_REQ_CBACK)(BD_ADDR remote_bda, tBLE_ADDR_TYPE addr_type, UINT8 adv_evt); 330 ** Parameters: bd_addr - BD address of the peer 338 BTM_API extern BOOLEAN BTM_SecAddBleDevice (BD_ADDR bd_addr, BD_NAME bd_name, 349 ** Parameters: bd_addr - BD address of the peer 356 BTM_API extern BOOLEAN BTM_SecAddBleKey (BD_ADDR bd_addr, tBTM_LE_KEY_VALUE *p_le_key, 508 ** Parameters bd_addr - peer device bd address [all...] |
btm_api.h | 156 typedef UINT8 (tBTM_FILTER_CB) (BD_ADDR bd_addr, DEV_CLASS dc); 518 #define BTM_OOB_MANDATORY_SIZE 8 /* include 2 bytes length & 6 bytes bd_addr */ 572 BD_ADDR bdaddr_cond; 608 BD_ADDR remote_bd_addr; 733 BD_ADDR rem_bda; 744 BD_ADDR remote_bd_addr; /* Remote BD addr involved with the switch */ 1056 BD_ADDR bd_addr; member in struct:__anon3705 1068 BD_ADDR bd_addr; member in struct:__anon3706 1077 BD_ADDR bd_addr; member in struct:__anon3707 1443 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3711 1453 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3712 1462 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3713 1476 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3714 1484 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3715 1503 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3717 1518 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3719 1527 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3720 1536 BD_ADDR bd_addr; \/* peer address *\/ member in struct:__anon3721 1838 BD_ADDR bd_addr; member in struct:__anon3742 1980 BD_ADDR bd_addr; member in struct:__anon3748 2004 BD_ADDR bd_addr; member in struct:__anon3751 [all...] |
gap_api.h | 36 #define GAP_NO_BDADDR_REC (GAP_ERR_GRP + 0x06) /* No Inquiry DB record for BD_ADDR */ 183 BD_ADDR bd_addr; member in struct:__anon3770 223 BD_ADDR reconn_bda; 230 typedef void (tGAP_BLE_DEV_NAME_CBACK)(BOOLEAN status, BD_ADDR addr, UINT16 length, char *p_name); 232 typedef void (tGAP_BLE_RECONN_ADDR_CBACK)(BOOLEAN status, BD_ADDR addr, BD_ADDR reconn_bda); 370 ** Returns BT_PASS if the name was immediately available. (BD_ADDR is returned) 377 BD_ADDR bd_addr); [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 );
|
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_int.h | 340 BD_ADDR peer_bda; 443 BD_ADDR remote_bda; 453 BD_ADDR bda; 524 extern BOOLEAN gatt_disconnect (BD_ADDR rem_bda); 525 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr); 526 extern BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb); 535 extern void gatt_send_srv_chg_ind (BD_ADDR peer_bda); 537 extern void gatt_add_a_bonded_dev_for_srv_chg (BD_ADDR bda); 540 extern UINT16 gatt_profile_find_conn_id_by_bd_addr(BD_ADDR bda) [all...] |
gatt_main.c | 46 static void gatt_le_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason); 47 static void gatt_le_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf); 49 static void gatt_l2cif_connect_ind_cback (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id); 144 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb) 178 BOOLEAN gatt_disconnect (BD_ADDR rem_bda) 318 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr) [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_int.h | 117 BD_ADDR remote_bda; 194 BD_ADDR remote_bda; 203 BD_ADDR remote_bda; 300 BD_ADDR server_bda; 339 BD_ADDR remote_bda; 358 BD_ADDR bda; 386 BD_ADDR remote_bda; 395 BD_ADDR remote_bda; 484 BD_ADDR remote_bda, UINT16 conn_id); 491 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda) [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_hl.h | 131 BD_ADDR bd_addr; member in struct:__anon3352 193 BD_ADDR bd_addr; member in struct:__anon3357 205 BD_ADDR bd_addr; member in struct:__anon3358 223 BD_ADDR bd_addr; member in struct:__anon3359 273 BD_ADDR bd_addr; member in struct:__anon3363 [all...] |
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_l2c.c | 38 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 72 static void avdt_sec_check_complete_term (BD_ADDR bd_addr, void *p_ref_data, UINT8 res) 79 if (!bd_addr) 81 AVDT_TRACE_WARNING0("avdt_sec_check_complete_term: NULL BD_ADDR"); 85 p_ccb = avdt_ccb_by_bd(bd_addr); 94 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK); 113 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, L2CAP_CONN_OK); 128 static void avdt_sec_check_complete_orig (BD_ADDR bd_addr, void *p_ref_data, UINT8 res [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_l2c.c | 72 static void mca_sec_check_complete_term (BD_ADDR bd_addr, void *p_ref_data, UINT8 res) 91 L2CA_ErtmConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK, &ertm_info); 102 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, L2CAP_CONN_OK); 117 static void mca_sec_check_complete_orig (BD_ADDR bd_addr, void *p_ref_data, UINT8 res) 148 void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) 161 if ((p_ccb = mca_ccb_by_bd(handle, bd_addr)) == NULL) 164 if ((p_ccb = mca_ccb_alloc(handle, bd_addr)) != NULL [all...] |
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_int.h | 134 BD_ADDR rem_bda; 144 BD_ADDR sent_mcast_filter_start[BNEP_MAX_MULTI_FILTERS]; 145 BD_ADDR sent_mcast_filter_end[BNEP_MAX_MULTI_FILTERS]; 152 BD_ADDR rcvd_mcast_filter_start[BNEP_MAX_MULTI_FILTERS]; 153 BD_ADDR rcvd_mcast_filter_end[BNEP_MAX_MULTI_FILTERS]; 187 BD_ADDR my_bda; /* BD Address of this device */ 217 extern tBNEP_CONN *bnepu_allocate_bcb (BD_ADDR p_rem_bda); 238 extern void bnep_sec_check_complete (BD_ADDR bd_addr, void *p_ref_data, UINT8 result); 239 extern tBNEP_RESULT bnep_is_packet_allowed (tBNEP_CONN *p_bcb, BD_ADDR p_dest_addr, UINT16 protocol, BOOLEAN fw_ext_present, UINT8 *p_data) [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_int.h | 97 BD_ADDR bd_addr; /* BD ADDR of the peer if initiator */ member in struct:__anon3956 160 BD_ADDR bd_addr; /* BD ADDR of the device for the multiplexer channel */ member in struct:t_port_info 226 extern tPORT *port_allocate_port (UINT8 dlci, BD_ADDR bd_addr); 231 extern tRFC_MCB *port_find_mcb (BD_ADDR bd_addr); 233 extern tPORT *port_find_port (UINT8 dlci, BD_ADDR bd_addr); [all...] |
rfc_utils.c | 129 ** the BD_ADDR. 132 tRFC_MCB *rfc_alloc_multiplexer_channel (BD_ADDR bd_addr, BOOLEAN is_initiator) 136 RFCOMM_TRACE_DEBUG6("rfc_alloc_multiplexer_channel: bd_addr:%02x:%02x:%02x:%02x:%02x:%02x", 137 bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]) [all...] |
/external/bluetooth/bluedroid/bta/sys/ |
bta_sys.h | 151 typedef void (tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 268 extern void bta_sys_conn_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 269 extern void bta_sys_conn_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 270 extern void bta_sys_app_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 271 extern void bta_sys_app_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 272 extern void bta_sys_sco_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 273 extern void bta_sys_sco_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 274 extern void bta_sys_sco_use(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 275 extern void bta_sys_sco_unuse(UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 276 extern void bta_sys_idle(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_pan_api.h | 79 BD_ADDR bd_addr; /* BD address of peer device. */ member in struct:__anon3250 88 BD_ADDR bd_addr; /* BD address of peer device. */ member in struct:__anon3251 179 BTA_API void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role);
|
/external/bluetooth/bluedroid/bta/pan/ |
bta_pan_int.h | 97 BD_ADDR bd_addr; /* peer bdaddr */ member in struct:__anon3295 132 BD_ADDR bd_addr; /* peer bdaddr */ member in struct:__anon3299 164 BD_ADDR src; 165 BD_ADDR dst;
|
/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;
|