Searched refs:remote_bd_addr (Results 1 - 21 of 21) sorted by relevance

/system/bt/btif/include/
H A Dbtif_storage.h78 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr,
92 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr,
107 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t *remote_bd_addr,
122 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr,
137 bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr);
234 bt_status_t btif_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr,
263 bt_status_t btif_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr);
275 BOOLEAN btif_storage_is_restricted_device(const bt_bdaddr_t *remote_bd_addr);
288 bt_status_t btif_storage_add_ble_bonding_key( bt_bdaddr_t *remote_bd_addr,
292 bt_status_t btif_storage_get_ble_bonding_key(bt_bdaddr_t *remote_bd_addr,
[all...]
/system/bt/service/hal/
H A Dbluetooth_interface.cpp87 bt_bdaddr_t *remote_bd_addr,
93 << " - BD_ADDR: " << BtAddrString(remote_bd_addr)
96 RemoteDevicePropertiesCallback(status, remote_bd_addr, num_properties,
107 void PinRequestCallback(bt_bdaddr_t *remote_bd_addr, bt_bdname_t *bd_name, argument
112 << " - remote_bd_addr: " << remote_bd_addr
116 FOR_EACH_BLUETOOTH_OBSERVER(PinRequestCallback(remote_bd_addr, bd_name, cod, min_16_digit));
119 void SSPRequestCallback(bt_bdaddr_t *remote_bd_addr, argument
124 << " - remote_bd_addr: " << remote_bd_addr
86 RemoteDevicePropertiesCallback(bt_status_t status, bt_bdaddr_t *remote_bd_addr, int num_properties, bt_property_t* properties) argument
132 BondStateChangedCallback( bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_bond_state_t state) argument
145 AclStateChangedCallback(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state) argument
353 PinRequestCallback( bt_bdaddr_t *remote_bd_addr, bt_bdname_t *bd_name, uint32_t cod, bool min_16_digit) argument
361 SSPRequestCallback( bt_bdaddr_t *remote_bd_addr, bt_bdname_t *bd_name, uint32_t cod, bt_ssp_variant_t pairing_variant, uint32_t pass_key) argument
370 BondStateChangedCallback( bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_bond_state_t state) argument
[all...]
H A Dbluetooth_interface.h57 bt_bdaddr_t *remote_bd_addr,
61 virtual void PinRequestCallback(bt_bdaddr_t *remote_bd_addr,
65 virtual void SSPRequestCallback(bt_bdaddr_t *remote_bd_addr,
71 bt_bdaddr_t *remote_bd_addr,
/system/bt/btif/src/
H A Dbtif_storage.c166 static bt_status_t btif_in_fetch_bonded_ble_device(const char *remote_bd_addr,int add,
174 static int prop2cfg(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop) argument
177 if(remote_bd_addr)
178 bdaddr_to_string(remote_bd_addr, bdstr, sizeof(bdstr));
195 if(remote_bd_addr)
267 static int cfg2prop(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop) argument
270 if(remote_bd_addr)
271 bdaddr_to_string(remote_bd_addr, bdstr, sizeof(bdstr));
289 if(remote_bd_addr)
700 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr, argument
716 btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr, bt_property_t *property) argument
734 btif_storage_add_remote_device(bt_bdaddr_t *remote_bd_addr, uint32_t num_properties, bt_property_t *properties) argument
777 btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr, LINK_KEY link_key, uint8_t key_type, uint8_t pin_length) argument
809 btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr) argument
976 btif_storage_add_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, char *key, UINT8 key_type, UINT8 key_length) argument
1022 btif_storage_get_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, UINT8 key_type, char *key_value, int key_length) argument
1068 btif_storage_remove_ble_bonding_keys(bt_bdaddr_t *remote_bd_addr) argument
1187 btif_in_fetch_bonded_ble_device(const char *remote_bd_addr, int add, btif_bonded_devices_t *p_bonded_devices) argument
1243 btif_storage_set_remote_addr_type(bt_bdaddr_t *remote_bd_addr, UINT8 addr_type) argument
1262 btif_storage_get_remote_addr_type(bt_bdaddr_t *remote_bd_addr, int*addr_type) argument
1282 btif_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr, UINT16 attr_mask, UINT8 sub_class, UINT8 app_id, UINT16 vendor_id, UINT16 product_id, UINT16 version, UINT8 ctry_code, UINT16 ssr_max_latency, UINT16 ssr_min_tout, UINT16 dl_len, UINT8 *dsc_list) argument
1404 btif_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr) argument
1488 btif_storage_is_restricted_device(const bt_bdaddr_t *remote_bd_addr) argument
[all...]
H A Dbtif_dm.c2554 BD_ADDR remote_bd_addr; local
2555 bdcpy(remote_bd_addr, bd_addr->address);
2561 BTA_DmBlePasskeyReply(remote_bd_addr, accept, passkey);
/system/bt/stack/l2cap/
H A Dl2c_csm.c175 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, TRUE,
181 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
189 || !btm_acl_notif_conn_collision(p_ccb->p_lcb->remote_bd_addr))
201 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, TRUE,
218 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings);
222 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
264 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, FALSE,
281 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings);
285 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm,
363 l2ble_sec_access_req(p_ccb->p_lcb->remote_bd_addr, p_cc
[all...]
H A Dl2c_utils.c67 memcpy (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN);
161 btm_remove_sco_links(p_lcb->remote_bd_addr);
188 if (!memcmp(l2cb.ble_connecting_bda, p_lcb->remote_bd_addr, BD_ADDR_LEN))
205 btm_acl_removed (p_lcb->remote_bd_addr, p_lcb->transport);
207 btm_acl_removed (p_lcb->remote_bd_addr, BT_TRANSPORT_BR_EDR);
263 p_buf->p_callback(p_lcb->remote_bd_addr, p_lcb->transport, p_buf->p_ref_data, BTM_DEV_RESET);
293 (!memcmp (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN)))
1698 btm_sec_clr_temp_auth_service (p_lcb->remote_bd_addr);
2293 BTM_ReadDevInfo(p_lcb->remote_bd_addr, &dev_type, &addr_type);
2323 is_sco_active = btm_is_sco_active_by_bdaddr(p_lcb_cur->remote_bd_addr);
[all...]
H A Dl2c_ble.c468 tACL_CONN *p_acl_cb = btm_bda_to_acl(p_lcb->remote_bd_addr, BT_TRANSPORT_LE);
473 btm_find_or_alloc_dev(p_lcb->remote_bd_addr);
541 bdcpy(bd_addr.address, p_lcb->remote_bd_addr);
581 bdcpy(bd_addr.address, p_lcb->remote_bd_addr);
856 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (p_lcb->remote_bd_addr);
875 memcpy(peer_addr, p_lcb->remote_bd_addr, BD_ADDR_LEN);
928 memcpy (l2cb.ble_connecting_bda, p_lcb->remote_bd_addr, BD_ADDR_LEN);
1199 BTM_SetBleDataLength(p_lcb->remote_bd_addr, tx_mtu);
H A Dl2c_link.c426 btm_sco_acl_removed (p_lcb->remote_bd_addr);
442 btm_acl_removed (p_lcb->remote_bd_addr, p_lcb->transport);
465 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, p_lcb->transport);
468 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, BT_TRANSPORT_BR_EDR);
472 L2CAP_TRACE_ERROR("%s: unexpected p_fixed_ccbs[%d] is NULL remote_bd_addr = %s p_lcb = %p in_use = %d link_state = %d handle = %d link_role = %d is_bonding = %d disc_reason = %d transport = %d",
474 bdaddr_to_string((bt_bdaddr_t *)&p_lcb->remote_bd_addr,
717 memcpy (ci.bd_addr, p_lcb->remote_bd_addr, sizeof(BD_ADDR));
1039 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS)
1406 (*p_lcb->p_nocp_cb)(p_lcb->remote_bd_addr);
H A Dl2c_ucd.c697 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (p_ccb->p_lcb->remote_bd_addr,
717 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (p_ccb->p_lcb->remote_bd_addr,
772 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm,
839 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm,
863 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Data_Cb(p_ccb->p_lcb->remote_bd_addr, (BT_HDR *)p_buf);
H A Dl2c_api.c1538 flush_tout, p_lcb->remote_bd_addr[3],
1539 p_lcb->remote_bd_addr[4], p_lcb->remote_bd_addr[5]);
1608 memcpy (bd_addr, p_lcb->remote_bd_addr, BD_ADDR_LEN);
1748 (fixed_cid,p_lcb->remote_bd_addr, TRUE, 0, p_lcb->transport);
1751 (fixed_cid, p_lcb->remote_bd_addr, TRUE, 0, BT_TRANSPORT_BR_EDR);
H A Dl2c_main.c153 l2cble_notify_le_connection(p_lcb->remote_bd_addr);
224 (rcv_cid, p_lcb->remote_bd_addr, p_msg);
374 memcpy (ci.bd_addr, p_lcb->remote_bd_addr, sizeof(BD_ADDR));
736 memcpy (ci.bd_addr, p_lcb->remote_bd_addr, sizeof(BD_ADDR));
H A Dl2c_int.h389 BD_ADDR remote_bd_addr; /* The BD address of the remote */ member in struct:t_l2c_linkcb
H A Dl2c_fcr.c1526 (p_ccb->local_cid, p_ccb->p_lcb->remote_bd_addr, p_buf);
/system/bt/tools/bdtool/
H A Dadapter.c71 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state) { argument
166 bt_bdaddr_t *remote_bd_addr,
192 fprintf(stdout, "Device found:%s %s\n", bdaddr_to_string(remote_bd_addr, buf, sizeof(buf)), bd_name->name);
197 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant,
165 ssp_request( bt_bdaddr_t *remote_bd_addr, bt_bdname_t *bd_name, uint32_t cod, bt_ssp_variant_t pairing_variant, uint32_t pass_key) argument
/system/bt/stack/btm/
H A Dbtm_acl.c359 && (bda && (0 == memcmp(btm_cb.devcb.switch_role_ref_data.remote_bd_addr, bda, BD_ADDR_LEN))))
567 tBTM_STATUS BTM_GetRole (BD_ADDR remote_bd_addr, UINT8 *p_role) argument
571 if ((p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL)
600 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) argument
614 remote_bd_addr[0], remote_bd_addr[1], remote_bd_addr[2],
615 remote_bd_addr[3], remote_bd_addr[4], remote_bd_addr[
[all...]
H A Dbtm_inq.c1461 (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN)))
1548 if ((p_ent->in_use) && (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN)))
1579 memcpy (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN);
1595 memcpy (p_old->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN);
/system/bt/bta/dm/
H A Dbta_dm_act.c86 static void bta_dm_discover_device(BD_ADDR remote_bd_addr);
133 static void bta_dm_reset_sec_dev_pending(BD_ADDR remote_bd_addr);
134 static void bta_dm_remove_sec_dev_entry(BD_ADDR remote_bd_addr);
1517 bta_dm_discover_device(bta_dm_search_cb.p_btm_inq_info->results.remote_bd_addr);
2204 bta_dm_discover_device(bta_dm_search_cb.p_btm_inq_info->results.remote_bd_addr);
2228 static void bta_dm_discover_device(BD_ADDR remote_bd_addr) argument
2238 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type);
2250 remote_bd_addr[0],remote_bd_addr[1],
2251 remote_bd_addr[
3474 bta_dm_reset_sec_dev_pending(BD_ADDR remote_bd_addr) argument
3497 bta_dm_remove_sec_dev_entry(BD_ADDR remote_bd_addr) argument
[all...]
/system/bt/stack/include/
H A Dsdp_api.h123 BD_ADDR remote_bd_addr; /* Remote BD address */ member in struct:t_sdp_disc_rec
H A Dbtm_api.h602 BD_ADDR remote_bd_addr; member in struct:__anon1030
724 BD_ADDR remote_bd_addr; /* Remote BD addr involved with the switch */ member in struct:__anon1035
2733 extern tBTM_STATUS BTM_GetRole (BD_ADDR remote_bd_addr, UINT8 *p_role);
2753 extern tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr,
/system/bt/stack/sdp/
H A Dsdp_discovery.c804 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN);

Completed in 327 milliseconds