Home
last modified time | relevance | path

Searched refs:remote_device (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/floss/pandora/floss/
Dadapter_client.py40 def on_device_found(self, remote_device): argument
56 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
71 def on_pin_request(self, remote_device, cod, min_16_digit): argument
84 def on_pin_display(self, remote_device, pincode): argument
108 def on_device_properties_changed(self, remote_device, props): argument
127 def on_device_connected(self, remote_device): argument
135 def on_device_disconnected(self, remote_device): argument
226 parsed, remote_device = FlossAdapterClient.parse_dbus_device(remote_device_dbus)
232 observer.on_device_found(remote_device)
241 parsed, remote_device = FlossAdapterClient.parse_dbus_device(remote_device_dbus)
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_unittest.cc68 } remote_device[2] = { variable
549 Address::FromString(kRemotePublicDeviceStringA, remote_device[0].address); in TEST_F()
550 Address::FromString(kRemotePublicDeviceStringB, remote_device[1].address); in TEST_F()
555 remote_device[0].address, in TEST_F()
556 remote_device[0].class_of_device, in TEST_F()
566 remote_device[1].address, in TEST_F()
567 remote_device[1].class_of_device, in TEST_F()
581 remote_device[0].handle, in TEST_F()
582 remote_device[0].address, in TEST_F()
588 …ASSERT_EQ(connection->GetAddress(), remote_device[0].address) << "First connection remote address … in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcallbacks.rs139 remote_device: BluetoothDevice, in on_device_properties_changed()
145 remote_device.address.to_string(), in on_device_properties_changed()
146 remote_device.name in on_device_properties_changed()
163 fn on_device_found(&mut self, remote_device: BluetoothDevice) { in on_device_found()
168 .entry(remote_device.address.to_string()) in on_device_found()
169 .or_insert(remote_device.clone()); in on_device_found()
173 remote_device.address.to_string(), in on_device_found()
174 remote_device.name in on_device_found()
178 fn on_device_cleared(&mut self, remote_device: BluetoothDevice) { in on_device_cleared()
179 match self.context.lock().unwrap().found_devices.remove(&remote_device.address.to_string()) in on_device_cleared()
[all …]
Ddbus_iface.rs608 remote_device: BluetoothDevice, in on_device_properties_changed()
623 fn on_device_found(&mut self, remote_device: BluetoothDevice) {} in on_device_found()
626 fn on_device_cleared(&mut self, remote_device: BluetoothDevice) {} in on_device_cleared()
634 remote_device: BluetoothDevice, in on_ssp_request()
642 fn on_pin_request(&mut self, remote_device: BluetoothDevice, cod: u32, min_16_digit: bool) {} in on_pin_request()
645 fn on_pin_display(&mut self, remote_device: BluetoothDevice, pincode: String) {} in on_pin_display()
653 remote_device: BluetoothDevice, in on_sdp_search_complete()
673 fn on_device_connected(&mut self, remote_device: BluetoothDevice) {} in on_device_connected()
676 fn on_device_disconnected(&mut self, remote_device: BluetoothDevice) {} in on_device_disconnected()
2084 remote_device: BluetoothDevice, field
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_admin.rs157 pub fn on_device_found(&mut self, remote_device: &BluetoothDevice) { in on_device_found()
158 self.device_policy_affect_cache.insert(remote_device.clone(), None).or_else(|| { in on_device_found()
160 cb.on_device_policy_effect_changed(remote_device.clone(), None); in on_device_found()
166 pub fn on_device_cleared(&mut self, remote_device: &BluetoothDevice) { in on_device_cleared()
167 self.device_policy_affect_cache.remove(remote_device); in on_device_cleared()
172 remote_device: &BluetoothDevice, in on_remote_device_properties_changed()
186 let cur_effect = self.device_policy_affect_cache.get(remote_device); in on_remote_device_properties_changed()
190 cb.on_device_policy_effect_changed(remote_device.clone(), new_effect.clone()) in on_remote_device_properties_changed()
192 self.device_policy_affect_cache.insert(remote_device.clone(), new_effect.clone()); in on_remote_device_properties_changed()
Dbluetooth.rs508 remote_device: BluetoothDevice, in on_device_properties_changed()
522 fn on_device_found(&mut self, remote_device: BluetoothDevice); in on_device_found()
525 fn on_device_cleared(&mut self, remote_device: BluetoothDevice); in on_device_cleared()
533 remote_device: BluetoothDevice, in on_ssp_request()
540 fn on_pin_request(&mut self, remote_device: BluetoothDevice, cod: u32, min_16_digit: bool); in on_pin_request()
543 fn on_pin_display(&mut self, remote_device: BluetoothDevice, pincode: String); in on_pin_display()
551 remote_device: BluetoothDevice, in on_sdp_search_complete()
563 fn on_device_found(&mut self, remote_device: BluetoothDevice); in on_device_found()
566 fn on_device_cleared(&mut self, remote_device: BluetoothDevice); in on_device_cleared()
571 remote_device: BluetoothDevice, in on_remote_device_properties_changed()
[all …]
Dsocket_manager.rs151 sock.remote_device = BluetoothDevice::new(conn.addr, "".into()); in to_connecting_socket()
189 pub remote_device: BluetoothDevice, field
209 remote_device: BluetoothDevice::new(RawAddress::default(), String::new()), in new()
223 remote_device: device, in make_l2cap_channel()
240 remote_device: device, in make_rfcomm_channel()
257 DisplayAddress(&self.remote_device.address), in fmt()
701 socket_info.remote_device.address, in socket_connect()
/packages/modules/Bluetooth/floss/pandora/server/
Dhost.py91 def on_device_connected(self, remote_device): argument
92 address, _ = remote_device
132 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
133 address, _ = remote_device
212 def on_device_connected(self, remote_device): argument
213 address, _ = remote_device
304 def on_device_disconnected(self, remote_device): argument
305 address, _ = remote_device
395 def on_device_connected(self, remote_device): argument
396 address, _ = remote_device
[all …]
Dsecurity.py55 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
60 address, _ = remote_device
195 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
196 address, name = remote_device
202 def on_pin_request(self, remote_device, cod, min_16_digit): argument
203 address, name = remote_device
213 def on_pin_display(self, remote_device, pincode): argument
214 address, name = remote_device
Da2dp.py57 def on_bluetooth_audio_device_added(self, remote_device): argument
58 if remote_device['address'] != self.task['address']:
104 def on_bluetooth_audio_device_added(self, remote_device): argument
105 if remote_device['address'] != self.task['address']:
Dgatt.py276 def on_device_properties_changed(self, remote_device, props): argument
277 if remote_device['address'] != self.task['address']:
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs100 remote_device: BluetoothDevice, in on_device_properties_changed()
118 fn on_device_found(&mut self, remote_device: BluetoothDevice) { in on_device_found()
122 fn on_device_cleared(&mut self, remote_device: BluetoothDevice) { in on_device_cleared()
135 remote_device: BluetoothDevice, in on_ssp_request()
143 fn on_pin_request(&mut self, remote_device: BluetoothDevice, cod: u32, min_16_digit: bool) { in on_pin_request()
147 fn on_pin_display(&mut self, remote_device: BluetoothDevice, pincode: String) { in on_pin_display()
160 remote_device: BluetoothDevice, in on_sdp_search_complete()
191 fn on_device_connected(&mut self, remote_device: BluetoothDevice) { in on_device_connected()
199 fn on_device_disconnected(&mut self, remote_device: BluetoothDevice) { in on_device_disconnected()
796 remote_device: BluetoothDevice, field
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_sdp_api.h235 std::function<tSDP_STATUS(const RawAddress& remote_device,
241 tSDP_STATUS operator()(const RawAddress& remote_device, in operator()
244 return body(remote_device, p_db, len, p_cb); in operator()
Dmock_stack_sdp_api.cc144 tSDP_STATUS SDP_DiDiscover(const RawAddress& remote_device, in SDP_DiDiscover() argument
148 return test::mock::stack_sdp_api::SDP_DiDiscover(remote_device, p_db, len, in SDP_DiDiscover()
Dmock_bta_dm_api.h180 std::function<void(const RawAddress& remote_device)> body{
182 void operator()(const RawAddress& remote_device) { body(remote_device); }; in operator()
Dmock_bta_dm_api.cc150 void BTA_DmBleRequestMaxTxDataLength(const RawAddress& remote_device) { in BTA_DmBleRequestMaxTxDataLength() argument
152 test::mock::bta_dm_api::BTA_DmBleRequestMaxTxDataLength(remote_device); in BTA_DmBleRequestMaxTxDataLength()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_api.cc257 void BTA_DmBleRequestMaxTxDataLength(const RawAddress& remote_device) { in BTA_DmBleRequestMaxTxDataLength() argument
259 base::BindOnce(bta_dm_ble_set_data_length, remote_device)); in BTA_DmBleRequestMaxTxDataLength()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock.cc258 static void btsock_request_max_tx_data_length(const RawAddress& remote_device) { in btsock_request_max_tx_data_length() argument
259 BTA_DmBleRequestMaxTxDataLength(remote_device); in btsock_request_max_tx_data_length()
/packages/modules/Bluetooth/system/bta/include/
Dbta_api.h569 tBTA_STATUS BTA_DmGetCachedRemoteName(const RawAddress& remote_device,
707 void BTA_DmBleRequestMaxTxDataLength(const RawAddress& remote_device);
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h321 const RawAddress remote_device = generateRawAddress(fdp);
331 remote_device, p_db.get(), db_size, &sdp_disc_cmpl_cb);
/packages/modules/Bluetooth/system/stack/sdp/internal/
Dsdp_api.h411 tSDP_STATUS SDP_DiDiscover(const RawAddress& remote_device,
/packages/modules/Bluetooth/system/stack/include/
Dsdp_api.h542 [[nodiscard]] tSDP_STATUS (*SDP_DiDiscover)(const RawAddress& remote_device,
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc738 tSDP_STATUS SDP_DiDiscover(const RawAddress& remote_device, in SDP_DiDiscover() argument
749 if (SDP_ServiceSearchRequest(remote_device, p_db, p_cb)) in SDP_DiDiscover()