Home
last modified time | relevance | path

Searched refs:bd_addr (Results 1 – 25 of 214) sorted by relevance

123456789

/system/bt/include/hardware/
Dbluetooth_headset_callbacks.h38 RawAddress* bd_addr) = 0;
47 RawAddress* bd_addr) = 0;
56 RawAddress* bd_addr) = 0;
63 virtual void AnswerCallCallback(RawAddress* bd_addr) = 0;
70 virtual void HangupCallCallback(RawAddress* bd_addr) = 0;
80 RawAddress* bd_addr) = 0;
88 virtual void DialCallCallback(char* number, RawAddress* bd_addr) = 0;
96 virtual void DtmfCmdCallback(char tone, RawAddress* bd_addr) = 0;
105 RawAddress* bd_addr) = 0;
113 virtual void WbsCallback(bthf_wbs_config_t wbs, RawAddress* bd_addr) = 0;
[all …]
Dbt_hf_client.h180 const RawAddress* bd_addr, bthf_client_connection_state_t state,
187 const RawAddress* bd_addr, bthf_client_audio_state_t state);
192 typedef void (*bthf_client_vr_cmd_callback)(const RawAddress* bd_addr,
198 const RawAddress* bd_addr, bthf_client_network_state_t state);
203 const RawAddress* bd_addr, bthf_client_service_type_t type);
207 typedef void (*bthf_client_network_signal_callback)(const RawAddress* bd_addr,
212 typedef void (*bthf_client_battery_level_callback)(const RawAddress* bd_addr,
217 typedef void (*bthf_client_current_operator_callback)(const RawAddress* bd_addr,
222 typedef void (*bthf_client_call_callback)(const RawAddress* bd_addr,
228 const RawAddress* bd_addr, bthf_client_callsetup_t callsetup);
[all …]
Dbt_rc.h286 typedef void (*btrc_remote_features_callback)(const RawAddress& bd_addr,
290 typedef void (*btrc_get_play_status_callback)(const RawAddress& bd_addr);
293 typedef void (*btrc_list_player_app_attr_callback)(const RawAddress& bd_addr);
297 const RawAddress& bd_addr);
304 const RawAddress& bd_addr);
310 uint8_t num_attr, btrc_player_attr_t* p_attrs, const RawAddress& bd_addr);
317 const RawAddress& bd_addr);
321 btrc_player_settings_t* p_vals, const RawAddress& bd_addr);
328 const RawAddress& bd_addr);
335 const RawAddress& bd_addr);
[all …]
Dbt_hh.h88 typedef void (*bthh_connection_state_callback)(RawAddress* bd_addr,
94 typedef void (*bthh_virtual_unplug_callback)(RawAddress* bd_addr,
101 typedef void (*bthh_hid_info_callback)(RawAddress* bd_addr,
107 typedef void (*bthh_protocol_mode_callback)(RawAddress* bd_addr,
113 typedef void (*bthh_idle_time_callback)(RawAddress* bd_addr,
119 typedef void (*bthh_get_report_callback)(RawAddress* bd_addr,
126 typedef void (*bthh_handshake_callback)(RawAddress* bd_addr,
154 bt_status_t (*connect)(RawAddress* bd_addr);
157 bt_status_t (*disconnect)(RawAddress* bd_addr);
160 bt_status_t (*virtual_unplug)(RawAddress* bd_addr);
[all …]
Dbluetooth_headset_interface.h49 virtual bt_status_t Connect(RawAddress* bd_addr) = 0;
57 virtual bt_status_t Disconnect(RawAddress* bd_addr) = 0;
65 virtual bt_status_t ConnectAudio(RawAddress* bd_addr) = 0;
73 virtual bt_status_t DisconnectAudio(RawAddress* bd_addr) = 0;
81 virtual bt_status_t StartVoiceRecognition(RawAddress* bd_addr) = 0;
89 virtual bt_status_t StopVoiceRecognition(RawAddress* bd_addr) = 0;
100 RawAddress* bd_addr) = 0;
115 RawAddress* bd_addr) = 0;
124 virtual bt_status_t CopsResponse(const char* cops, RawAddress* bd_addr) = 0;
142 RawAddress* bd_addr) = 0;
[all …]
/system/bt/service/hal/
Dbluetooth_avrcp_interface.h36 virtual void RemoteFeaturesCallback(const RawAddress& bd_addr,
38 virtual void GetPlayStatusCallback(const RawAddress& bd_addr);
39 virtual void ListPlayerAppAttrCallback(const RawAddress& bd_addr);
41 const RawAddress& bd_addr);
44 const RawAddress& bd_addr);
47 const RawAddress& bd_addr);
51 const RawAddress& bd_addr);
53 const RawAddress& bd_addr);
56 const RawAddress& bd_addr);
59 const RawAddress& bd_addr);
[all …]
Dbluetooth_avrcp_interface.cc68 void RemoteFeaturesCallback(const RawAddress& bd_addr, in RemoteFeaturesCallback() argument
74 observer.RemoteFeaturesCallback(bd_addr, features); in RemoteFeaturesCallback()
78 void GetPlayStatusCallback(const RawAddress& bd_addr) { in GetPlayStatusCallback() argument
83 observer.GetPlayStatusCallback(bd_addr); in GetPlayStatusCallback()
87 void ListPlayerAppAttrCallback(const RawAddress& bd_addr) { in ListPlayerAppAttrCallback() argument
92 observer.ListPlayerAppAttrCallback(bd_addr); in ListPlayerAppAttrCallback()
97 const RawAddress& bd_addr) { in ListPlayerAppValuesCallback() argument
102 observer.ListPlayerAppValuesCallback(attr_id, bd_addr); in ListPlayerAppValuesCallback()
107 const RawAddress& bd_addr) { in GetPlayerAppValueCallback() argument
112 observer.GetPlayerAppValueCallback(num_attr, p_attrs, bd_addr); in GetPlayerAppValueCallback()
[all …]
Dbluetooth_av_interface.cc59 void SourceConnectionStateCallback(const RawAddress& bd_addr, in SourceConnectionStateCallback() argument
65 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SourceConnectionStateCallback()
69 void SourceAudioStateCallback(const RawAddress& bd_addr, in SourceAudioStateCallback() argument
74 observer.AudioStateCallback(g_interface, bd_addr, state); in SourceAudioStateCallback()
79 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config, in SourceAudioConfigCallback() argument
85 observer.AudioConfigCallback(g_interface, bd_addr, codec_config, in SourceAudioConfigCallback()
91 void SinkConnectionStateCallback(const RawAddress& bd_addr, in SinkConnectionStateCallback() argument
96 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SinkConnectionStateCallback()
100 void SinkAudioStateCallback(const RawAddress& bd_addr, in SinkAudioStateCallback() argument
105 observer.AudioStateCallback(g_interface, bd_addr, state); in SinkAudioStateCallback()
[all …]
/system/bt/stack/btm/
Dbtm_dev.cc61 bool BTM_SecAddDevice(const RawAddress& bd_addr, DEV_CLASS dev_class, in BTM_SecAddDevice() argument
68 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddDevice()
72 bd_addr.ToString().c_str()); in BTM_SecAddDevice()
74 p_dev_rec->bd_addr = bd_addr; in BTM_SecAddDevice()
75 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice()
124 VLOG(2) << __func__ << ": BDA: " << bd_addr; in BTM_SecAddDevice()
168 bool BTM_SecDeleteDevice(const RawAddress& bd_addr) { in BTM_SecDeleteDevice() argument
169 if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in BTM_SecDeleteDevice()
170 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_BR_EDR)) { in BTM_SecDeleteDevice()
176 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecDeleteDevice()
[all …]
Dbtm_ble.cc70 bool BTM_SecAddBleDevice(const RawAddress& bd_addr, BD_NAME bd_name, in BTM_SecAddBleDevice() argument
74 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleDevice()
78 p_dev_rec->bd_addr = bd_addr; in BTM_SecAddBleDevice()
79 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice()
80 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
90 bd_addr.ToString().c_str()); in BTM_SecAddBleDevice()
103 p_dev_rec->ble.pseudo_addr = bd_addr; in BTM_SecAddBleDevice()
105 tBTM_INQ_INFO* p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice()
131 bool BTM_SecAddBleKey(const RawAddress& bd_addr, tBTM_LE_KEY_VALUE* p_le_key, in BTM_SecAddBleKey() argument
135 p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleKey()
[all …]
/system/bt/btif/src/
Dbtif_dm.cc114 RawAddress bd_addr; member
146 RawAddress bd_addr; member
180 RawAddress bd_addr; member
218 static void btif_dm_cb_create_bond(const RawAddress& bd_addr,
221 static void btif_update_remote_properties(const RawAddress& bd_addr,
237 static void btif_stats_add_bond_event(const RawAddress& bd_addr,
249 extern int btif_hh_connect(const RawAddress* bd_addr);
399 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name()
490 static void bond_state_changed(bt_status_t status, const RawAddress& bd_addr, in bond_state_changed() argument
492 btif_stats_add_bond_event(bd_addr, BTIF_DM_FUNC_BOND_STATE_CHANGED, state); in bond_state_changed()
[all …]
Dbtif_hh.cc139 extern bt_status_t btif_dm_remove_bond(const RawAddress* bd_addr);
146 extern void btif_dm_cb_remove_bond(const RawAddress* bd_addr);
278 BTA_HhSendData(p_dev->dev_handle, p_dev->bd_addr, p_buf); in update_keyboard_lockstates()
349 static btif_hh_device_t* btif_hh_find_dev_by_bda(const RawAddress& bd_addr) { in btif_hh_find_dev_by_bda() argument
353 btif_hh_cb.devices[i].bd_addr == bd_addr) { in btif_hh_find_dev_by_bda()
370 const RawAddress& bd_addr) { in btif_hh_find_connected_dev_by_bda() argument
374 btif_hh_cb.devices[i].bd_addr == bd_addr) { in btif_hh_find_connected_dev_by_bda()
389 void btif_hh_stop_vup_timer(RawAddress* bd_addr) { in btif_hh_stop_vup_timer() argument
390 btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr); in btif_hh_stop_vup_timer()
406 void btif_hh_start_vup_timer(const RawAddress* bd_addr) { in btif_hh_start_vup_timer() argument
[all …]
Dbtif_hf.cc144 static bool is_active_device(const RawAddress& bd_addr) { in is_active_device() argument
145 return !active_bda.IsEmpty() && active_bda == bd_addr; in is_active_device()
159 static bool is_connected(RawAddress* bd_addr) { in is_connected() argument
163 (!bd_addr || *bd_addr == btif_hf_cb[i].connected_bda)) in is_connected()
178 static int btif_hf_idx_by_bdaddr(RawAddress* bd_addr) { in btif_hf_idx_by_bdaddr() argument
180 if (*bd_addr == btif_hf_cb[i].connected_bda) return i; in btif_hf_idx_by_bdaddr()
266 static bool IsSlcConnected(RawAddress* bd_addr) { in IsSlcConnected() argument
267 if (!bd_addr) { in IsSlcConnected()
271 int idx = btif_hf_idx_by_bdaddr(bd_addr); in IsSlcConnected()
274 << *bd_addr; in IsSlcConnected()
[all …]
Dbtif_hf_client.cc167 RawAddress* bd_addr = (RawAddress*)p_param; in btif_in_hf_client_generic_evt() local
168 btif_hf_client_cb_t* cb = btif_hf_client_get_cb_by_bda(*bd_addr); in btif_in_hf_client_generic_evt()
229 btif_hf_client_cb_t* btif_hf_client_get_cb_by_bda(const RawAddress& bd_addr) { in btif_hf_client_get_cb_by_bda() argument
230 VLOG(1) << __func__ << " incoming addr " << bd_addr; in btif_hf_client_get_cb_by_bda()
236 btif_hf_client_cb_arr.cb[i].peer_bda == bd_addr) { in btif_hf_client_get_cb_by_bda()
300 static bt_status_t connect_int(RawAddress* bd_addr, uint16_t uuid) { in connect_int() argument
307 cb->peer_bda = *bd_addr; in connect_int()
311 cb->peer_bda = *bd_addr; in connect_int()
322 static bt_status_t connect(RawAddress* bd_addr) { in connect() argument
325 return btif_queue_connect(UUID_SERVCLASS_HF_HANDSFREE, bd_addr, connect_int); in connect()
[all …]
Dbtif_gatt_util.cc61 static bool btif_gatt_is_link_encrypted(const RawAddress& bd_addr) { in btif_gatt_is_link_encrypted() argument
62 return BTA_JvIsEncrypted(bd_addr); in btif_gatt_is_link_encrypted()
65 static void btif_gatt_set_encryption_cb(UNUSED_ATTR const RawAddress& bd_addr, in btif_gatt_set_encryption_cb() argument
75 void btif_gatt_check_encrypted_link(RawAddress bd_addr, in btif_gatt_check_encrypted_link() argument
79 &bd_addr, BTIF_DM_LE_KEY_PENC, (uint8_t*)&key, in btif_gatt_check_encrypted_link()
81 !btif_gatt_is_link_encrypted(bd_addr)) { in btif_gatt_check_encrypted_link()
83 BTA_DmSetEncryption(bd_addr, transport_link, &btif_gatt_set_encryption_cb, in btif_gatt_check_encrypted_link()
88 void btif_gatt_check_encrypted_link(UNUSED_ATTR RawAddress bd_addr, in btif_gatt_check_encrypted_link() argument
/system/bt/bta/dm/
Dbta_dm_api.cc169 void BTA_DmDiscover(const RawAddress& bd_addr, tBTA_SERVICE_MASK services, in BTA_DmDiscover() argument
175 p_msg->bd_addr = bd_addr; in BTA_DmDiscover()
194 void BTA_DmDiscoverUUID(const RawAddress& bd_addr, const Uuid& uuid, in BTA_DmDiscoverUUID() argument
200 p_msg->bd_addr = bd_addr; in BTA_DmDiscoverUUID()
213 void BTA_DmBond(const RawAddress& bd_addr) { in BTA_DmBond() argument
215 base::Bind(bta_dm_bond, bd_addr, BTA_TRANSPORT_UNKNOWN)); in BTA_DmBond()
219 void BTA_DmBondByTransport(const RawAddress& bd_addr, in BTA_DmBondByTransport() argument
221 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond, bd_addr, transport)); in BTA_DmBondByTransport()
226 void BTA_DmBondCancel(const RawAddress& bd_addr) { in BTA_DmBondCancel() argument
227 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond_cancel, bd_addr)); in BTA_DmBondCancel()
[all …]
Dbta_dm_ci.cc45 void bta_dm_ci_io_req(const RawAddress& bd_addr, tBTA_IO_CAP io_cap, in bta_dm_ci_io_req() argument
49 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_ci_io_req_act, bd_addr, io_cap, in bta_dm_ci_io_req()
64 void bta_dm_ci_rmt_oob(bool accept, const RawAddress& bd_addr, const Octet16& c, in bta_dm_ci_rmt_oob() argument
69 msg->bd_addr = bd_addr; in bta_dm_ci_rmt_oob()
/system/bt/stack/include/
Dsmp_api.h78 extern tSMP_STATUS SMP_Pair(const RawAddress& bd_addr);
90 extern tSMP_STATUS SMP_BR_PairWith(const RawAddress& bd_addr);
101 extern bool SMP_PairCancel(const RawAddress& bd_addr);
117 extern void SMP_SecurityGrant(const RawAddress& bd_addr, uint8_t res);
133 extern void SMP_PasskeyReply(const RawAddress& bd_addr, uint8_t res,
148 extern void SMP_ConfirmReply(const RawAddress& bd_addr, uint8_t res);
162 extern void SMP_OobDataReply(const RawAddress& bd_addr, tSMP_STATUS res,
188 extern void SMP_KeypressNotification(const RawAddress& bd_addr, uint8_t value);
Dbtm_ble_api.h55 extern bool BTM_SecAddBleDevice(const RawAddress& bd_addr, BD_NAME bd_name,
74 extern bool BTM_SecAddBleKey(const RawAddress& bd_addr,
206 extern void BTM_SecurityGrant(const RawAddress& bd_addr, uint8_t res);
223 extern void BTM_BlePasskeyReply(const RawAddress& bd_addr, uint8_t res,
238 extern void BTM_BleConfirmReply(const RawAddress& bd_addr, uint8_t res);
252 extern void BTM_BleOobDataReply(const RawAddress& bd_addr, uint8_t res,
268 extern void BTM_BleSecureConnectionOobDataReply(const RawAddress& bd_addr,
287 extern bool BTM_BleDataSignature(const RawAddress& bd_addr, uint8_t* p_text,
305 extern bool BTM_BleVerifySignature(const RawAddress& bd_addr, uint8_t* p_orig,
383 extern void BTM_BleSetPrefConnParams(const RawAddress& bd_addr,
[all …]
/system/bt/stack/smp/
Dsmp_l2c.cc37 static void smp_connect_callback(uint16_t channel, const RawAddress& bd_addr,
40 static void smp_data_received(uint16_t channel, const RawAddress& bd_addr,
43 static void smp_br_connect_callback(uint16_t channel, const RawAddress& bd_addr,
46 static void smp_br_data_received(uint16_t channel, const RawAddress& bd_addr,
93 static void smp_connect_callback(uint16_t channel, const RawAddress& bd_addr, in smp_connect_callback() argument
100 bd_addr.ToString().c_str(), in smp_connect_callback()
103 if (transport == BT_TRANSPORT_BR_EDR || bd_addr.IsEmpty()) return; in smp_connect_callback()
105 if (bd_addr == p_cb->pairing_bda) { in smp_connect_callback()
106 VLOG(2) << __func__ << " for pairing BDA: " << bd_addr in smp_connect_callback()
113 p_cb->role = L2CA_GetBleConnRole(bd_addr); in smp_connect_callback()
[all …]
Dsmp_api.cc133 tSMP_STATUS SMP_Pair(const RawAddress& bd_addr) { in SMP_Pair() argument
138 bd_addr.ToString().c_str()); in SMP_Pair()
146 p_cb->pairing_bda = bd_addr; in SMP_Pair()
148 if (!L2CA_ConnectFixedChnl(L2CAP_SMP_CID, bd_addr)) { in SMP_Pair()
173 tSMP_STATUS SMP_BR_PairWith(const RawAddress& bd_addr) { in SMP_BR_PairWith() argument
178 bd_addr.ToString().c_str()); in SMP_BR_PairWith()
189 p_cb->pairing_bda = bd_addr; in SMP_BR_PairWith()
191 if (!L2CA_ConnectFixedChnl(L2CAP_SMP_BR_CID, bd_addr)) { in SMP_BR_PairWith()
213 bool SMP_PairCancel(const RawAddress& bd_addr) { in SMP_PairCancel() argument
224 if (p_cb->state != SMP_STATE_IDLE && p_cb->pairing_bda == bd_addr) { in SMP_PairCancel()
[all …]
/system/bt/btif/co/
Dbta_dm_co.cc77 void bta_dm_co_io_req(UNUSED_ATTR const RawAddress& bd_addr, in bta_dm_co_io_req() argument
81 btif_dm_proc_io_req(bd_addr, p_io_cap, p_oob_data, p_auth_req, is_orig); in bta_dm_co_io_req()
105 void bta_dm_co_io_rsp(const RawAddress& bd_addr, tBTA_IO_CAP io_cap, in bta_dm_co_io_rsp() argument
107 btif_dm_proc_io_rsp(bd_addr, io_cap, oob_data, auth_req); in bta_dm_co_io_rsp()
123 void bta_dm_co_lk_upgrade(UNUSED_ATTR const RawAddress& bd_addr, in bta_dm_co_lk_upgrade() argument
160 void bta_dm_co_rmt_oob(const RawAddress& bd_addr) { in bta_dm_co_rmt_oob() argument
166 result = btif_dm_proc_rmt_oob(bd_addr, &c, &r); in bta_dm_co_rmt_oob()
170 bta_dm_ci_rmt_oob(result, bd_addr, c, r); in bta_dm_co_rmt_oob()
189 void bta_dm_co_le_io_key_req(UNUSED_ATTR const RawAddress& bd_addr, in bta_dm_co_le_io_key_req() argument
244 void bta_dm_co_ble_io_req(const RawAddress& bd_addr, tBTA_IO_CAP* p_io_cap, in bta_dm_co_ble_io_req() argument
[all …]
/system/bt/bta/include/
Dbta_hf_client_api.h167 RawAddress bd_addr; member
173 RawAddress bd_addr; member
180 RawAddress bd_addr; member
187 RawAddress bd_addr; member
195 RawAddress bd_addr; member
202 RawAddress bd_addr; member
208 RawAddress bd_addr; member
215 RawAddress bd_addr; member
226 RawAddress bd_addr; member
233 RawAddress bd_addr; member
[all …]
Dbta_api.h278 RawAddress bd_addr; /* BD address of device to filter. */ member
343 typedef void(tBTA_DM_BLE_RSSI_CBACK)(const RawAddress& bd_addr,
399 RawAddress bd_addr; /* BD address peer device. */ member
498 RawAddress bd_addr; /* peer address */ member
503 RawAddress bd_addr; /* peer address */ member
510 RawAddress bd_addr; /* BD address peer device. */ member
523 RawAddress bd_addr; /* BD address peer device. */ member
531 RawAddress bd_addr; /* BD address peer device. */ member
537 RawAddress bd_addr; /* BD address peer device. */ member
545 RawAddress bd_addr; /* BD address peer device. */ member
[all …]
/system/bt/btif/include/
Dbtif_api.h239 bt_status_t btif_dm_create_bond(const RawAddress* bd_addr, int transport);
251 const RawAddress* bd_addr, int transport,
263 bt_status_t btif_dm_cancel_bond(const RawAddress* bd_addr);
274 bt_status_t btif_dm_remove_bond(const RawAddress* bd_addr);
285 uint16_t btif_dm_get_connection_state(const RawAddress* bd_addr);
296 bt_status_t btif_dm_pin_reply(const RawAddress* bd_addr, uint8_t accept,
308 bt_status_t btif_dm_passkey_reply(const RawAddress* bd_addr, uint8_t accept,
321 bt_status_t btif_dm_ssp_reply(const RawAddress* bd_addr,

123456789