/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | battery_service.rs | 76 fn get_battery_info(&self, remote_address: RawAddress) -> Option<BatterySet>; in get_battery_info() 80 fn refresh_battery_info(&self, remote_address: RawAddress) -> bool; in refresh_battery_info() 89 remote_address: RawAddress, in on_battery_service_status_updated() 94 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_info: BatterySet); in on_battery_info_updated() 239 fn set_battery_info(&mut self, remote_address: &RawAddress, value: &Vec<u8>) -> BatterySet { in set_battery_info() 242 debug!("BAS received battery level for {}: {}", DisplayAddress(&remote_address), level); in set_battery_info() 243 let battery_set = self.battery_sets.entry(*remote_address).or_insert_with(|| { in set_battery_info() 245 *remote_address, in set_battery_info() 258 fn init_device(&self, remote_address: RawAddress, transport: BtTransport) { in init_device() 263 debug!("Attempting GATT connection to {}", DisplayAddress(&remote_address)); in init_device() [all …]
|
D | battery_manager.rs | 41 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet); in on_battery_info_updated() 57 fn get_battery_information(&self, remote_address: RawAddress) -> Option<BatterySet>; in get_battery_information() 82 pub fn handle_battery_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet) { in handle_battery_updated() 84 callback.on_battery_info_updated(remote_address, battery_set.clone()) in handle_battery_updated() 101 fn get_battery_information(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_information() 102 self.battery_provider_manager.lock().unwrap().get_battery_info(remote_address) in get_battery_information()
|
D | battery_provider_manager.rs | 60 pub fn get_battery_info(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_info() 61 self.battery_info.get(&remote_address)?.pick_best() in get_battery_info()
|
D | lib.rs | 437 Message::BatteryProviderManagerBatteryUpdated(remote_address, battery_set) => { in dispatch() 441 .handle_battery_updated(remote_address, battery_set); in dispatch()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | le_impl.h | 107 AddressWithType remote_address, in le_acl_connection() 111 : remote_address_(remote_address), in le_acl_connection() 113 assembler_(new acl_manager::assembler(remote_address, queue_down_end, handler)) {} in le_acl_connection() 241 const AddressWithType& remote_address, in add() 250 std::forward_as_tuple(remote_address, std::move(pending_connection), queue_end, handler)); in add() 345 AddressWithType remote_address; in on_le_connection_complete() local 360 remote_address = AddressWithType(address, peer_address_type); in on_le_connection_complete() 385 remote_address = AddressWithType(address, remote_address_type); in on_le_connection_complete() 391 const bool in_filter_accept_list = is_device_in_accept_list(remote_address); in on_le_connection_complete() 404 on_common_le_connection_complete(remote_address); in on_le_connection_complete() [all …]
|
D | le_impl_test.cc | 519 hci::Address remote_address; in TEST_F() local 520 Address::FromString("D0:05:04:03:02:01", remote_address); in TEST_F() 521 hci::AddressWithType address_with_type(remote_address, hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 528 remote_address, in TEST_F() 558 hci::Address remote_address; in TEST_F() local 559 Address::FromString("D0:05:04:03:02:01", remote_address); in TEST_F() 560 hci::AddressWithType address_with_type(remote_address, hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 567 remote_address, in TEST_F() 583 hci::Address remote_address; in TEST_F() local 584 Address::FromString("D0:05:04:03:02:01", remote_address); in TEST_F() [all …]
|
D | le_acl_connection.cc | 129 AddressWithType remote_address) in LeAclConnection() argument 131 remote_address_(remote_address), in LeAclConnection()
|
D | le_acl_connection.h | 63 AddressWithType remote_address);
|
/packages/modules/Bluetooth/system/gd/metrics/ |
D | metrics_state_unittest.cc | 24 bluetooth::hci::Address remote_address = bluetooth::hci::Address::kEmpty; variable 49 remote_address = session_options.remote_address; in LogMetricBluetoothLESession() 99 ASSERT_EQ(remote_address, address1); in TEST() 126 ASSERT_EQ(remote_address, address1); in TEST() 164 ASSERT_EQ(remote_address, address1); in TEST() 190 ASSERT_EQ(remote_address, address1); in TEST()
|
D | metrics_state.cc | 147 session_options.remote_address = address; in UploadLEConnectionSession()
|
/packages/modules/Bluetooth/system/rust/src/connection/ |
D | attempt_manager.rs | 31 pub remote_address: AddressWithType, field 91 ConnectionAttempt { client, mode: ConnectionMode::Direct, remote_address: address }; in register_direct_connection() 119 ConnectionAttempt { client, mode: ConnectionMode::Background, remote_address: address }; in register_background_connection() 138 self.attempts.remove(&ConnectionAttempt { client, mode, remote_address: address }); in cancel_attempt() 155 self.attempts.retain(|attempt, _| attempt.remote_address != address); in remove_unconditionally() 179 .filter(|attempt| attempt.remote_address == address) in process_connection() 211 const CONNECTION_1: LeConnection = LeConnection { remote_address: ADDRESS_1 }; 212 const CONNECTION_2: LeConnection = LeConnection { remote_address: ADDRESS_2 }; 227 assert_eq!(attempts.active_attempts()[0].remote_address, ADDRESS_1); in test_direct_connection() 309 assert_eq!(attempts.active_attempts()[0].remote_address, ADDRESS_1); in test_background_connection() [all …]
|
D | acceptlist_manager.rs | 29 .map(|attempt| attempt.remote_address) in determine_target_state() 35 .map(|attempt| attempt.remote_address) in determine_target_state() 134 remote_address: ADDRESS_1, in test_determine_target_state() 139 remote_address: ADDRESS_1, in test_determine_target_state() 144 remote_address: ADDRESS_2, in test_determine_target_state() 149 remote_address: ADDRESS_2, in test_determine_target_state() 154 remote_address: ADDRESS_3, in test_determine_target_state()
|
D | ffi.rs | 120 callback.on_le_connect(address, Ok(LeConnection { remote_address: address })) in on_le_connect_success()
|
/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_server.cc | 131 const RawAddress& remote_address) { in sdp_dynamic_change_hfp_version() argument 142 interop_match_addr_or_name(INTEROP_HFP_1_7_ALLOWLIST, &remote_address, in sdp_dynamic_change_hfp_version() 145 interop_match_addr_or_name(INTEROP_HFP_1_9_ALLOWLIST, &remote_address, in sdp_dynamic_change_hfp_version() 158 p_attr->value_ptr[PROFILE_VERSION_POSITION], remote_address); in sdp_dynamic_change_hfp_version() 321 static bool is_device_in_allowlist_for_pbap(RawAddress remote_address, in is_device_in_allowlist_for_pbap() argument 324 interop_match_addr_or_name(INTEROP_ADV_PBAP_VER_1_1, &remote_address, in is_device_in_allowlist_for_pbap() 330 if (btm_sec_is_a_bonded_dev(remote_address)) { in is_device_in_allowlist_for_pbap() 332 INTEROP_ADV_PBAP_VER_1_2, &remote_address, in is_device_in_allowlist_for_pbap() 338 const char* p_name = BTM_SecReadDevName(remote_address); in is_device_in_allowlist_for_pbap() 361 RawAddress remote_address) { in sdp_upgrade_pse_record() argument [all …]
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_address_manager_test.cc | 137 AddressWithType remote_address(Address::kEmpty, AddressType::RANDOM_DEVICE_ADDRESS); in TEST_F() local 140 remote_address, in TEST_F() 159 AddressWithType remote_address(Address::kEmpty, AddressType::RANDOM_DEVICE_ADDRESS); in TEST_F() local 162 remote_address, in TEST_F() 183 AddressWithType remote_address(Address::kEmpty, AddressType::RANDOM_DEVICE_ADDRESS); in TEST_F() local 186 remote_address, in TEST_F() 221 AddressWithType remote_address(Address::kEmpty, AddressType::RANDOM_DEVICE_ADDRESS); in SetUp() local 224 remote_address, in SetUp()
|
D | hci_layer_unittest.cc | 241 hci::Address remote_address; in TEST_F() local 242 Address::FromString("D0:05:04:03:02:01", remote_address); in TEST_F() 248 remote_address, in TEST_F()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_battery_manager.rs | 30 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet) { in on_battery_info_updated() 53 fn get_battery_information(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_information()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/ |
D | le_acl_manager_test.py | 154 assertThat(dut_le_acl.remote_address).isEqualTo(self.cert_random_address) 174 assertThat(dut_le_acl.remote_address).isEqualTo(self.cert_random_address) 195 assertThat(dut_le_acl.remote_address).isEqualTo(repr(self.cert_public_address)) 215 assertThat(dut_le_acl.remote_address).isEqualTo(self.cert_random_address) 231 assertThat(dut_le_acl.remote_address).isEqualTo(self.cert_random_address) 248 assertThat(dut_le_acl.remote_address).isEqualTo(self.cert_random_address) 291 assertThat(dut_le_acl.remote_address).isEqualTo(self.cert_random_address)
|
/packages/modules/Bluetooth/system/gd/security/ |
D | facade_configuration_api.cc | 67 hci::AddressWithType remote_address, in SetOutOfBandData() argument 73 remote_address, in SetOutOfBandData()
|
D | facade_configuration_api.h | 55 hci::AddressWithType remote_address,
|
/packages/modules/Bluetooth/system/main/shim/ |
D | acl.cc | 299 ClassicConnectionDescriptor(const hci::Address& remote_address, in ClassicConnectionDescriptor() 306 remote_address_(remote_address) {} in ClassicConnectionDescriptor() 1095 auto remote_address = connection->second->GetRemoteAddress(); in disconnect_classic() local 1099 remote_address, handle); in disconnect_classic() 1100 BTM_LogHistory(kBtmLogTag, ToRawAddress(remote_address), in disconnect_classic() 1537 hci::Address remote_address = in OnClassicLinkDisconnected() local 1551 remote_address, handle, ErrorCodeText(reason)); in OnClassicLinkDisconnected() 1553 kBtmLogTag, ToRawAddress(remote_address), "Disconnected", in OnClassicLinkDisconnected() 1557 remote_address, creation_time, teardown_time, handle, in OnClassicLinkDisconnected() 1598 auto remote_address = ToGdAddress(remote_bda); in GetAdvertisingSetConnectedTo() local [all …]
|
/packages/modules/Bluetooth/system/main/test/ |
D | main_shim_test.cc | 292 hci::AddressWithType remote_address) { in MockLeAclConnection() argument 295 remote_address_ = remote_address; in MockLeAclConnection() 656 hci::AddressWithType remote_address( in TEST_F() local 663 acl->AcceptLeConnectionFrom(remote_address, true, std::move(promise)); in TEST_F() 671 remote_address); in TEST_F() 673 acl->OnLeConnectSuccess(remote_address, std::move(connection)); in TEST_F()
|
/packages/modules/Bluetooth/system/gd/os/android/ |
D | metrics.cc | 572 if (!session_options.remote_address.IsEmpty()) { in LogMetricBluetoothLEConnection() 573 metric_id = MetricIdManager::GetInstance().AllocateId(session_options.remote_address); in LogMetricBluetoothLEConnection() 592 session_options.remote_address, in LogMetricBluetoothLEConnection()
|
/packages/modules/Bluetooth/system/rust/src/ |
D | connection.rs | 75 pub remote_address: AddressWithType, field 193 return Ok(LeConnection { remote_address: address }); in direct_connection()
|
/packages/modules/Bluetooth/system/rust/src/connection/mocks/ |
D | mock_le_manager.rs | 52 .on_le_connect(address, Ok(LeConnection { remote_address: address })); in on_le_connect()
|