Home
last modified time | relevance | path

Searched refs:remote_addr (Results 1 – 20 of 20) sorted by relevance

/system/bt/btif/include/
Dbtif_api.h149 bt_status_t btif_get_remote_device_property( bt_bdaddr_t *remote_addr,
161 bt_status_t btif_get_remote_device_properties( bt_bdaddr_t *remote_addr);
174 bt_status_t btif_set_remote_device_property( bt_bdaddr_t *remote_addr,
187 bt_status_t btif_get_remote_service_record( bt_bdaddr_t *remote_addr,
331 bt_status_t btif_dm_get_remote_service_record(bt_bdaddr_t *remote_addr,
344 bt_status_t btif_dm_get_remote_services(bt_bdaddr_t *remote_addr);
355 bt_status_t btif_dm_get_remote_services_by_transport(bt_bdaddr_t *remote_addr, int transport);
Dbtif_common.h214 void btif_remote_properties_evt(bt_status_t status, bt_bdaddr_t *remote_addr,
/system/bt/btif/src/
Dbluetooth.c199 int get_remote_device_properties(bt_bdaddr_t *remote_addr) in get_remote_device_properties() argument
205 return btif_get_remote_device_properties(remote_addr); in get_remote_device_properties()
208 int get_remote_device_property(bt_bdaddr_t *remote_addr, bt_property_type_t type) in get_remote_device_property() argument
214 return btif_get_remote_device_property(remote_addr, type); in get_remote_device_property()
217 int set_remote_device_property(bt_bdaddr_t *remote_addr, const bt_property_t *property) in set_remote_device_property() argument
223 return btif_set_remote_device_property(remote_addr, property); in set_remote_device_property()
226 int get_remote_service_record(bt_bdaddr_t *remote_addr, bt_uuid_t *uuid) in get_remote_service_record() argument
232 return btif_get_remote_service_record(remote_addr, uuid); in get_remote_service_record()
235 int get_remote_services(bt_bdaddr_t *remote_addr) in get_remote_services() argument
241 return btif_dm_get_remote_services(remote_addr); in get_remote_services()
Dbtif_core.c935 void btif_remote_properties_evt(bt_status_t status, bt_bdaddr_t *remote_addr, in btif_remote_properties_evt() argument
939 status, remote_addr, num_props, p_props); in btif_remote_properties_evt()
1152 bt_status_t btif_get_remote_device_property(bt_bdaddr_t *remote_addr, in btif_get_remote_device_property() argument
1160 memcpy(&(req.read_req.bd_addr), remote_addr, sizeof(bt_bdaddr_t)); in btif_get_remote_device_property()
1177 bt_status_t btif_get_remote_device_properties(bt_bdaddr_t *remote_addr) in btif_get_remote_device_properties() argument
1184 memcpy(&(req.read_req.bd_addr), remote_addr, sizeof(bt_bdaddr_t)); in btif_get_remote_device_properties()
1202 bt_status_t btif_set_remote_device_property(bt_bdaddr_t *remote_addr, in btif_set_remote_device_property() argument
1210 memcpy(&(req.write_req.bd_addr), remote_addr, sizeof(bt_bdaddr_t)); in btif_set_remote_device_property()
1231 bt_status_t btif_get_remote_service_record(bt_bdaddr_t *remote_addr, in btif_get_remote_service_record() argument
1237 return btif_dm_get_remote_service_record(remote_addr, uuid); in btif_get_remote_service_record()
Dbtif_mce.c71 bdcpy(addr.address, evt_data->remote_addr); in btif_mce_mas_discovery_comp_evt()
Dbtif_sdp.c72 bdcpy(addr.address, evt_data->remote_addr); in btif_sdp_search_comp_evt()
Dbtif_dm.c2652 bt_status_t btif_dm_get_remote_services(bt_bdaddr_t *remote_addr) in btif_dm_get_remote_services() argument
2656 …BTIF_TRACE_EVENT("%s: remote_addr=%s", __FUNCTION__, bdaddr_to_string(remote_addr, bdstr, sizeof(b… in btif_dm_get_remote_services()
2658 BTA_DmDiscover(remote_addr->address, BTA_ALL_SERVICE_MASK, in btif_dm_get_remote_services()
2673 bt_status_t btif_dm_get_remote_services_by_transport(bt_bdaddr_t *remote_addr, const int transport) in btif_dm_get_remote_services_by_transport() argument
2683 BTA_DmDiscoverByTransport(remote_addr->address, &mask_ext, in btif_dm_get_remote_services_by_transport()
2698 bt_status_t btif_dm_get_remote_service_record(bt_bdaddr_t *remote_addr, in btif_dm_get_remote_service_record() argument
2704 …BTIF_TRACE_EVENT("%s: remote_addr=%s", __FUNCTION__, bdaddr_to_string(remote_addr, bdstr, sizeof(b… in btif_dm_get_remote_service_record()
2709 BTA_DmDiscoverUUID(remote_addr->address, &sdp_uuid, in btif_dm_get_remote_service_record()
/system/bt/bta/mce/
Dbta_mce_act.c73 bdcpy(evt_data.remote_addr, bta_mce_cb.remote_addr); in bta_mce_search_cback()
168 bdcpy(bta_mce_cb.remote_addr, p_data->get_rmt_mas.bd_addr); in bta_mce_get_remote_mas_instances()
Dbta_mce_int.h71 BD_ADDR remote_addr; member
/system/bt/stack/btm/
Dbtm_acl.c106 if ((p->in_use) && (!memcmp (p->remote_addr, bda, BD_ADDR_LEN)) in btm_bda_to_acl()
233 BTM_SetLinkPolicy(p->remote_addr, &btm_cb.btm_def_link_policy); in btm_acl_created()
246 memcpy (p->remote_addr, bda, BD_ADDR_LEN); in btm_acl_created()
655 if ((status = BTM_ReadPowerMode(p->remote_addr, &pwr_mode)) != BTM_SUCCESS) in BTM_SwitchRole()
663 status = BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p->remote_addr, &settings); in BTM_SwitchRole()
758 if (!btsnd_hcic_switch_role (p->remote_addr, (UINT8)!p->link_role)) in btm_acl_encrypt_change()
762 … btm_acl_report_role_change(btm_cb.devcb.switch_role_ref_data.hci_status, p->remote_addr); in btm_acl_encrypt_change()
767 if ((p_dev_rec = btm_find_dev (p->remote_addr)) != NULL) in btm_acl_encrypt_change()
778 btm_acl_report_role_change(btm_cb.devcb.switch_role_ref_data.hci_status, p->remote_addr); in btm_acl_encrypt_change()
795 if ((p_dev_rec = btm_find_dev (p->remote_addr)) != NULL) in btm_acl_encrypt_change()
[all …]
Dbtm_pm.c402 (*cb)(btm_cb.acl_db[btm_cb.pm_pend_link].remote_addr, BTM_PM_STS_ERROR, BTM_DEV_RESET, 0); in btm_pm_reset()
445 if ((p->in_use) && (!memcmp (p->remote_addr, remote_bda, BD_ADDR_LEN)) in btm_pm_find_acl_ind()
786 …(*btm_cb.pm_reg_db[btm_cb.pm_pend_id].cback)(btm_cb.acl_db[btm_cb.pm_pend_link].remote_addr, pm_st… in btm_pm_proc_cmd_status()
836 if ((p_lcb = l2cu_find_lcb_by_bd_addr(p->remote_addr, BT_TRANSPORT_BR_EDR)) != NULL) in btm_pm_proc_mode_change()
883 (*btm_cb.pm_reg_db[yy].cback)( p->remote_addr, mode, interval, hci_status); in btm_pm_proc_mode_change()
892 btm_cont_rswitch(p, btm_find_dev(p->remote_addr), hci_status); in btm_pm_proc_mode_change()
941 (*btm_cb.pm_reg_db[yy].cback)( p_acl->remote_addr, BTM_PM_STS_SSR, use_ssr, status); in btm_pm_proc_ssr_evt()
Dbtm_int.h85 BD_ADDR remote_addr; member
Dbtm_sco.c446 if (BTM_BothEndsSupportSecureConnections(p_acl->remote_addr))
Dbtm_sec.c4653 BTM_SetLinkPolicy (p_acl_cb->remote_addr, &btm_cb.btm_def_link_policy); in btm_sec_connected()
/system/bt/bta/include/
Dbta_mce_api.h66 BD_ADDR remote_addr; member
Dbta_sdp_api.h57 BD_ADDR remote_addr; member
/system/bt/bta/sdp/
Dbta_sdp_int.h92 BD_ADDR remote_addr; member
Dbta_sdp_act.c395 bdcpy(evt_data.remote_addr, bta_sdp_cb.remote_addr); in bta_sdp_search_cback()
492 bdcpy(result.remote_addr, p_data->get_search.bd_addr); in bta_sdp_search()
500 bdcpy(bta_sdp_cb.remote_addr, p_data->get_search.bd_addr); in bta_sdp_search()
524 bdcpy(result.remote_addr, p_data->get_search.bd_addr); in bta_sdp_search()
/system/bt/bta/jv/
Dbta_jv_act.c57 BD_ADDR remote_addr; member
2289 if (addr && !memcmp(addr, &t->remote_addr, sizeof(t->remote_addr))) in fcclient_find_by_addr()
2421 memcpy(&new_conn->remote_addr, bd_addr, sizeof(new_conn->remote_addr)); in fcchan_conn_chng_cbk()
2451 … memcpy(&open_evt.l2c_le_open.rem_bda, &t->remote_addr, sizeof(open_evt.l2c_le_open.rem_bda)); in fcchan_conn_chng_cbk()
2530 memcpy(&t->remote_addr, &cc->peer_bd_addr, sizeof(t->remote_addr)); in bta_jv_l2cap_connect_le()
2534 if (L2CA_ConnectFixedChnl(t->chan, t->remote_addr)) { in bta_jv_l2cap_connect_le()
/system/bt/stack/avdt/
Davdt_scb_act.c1009 BD_ADDR remote_addr; in avdt_scb_hdl_tc_close() local
1012 memcpy (remote_addr, p_ccb->peer_addr, BD_ADDR_LEN); in avdt_scb_hdl_tc_close()
1041 (*p_ctrl_cback)(hdl, remote_addr, event, &avdt_ctrl); in avdt_scb_hdl_tc_close()