Home
last modified time | relevance | path

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

12345678910

/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.h288 typedef void (*btrc_remote_features_callback)(const RawAddress& bd_addr,
292 typedef void (*btrc_get_play_status_callback)(const RawAddress& bd_addr);
295 typedef void (*btrc_list_player_app_attr_callback)(const RawAddress& bd_addr);
299 const RawAddress& bd_addr);
306 const RawAddress& bd_addr);
312 uint8_t num_attr, btrc_player_attr_t* p_attrs, const RawAddress& bd_addr);
319 const RawAddress& bd_addr);
323 btrc_player_settings_t* p_vals, const RawAddress& bd_addr);
330 const RawAddress& bd_addr);
337 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 bool SourceMandatoryCodecPreferredCallback(const RawAddress& bd_addr) { in SourceMandatoryCodecPreferredCallback() argument
96 if (!observer.MandatoryCodecPreferredCallback(g_interface, bd_addr)) in SourceMandatoryCodecPreferredCallback()
102 void SinkConnectionStateCallback(const RawAddress& bd_addr, in SinkConnectionStateCallback() argument
107 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SinkConnectionStateCallback()
[all …]
/system/bt/stack/btm/
Dbtm_dev.cc63 bool BTM_SecAddDevice(const RawAddress& bd_addr, DEV_CLASS dev_class, in BTM_SecAddDevice() argument
70 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddDevice()
74 bd_addr.ToString().c_str()); in BTM_SecAddDevice()
76 p_dev_rec->bd_addr = bd_addr; in BTM_SecAddDevice()
77 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice()
126 VLOG(2) << __func__ << ": BDA: " << bd_addr; in BTM_SecAddDevice()
170 bool BTM_SecDeleteDevice(const RawAddress& bd_addr) { in BTM_SecDeleteDevice() argument
172 return bluetooth::shim::BTM_SecDeleteDevice(bd_addr); in BTM_SecDeleteDevice()
175 if (BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) || in BTM_SecDeleteDevice()
176 BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_BR_EDR)) { in BTM_SecDeleteDevice()
[all …]
Dbtm_ble.cc72 bool BTM_SecAddBleDevice(const RawAddress& bd_addr, BD_NAME bd_name, in BTM_SecAddBleDevice() argument
75 return bluetooth::shim::BTM_SecAddBleDevice(bd_addr, bd_name, dev_type, in BTM_SecAddBleDevice()
81 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleDevice()
85 p_dev_rec->bd_addr = bd_addr; in BTM_SecAddBleDevice()
86 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice()
87 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
97 bd_addr.ToString().c_str()); in BTM_SecAddBleDevice()
110 p_dev_rec->ble.pseudo_addr = bd_addr; in BTM_SecAddBleDevice()
112 tBTM_INQ_INFO* p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice()
138 bool BTM_SecAddBleKey(const RawAddress& bd_addr, tBTM_LE_KEY_VALUE* p_le_key, in BTM_SecAddBleKey() argument
[all …]
/system/bt/btif/src/
Dbtif_dm.cc118 RawAddress bd_addr; member
150 RawAddress bd_addr; member
184 RawAddress bd_addr; member
222 static void btif_dm_cb_create_bond(const RawAddress& bd_addr,
225 static void btif_update_remote_properties(const RawAddress& bd_addr,
241 static void btif_stats_add_bond_event(const RawAddress& bd_addr,
253 extern int btif_hh_connect(const RawAddress* bd_addr);
451 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name()
542 static void bond_state_changed(bt_status_t status, const RawAddress& bd_addr, in bond_state_changed() argument
544 btif_stats_add_bond_event(bd_addr, BTIF_DM_FUNC_BOND_STATE_CHANGED, state); in bond_state_changed()
[all …]
Dbtif_hh.cc135 extern bt_status_t btif_dm_remove_bond(const RawAddress* bd_addr);
142 extern void btif_dm_cb_remove_bond(const RawAddress* bd_addr);
274 BTA_HhSendData(p_dev->dev_handle, p_dev->bd_addr, p_buf); in update_keyboard_lockstates()
345 static btif_hh_device_t* btif_hh_find_dev_by_bda(const RawAddress& bd_addr) { in btif_hh_find_dev_by_bda() argument
349 btif_hh_cb.devices[i].bd_addr == bd_addr) { in btif_hh_find_dev_by_bda()
366 const RawAddress& bd_addr) { in btif_hh_find_connected_dev_by_bda() argument
370 btif_hh_cb.devices[i].bd_addr == bd_addr) { in btif_hh_find_connected_dev_by_bda()
385 void btif_hh_stop_vup_timer(RawAddress* bd_addr) { in btif_hh_stop_vup_timer() argument
386 btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr); in btif_hh_stop_vup_timer()
402 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, tBLE_ADDR_TYPE addr_type, in BTA_DmBond() argument
215 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond, bd_addr, addr_type, in BTA_DmBond()
221 void BTA_DmBondCancel(const RawAddress& bd_addr) { in BTA_DmBondCancel() argument
222 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond_cancel, bd_addr)); in BTA_DmBondCancel()
236 void BTA_DmPinReply(const RawAddress& bd_addr, bool accept, uint8_t pin_len, in BTA_DmPinReply() argument
241 msg->bd_addr = bd_addr; in BTA_DmPinReply()
[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,
87 static void smp_connect_callback(uint16_t channel, const RawAddress& bd_addr, in smp_connect_callback() argument
94 bd_addr.ToString().c_str(), in smp_connect_callback()
97 if (transport == BT_TRANSPORT_BR_EDR || bd_addr.IsEmpty()) return; in smp_connect_callback()
99 if (bd_addr == p_cb->pairing_bda) { in smp_connect_callback()
100 VLOG(2) << __func__ << " for pairing BDA: " << bd_addr in smp_connect_callback()
107 p_cb->role = L2CA_GetBleConnRole(bd_addr); in smp_connect_callback()
[all …]
Dsmp_api.cc142 tSMP_STATUS SMP_Pair(const RawAddress& bd_addr) { in SMP_Pair() argument
149 bd_addr.ToString().c_str()); in SMP_Pair()
157 p_cb->pairing_bda = bd_addr; in SMP_Pair()
159 if (!L2CA_ConnectFixedChnl(L2CAP_SMP_CID, bd_addr)) { in SMP_Pair()
185 tSMP_STATUS SMP_BR_PairWith(const RawAddress& bd_addr) { in SMP_BR_PairWith() argument
193 bd_addr.ToString().c_str()); in SMP_BR_PairWith()
204 p_cb->pairing_bda = bd_addr; in SMP_BR_PairWith()
206 if (!L2CA_ConnectFixedChnl(L2CAP_SMP_BR_CID, bd_addr)) { in SMP_BR_PairWith()
229 bool SMP_PairCancel(const RawAddress& bd_addr) { in SMP_PairCancel() argument
243 if (p_cb->state != SMP_STATE_IDLE && p_cb->pairing_bda == bd_addr) { in SMP_PairCancel()
[all …]
/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,
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,
179 extern void BTM_SecurityGrant(const RawAddress& bd_addr, uint8_t res);
196 extern void BTM_BlePasskeyReply(const RawAddress& bd_addr, uint8_t res,
211 extern void BTM_BleConfirmReply(const RawAddress& bd_addr, uint8_t res);
225 extern void BTM_BleOobDataReply(const RawAddress& bd_addr, uint8_t res,
241 extern void BTM_BleSecureConnectionOobDataReply(const RawAddress& bd_addr,
260 extern bool BTM_BleDataSignature(const RawAddress& bd_addr, uint8_t* p_text,
278 extern bool BTM_BleVerifySignature(const RawAddress& bd_addr, uint8_t* p_orig,
356 extern void BTM_BleSetPrefConnParams(const RawAddress& bd_addr,
[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.h173 RawAddress bd_addr; member
179 RawAddress bd_addr; member
186 RawAddress bd_addr; member
193 RawAddress bd_addr; member
201 RawAddress bd_addr; member
208 RawAddress bd_addr; member
214 RawAddress bd_addr; member
221 RawAddress bd_addr; member
232 RawAddress bd_addr; member
239 RawAddress bd_addr; member
[all …]
Dbta_api.h271 RawAddress bd_addr; /* BD address of device to filter. */ member
336 typedef void(tBTA_DM_BLE_RSSI_CBACK)(const RawAddress& bd_addr,
392 RawAddress bd_addr; /* BD address peer device. */ member
491 RawAddress bd_addr; /* peer address */ member
496 RawAddress bd_addr; /* peer address */ member
503 RawAddress bd_addr; /* BD address peer device. */ member
516 RawAddress bd_addr; /* BD address peer device. */ member
524 RawAddress bd_addr; /* BD address peer device. */ member
530 RawAddress bd_addr; /* BD address peer device. */ member
538 RawAddress bd_addr; /* BD address peer device. */ member
[all …]
/system/bt/main/shim/
Dbtm_api.h482 bool BTM_SecAddBleDevice(const RawAddress& bd_addr, BD_NAME bd_name,
500 bool BTM_SecAddBleKey(const RawAddress& bd_addr, tBTM_LE_KEY_VALUE* p_le_key,
568 void BTM_SecurityGrant(const RawAddress& bd_addr, uint8_t res);
582 void BTM_BleOobDataReply(const RawAddress& bd_addr, uint8_t res, uint8_t len,
598 void BTM_BleSecureConnectionOobDataReply(const RawAddress& bd_addr,
633 void BTM_BleSetPrefConnParams(const RawAddress& bd_addr, uint16_t min_conn_int,
718 bool BTM_UseLeLink(const RawAddress& bd_addr);
729 tBTM_STATUS BTM_SetBleDataLength(const RawAddress& bd_addr,
743 const RawAddress& bd_addr,
761 void BTM_BleSetPhy(const RawAddress& bd_addr, uint8_t tx_phys, uint8_t rx_phys,
[all …]
/system/bt/btif/include/
Dbtif_api.h255 bt_status_t btif_dm_create_bond(const RawAddress* bd_addr, int transport);
267 const RawAddress* bd_addr, int transport,
279 bt_status_t btif_dm_cancel_bond(const RawAddress* bd_addr);
290 bt_status_t btif_dm_remove_bond(const RawAddress* bd_addr);
301 uint16_t btif_dm_get_connection_state(const RawAddress* bd_addr);
312 bt_status_t btif_dm_pin_reply(const RawAddress* bd_addr, uint8_t accept,
324 bt_status_t btif_dm_passkey_reply(const RawAddress* bd_addr, uint8_t accept,
337 bt_status_t btif_dm_ssp_reply(const RawAddress* bd_addr,

12345678910