Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_iot_config.cc49 if (BTM_GetRemoteDeviceName(p_acl_cb->remote_addr, bd_name)) { in btm_iot_save_remote_properties()
51 DEVICE_IOT_CONFIG_ADDR_SET_STR(p_acl_cb->remote_addr, in btm_iot_save_remote_properties()
58 if (btif_storage_get_remote_device_property(&p_acl_cb->remote_addr, in btm_iot_save_remote_properties()
66 DEVICE_IOT_CONFIG_ADDR_SET_INT(p_acl_cb->remote_addr, IOT_CONF_KEY_DEVCLASS, in btm_iot_save_remote_properties()
69 BTM_ReadDevInfo(p_acl_cb->remote_addr, &dev_type, &addr_type); in btm_iot_save_remote_properties()
72 DEVICE_IOT_CONFIG_ADDR_SET_INT(p_acl_cb->remote_addr, IOT_CONF_KEY_DEVTYPE, in btm_iot_save_remote_properties()
76 DEVICE_IOT_CONFIG_ADDR_SET_INT(p_acl_cb->remote_addr, IOT_CONF_KEY_ADDRTYPE, in btm_iot_save_remote_properties()
80 DEVICE_IOT_CONFIG_ADDR_SET_INT(p_acl_cb->remote_addr, IOT_CONF_KEY_RECORDED, in btm_iot_save_remote_properties()
94 DEVICE_IOT_CONFIG_ADDR_SET_INT(p_acl_cb->remote_addr, in btm_iot_save_remote_versions()
97 DEVICE_IOT_CONFIG_ADDR_SET_INT(p_acl_cb->remote_addr, IOT_CONF_KEY_LMPVER, in btm_iot_save_remote_versions()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_bluetooth.h97 std::function<int(RawAddress* remote_addr)> body{
99 int operator()(RawAddress* remote_addr) { return body(remote_addr); }; in operator()
106 std::function<int(RawAddress* remote_addr, bt_property_type_t type)> body{
110 int operator()(RawAddress* remote_addr, bt_property_type_t type) { in operator()
111 return body(remote_addr, type); in operator()
119 std::function<int(RawAddress* remote_addr)> body{
121 int operator()(RawAddress* remote_addr) { return body(remote_addr); }; in operator()
141 std::function<int(RawAddress* remote_addr, const bt_property_t* property)>
144 int operator()(RawAddress* remote_addr, const bt_property_t* property) { in operator()
145 return body(remote_addr, property); in operator()
Dmock_btif_bluetooth.cc83 int get_remote_device_properties(RawAddress* remote_addr) { in get_remote_device_properties() argument
85 return test::mock::btif_bluetooth::get_remote_device_properties(remote_addr); in get_remote_device_properties()
87 int get_remote_device_property(RawAddress* remote_addr, in get_remote_device_property() argument
90 return test::mock::btif_bluetooth::get_remote_device_property(remote_addr, in get_remote_device_property()
93 int get_remote_services(RawAddress* remote_addr) { in get_remote_services() argument
95 return test::mock::btif_bluetooth::get_remote_services(remote_addr); in get_remote_services()
101 int set_remote_device_property(RawAddress* remote_addr, in set_remote_device_property() argument
104 return test::mock::btif_bluetooth::set_remote_device_property(remote_addr, in set_remote_device_property()
Dmock_btif_storage.h305 std::function<bt_status_t(RawAddress* remote_addr, bt_property_type_t type,
310 bt_status_t operator()(RawAddress* remote_addr, bt_property_type_t type, in operator()
312 return body(remote_addr, type, buf, size, property); in operator()
Dmock_btif_storage.cc220 bt_status_t btif_storage_get_remote_prop(RawAddress* remote_addr, in btif_storage_get_remote_prop() argument
225 remote_addr, type, buf, size, property); in btif_storage_get_remote_prop()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dpy_le_acl_manager.py32 … def __init__(self, le_acl_manager, address, remote_addr, remote_addr_type, handle, event_stream): argument
49 self.remote_address = remote_addr
99 def connect_to_remote(self, remote_addr): argument
100 token = self.initiate_connection(remote_addr)
121 def initiate_connection(self, remote_addr, is_direct=True): argument
123 …create_connection_msg = le_acl_manager_facade.CreateConnectionMsg(peer_address=remote_addr, is_dir…
125 self.le_acl_manager.CreateConnection(create_connection_msg)), remote_addr
130 def is_on_background_list(self, remote_addr): argument
132 le_acl_manager_facade.BackgroundRequestMsg(peer_address=remote_addr))
134 def remove_from_background_list(self, remote_addr): argument
[all …]
Dpy_acl_manager.py31 def __init__(self, acl_manager, remote_addr, handle, event_stream): argument
34 self.remote_addr = remote_addr
74 def initiate_connection(self, remote_addr): argument
76 … remote_addr_bytes = remote_addr if isinstance(remote_addr, bytes) else remote_addr.encode('utf-8')
Dpy_hal.py210 def initiate_connection(self, remote_addr): argument
212 hci.CreateConnection(bd_addr=bluetooth.Address(remote_addr),
235 def initiate_le_connection(self, remote_addr): argument
240 peer_address=bluetooth.Address(remote_addr),
254 def add_to_filter_accept_list(self, remote_addr): argument
257 address=bluetooth.Address(remote_addr)))
259 def initiate_le_connection_by_filter_accept_list(self, remote_addr): argument
Dpy_hci.py186 def initiate_connection(self, remote_addr): argument
188 hci.CreateConnection(bd_addr=bluetooth.Address(remote_addr),
217 def initiate_le_connection(self, remote_addr): argument
222 peer_address=bluetooth.Address(remote_addr),
/packages/modules/Bluetooth/system/btif/include/
Dbtif_api.h171 void btif_get_remote_device_property(RawAddress remote_addr,
181 void btif_get_remote_device_properties(RawAddress remote_addr);
192 void btif_set_remote_device_property(RawAddress* remote_addr,
345 void btif_dm_get_remote_services(const RawAddress remote_addr, int transport);
/packages/modules/Bluetooth/system/btif/src/
Dbtif_core.cc429 void btif_remote_properties_evt(bt_status_t status, RawAddress* remote_addr, in btif_remote_properties_evt() argument
432 status, *remote_addr, num_props, p_props); in btif_remote_properties_evt()
639 void btif_get_remote_device_property(RawAddress remote_addr, in btif_get_remote_device_property() argument
648 btif_storage_get_remote_device_property(&remote_addr, &prop); in btif_get_remote_device_property()
650 status, remote_addr, 1, &prop); in btif_get_remote_device_property()
660 void btif_get_remote_device_properties(RawAddress remote_addr) { in btif_get_remote_device_properties() argument
661 btif_in_get_remote_device_properties(&remote_addr); in btif_get_remote_device_properties()
673 void btif_set_remote_device_property(RawAddress* remote_addr, in btif_set_remote_device_property() argument
675 btif_storage_set_remote_device_property(remote_addr, property); in btif_set_remote_device_property()
Dbluetooth.cc555 int get_remote_device_properties(RawAddress* remote_addr) { in get_remote_device_properties() argument
559 *remote_addr)); in get_remote_device_properties()
563 int get_remote_device_property(RawAddress* remote_addr, in get_remote_device_property() argument
568 *remote_addr, type)); in get_remote_device_property()
572 int set_remote_device_property(RawAddress* remote_addr, in set_remote_device_property() argument
578 [](RawAddress remote_addr, bt_property_t* property) { in set_remote_device_property() argument
579 btif_set_remote_device_property(&remote_addr, property); in set_remote_device_property()
582 *remote_addr, property_deep_copy(property))); in set_remote_device_property()
586 int get_remote_services(RawAddress* remote_addr, int transport) { in get_remote_services() argument
590 *remote_addr, transport)); in get_remote_services()
Dbtif_sdp.cc75 evt_data->remote_addr, evt_data->uuid, evt_data->record_count, in btif_sdp_search_comp_evt()
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/
Dle_acl_manager_test.py91 remote_addr=common.BluetoothAddressWithType(address=common.BluetoothAddress(
130 remote_addr=common.BluetoothAddressWithType(address=common.BluetoothAddress(
312 remote_addr=common.BluetoothAddressWithType(address=common.BluetoothAddress(
316 …token_background = self.dut_le_acl_manager.initiate_connection(remote_addr=common.BluetoothAddress…
341 … token_1 = self.dut_le_acl_manager.initiate_connection(remote_addr=common.BluetoothAddressWithType(
346 … token_2 = self.dut_le_acl_manager.initiate_connection(remote_addr=common.BluetoothAddressWithType(
391 … token = self.dut_le_acl_manager.initiate_connection(remote_addr=common.BluetoothAddressWithType(
401 …token_background = self.dut_le_acl_manager.initiate_connection(remote_addr=common.BluetoothAddress…
420 remote_addr=common.BluetoothAddressWithType(address=common.BluetoothAddress(
426 remote_addr=common.BluetoothAddressWithType(address=common.BluetoothAddress(
[all …]
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_acl.cc176 BTA_dm_acl_up(p_acl.remote_addr, p_acl.transport, p_acl.hci_handle); in NotifyAclLinkUp()
183 BTA_dm_acl_down(p_acl.remote_addr, p_acl.transport); in NotifyAclLinkDown()
195 BTA_dm_notify_remote_features_complete(p_acl.remote_addr); in NotifyAclFeaturesReadComplete()
202 log::info("Disconnecting peer:{} reason:{} comment:{}", p_acl.remote_addr, in disconnect_acl()
211 GetInterface().StartRoleSwitch(p_acl.remote_addr, in hci_start_role_switch_to_central()
305 if ((p_acl->in_use) && p_acl->remote_addr == bda && in btm_bda_to_acl()
324 if (p_acl->remote_addr == rpa) { in btm_acl_consolidate()
326 p_acl->remote_addr = identity_addr; in btm_acl_consolidate()
436 p_acl->remote_addr = bda; in btm_acl_created()
597 if (!BTM_ReadPowerMode(p_acl->remote_addr, &pwr_mode)) { in BTM_SwitchRoleToCentral()
[all …]
Dacl.cc27 remote_addr = RawAddress::kEmpty; in Reset()
Dacl.h185 RawAddress remote_addr; member
190 const RawAddress RemoteAddress() const { return remote_addr; } in RemoteAddress()
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth.h726 int (*get_remote_device_properties)(RawAddress* remote_addr);
729 int (*get_remote_device_property)(RawAddress* remote_addr,
733 int (*set_remote_device_property)(RawAddress* remote_addr,
737 int (*get_remote_service_record)(const RawAddress& remote_addr,
741 int (*get_remote_services)(RawAddress* remote_addr, int transport);
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Duhid_hfp.rs94 remote_addr: String, in create()
105 uniq: remote_addr.clone(), in create()
/packages/modules/Bluetooth/system/bta/sdp/
Dbta_sdp_int.h41 RawAddress remote_addr; member
Dbta_sdp_act.cc566 evt_data.remote_addr = bta_sdp_cb.remote_addr; in bta_sdp_search_cback()
679 result.remote_addr = bd_addr; in bta_sdp_search()
689 bta_sdp_cb.remote_addr = bd_addr; in bta_sdp_search()
711 result.remote_addr = bd_addr; in bta_sdp_search()
/packages/modules/Bluetooth/system/bta/include/
Dbta_sdp_api.h73 RawAddress remote_addr; member
/packages/modules/Bluetooth/system/stack/sdp/
Dsdpint.h327 void update_pce_entry_to_interop_database(RawAddress remote_addr);
328 bool is_sdp_pbap_pce_disabled(RawAddress remote_addr);
Dsdp_server.cc1265 void update_pce_entry_to_interop_database(RawAddress remote_addr) { in update_pce_entry_to_interop_database() argument
1266 if (!interop_match_addr_or_name(INTEROP_ADV_PBAP_VER_1_2, &remote_addr, in update_pce_entry_to_interop_database()
1268 interop_database_add_addr(INTEROP_ADV_PBAP_VER_1_2, &remote_addr, 3); in update_pce_entry_to_interop_database()
1269 log::verbose("device: {} is added into interop list", remote_addr); in update_pce_entry_to_interop_database()
1271 log::warn("device: {} is already found on interop list", remote_addr); in update_pce_entry_to_interop_database()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs1411 fn ssp_request(&mut self, remote_addr: RawAddress, variant: BtSspVariant, passkey: u32) {} in ssp_request()
1452 remote_addr: RawAddress, in pin_request()
1779 fn ssp_request(&mut self, remote_addr: RawAddress, variant: BtSspVariant, passkey: u32) { in ssp_request()
1782 let initiated_by_us = Some(remote_addr) == self.active_pairing_address; in ssp_request()
1784 BluetoothDevice::new(remote_addr, "".to_string()), in ssp_request()
1798 BluetoothDevice::new(remote_addr, "".to_string()), in ssp_request()
1808 remote_addr: RawAddress, in pin_request()
1813 let device = BluetoothDevice::new(remote_addr, remote_name.clone()); in pin_request()
1821 debug!("auto gen pin for device {} (cod={:#x})", DisplayAddress(&remote_addr), cod); in pin_request()
1838 DisplayAddress(&remote_addr), in pin_request()

12