Home
last modified time | relevance | path

Searched refs:GetAddress (Results 1 – 25 of 51) sorted by relevance

123

/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dacl_connection_handler.cc105 if (connection.GetAddress() == peer || connection.GetResolvedAddress() == resolved_peer) { in CreatePendingLeConnection()
175 uint16_t sco_handle = GetScoHandle(GetAddress(handle).GetAddress()); in Disconnect()
185 if (std::get<AclConnection>(pair).GetAddress() == addr) { in GetHandle()
194 if (std::get<AclConnection>(pair).GetAddress().GetAddress() == addr) { in GetHandleOnlyAddress()
204 if (connection.GetAddress().GetAddress() == bd_addr && in GetAclConnectionHandle()
217 AddressWithType AclConnectionHandler::GetAddress(uint16_t handle) const { in GetAddress() function in rootcanal::AclConnectionHandler
219 return acl_connections_.at(handle).GetAddress(); in GetAddress()
223 return HasHandle(handle) ? acl_connections_.at(handle).GetAddress() in GetAddressSafe()
229 return sco_connections_.at(handle).GetAddress(); in GetScoAddress()
298 if (std::get<ScoConnection>(pair).GetAddress() == addr) { in HasPendingScoConnection()
[all …]
Dlink_layer_controller.cc65 const Address& LinkLayerController::GetAddress() const { return address_; } in GetAddress() function in rootcanal::LinkLayerController
182 return LeFilterAcceptListContainsDevice(address_type, address.GetAddress()); in LeFilterAcceptListContainsDevice()
225 entry.peer_resolvable_address = address.GetAddress(); in ResolvePrivateAddress()
262 if (address.GetAddress() == entry.peer_identity_address && in GenerateResolvablePrivateAddress()
453 connections_.GetOwnAddress(connection_handle).GetAddress(), in LeSetPhy()
454 connections_.GetAddress(connection_handle).GetAddress(), tx_phys, rx_phys)); in LeSetPhy()
1961 Address address = address_opt.has_value() ? address_opt.value().GetAddress() in LinkLayerController()
1998 Address source = controller->GetAddress(); in LinkLayerController()
2019 Address source = connection.GetOwnAddress().GetAddress(); in LinkLayerController()
2020 Address destination = connection.GetAddress().GetAddress(); in LinkLayerController()
[all …]
Dle_advertiser.cc213 if (random_address.GetAddress() == Address::kEmpty) { in LeSetAdvertisingEnable()
235 } else if (random_address.GetAddress() == Address::kEmpty) { in LeSetAdvertisingEnable()
1061 if (random_address.GetAddress() == Address::kEmpty) { in LeSetExtendedAdvertisingEnable()
1083 } else if (random_address.GetAddress() == Address::kEmpty) { in LeSetExtendedAdvertisingEnable()
1626 legacy_advertiser_.advertising_address.GetAddress(), in LeAdvertising()
1627 legacy_advertiser_.target_address.GetAddress(), in LeAdvertising()
1744 advertiser.advertising_address.GetAddress(), in LeAdvertising()
1745 advertiser.target_address.GetAddress(), in LeAdvertising()
1755 advertiser.advertising_address.GetAddress(), in LeAdvertising()
1756 advertiser.target_address.GetAddress(), in LeAdvertising()
[all …]
Dsco_connection.h98 Address GetAddress() const { return address_; } in GetAddress() function
/packages/modules/Bluetooth/system/profile/avrcp/
Dconnection_handler.cc131 if (bdaddr == pair.second->GetAddress()) { in ConnectDevice()
154 if (bdaddr == pair.second->GetAddress()) { in ConnectDevice()
159 instance_->vol_->DeviceConnected(pair.second->GetAddress()); in ConnectDevice()
174 if (bdaddr == it->second->GetAddress()) { in DisconnectDevice()
185 if (bdaddr == it->second->GetAddress()) { in SetBipClientStatus()
288 btif_av_peer_is_connected_sink(newDevice->GetAddress()))) { in InitiatorControlCb()
292 instance_->vol_->DeviceConnected(newDevice->GetAddress()); in InitiatorControlCb()
306 feature_map_.erase(device_map_[handle]->GetAddress()); in InitiatorControlCb()
351 feature_map_.erase(device_map_[handle]->GetAddress()); in AcceptorControlCb()
378 instance_->feature_map_[device->GetAddress()] = features; in AcceptorControlCb()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Daddress_with_type.h44 inline Address GetAddress() const { return address_; } in GetAddress() function
131 for (auto b : address.GetAddress().address) {
167 auto out = presentation == 'x' ? fmt::format_to(ctx.out(), "{:x}", a.GetAddress())
168 : fmt::format_to(ctx.out(), "{:X}", a.GetAddress());
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl.h287 if (it->second.remote_address_.GetAddress() == address) { in HACK_get_handle()
446 if (remote_address.GetAddress() != Address::kEmpty) { in on_le_connection_complete()
447 log::info("Controller send non-empty address field:{}", remote_address.GetAddress()); in on_le_connection_complete()
589 bluetooth::shim::LogMetricLeConnectionStatus(remote_address.GetAddress(), in on_le_disconnect()
677 return connections.getAddressWithType(connection_handle).GetAddress(); in HACK_get_address()
706 std::forward_as_tuple(address_with_type.GetAddress(), in direct_connect_add()
728 bluetooth::shim::LogMetricLeDeviceInAcceptList(address_with_type.GetAddress(), in add_device_to_accept_list()
744 address_with_type.ToFilterAcceptListAddressType(), address_with_type.GetAddress()); in add_device_to_accept_list()
752 bluetooth::shim::LogMetricLeDeviceInAcceptList(address_with_type.GetAddress(), in remove_device_from_accept_list()
762 address_with_type.ToFilterAcceptListAddressType(), address_with_type.GetAddress()); in remove_device_from_accept_list()
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Dle_periodic_sync_manager_test.cc280 address_with_type.GetAddress(), SecondaryPhyType::LE_1M, 0xFF, ClockAccuracy::PPM_250); in TEST_F()
319 address_with_type.GetAddress(), SecondaryPhyType::LE_1M, 0xFF, ClockAccuracy::PPM_250); in TEST_F()
357 address_with_type.GetAddress(), SecondaryPhyType::LE_1M, 0xFF, ClockAccuracy::PPM_250); in TEST_F()
401 periodic_sync_manager_->CancelCreateSync(advertiser_sid, address_with_type.GetAddress()); in TEST_F()
521 address_with_type.GetAddress(), SecondaryPhyType::LE_1M, 0xFF, ClockAccuracy::PPM_250); in TEST_F()
577 address_with_type.GetAddressType(), address_with_type.GetAddress(), in TEST_F()
604 address_with_type.GetAddress(), SecondaryPhyType::LE_1M, 0xFF, ClockAccuracy::PPM_250); in TEST_F()
671 address_with_type.GetAddress(), SecondaryPhyType::LE_1M, 0xFF, ClockAccuracy::PPM_250); in TEST_F()
750 address_with_type.GetAddress(), SecondaryPhyType::LE_1M, 0xFF, ClockAccuracy::PPM_250); in TEST_F()
920 address_with_type.GetAddressType(), address_with_type.GetAddress(), in TEST_F()
[all …]
Dacl_manager_unittest.cc386 ASSERT_EQ(command_view.GetPeerAddress(), empty_address_with_type.GetAddress()); in SetUp()
478 local_address_with_type_.GetAddress(), class_of_device, ConnectionRequestLinkType::ACL)); in TEST_F()
523 ASSERT_EQ(connection->GetAddress(), remote_device[0].address) in TEST_F()
537 ASSERT_EQ(connection->GetAddress(), remote_device[1].address) in TEST_F()
578 ASSERT_EQ(connection->GetAddress(), remote_device[1].address) in TEST_F()
592 ASSERT_EQ(connection->GetAddress(), remote_device[0].address) in TEST_F()
Daddress_with_type.h41 inline Address GetAddress() const { return address_; } in GetAddress() function
136 memcpy(reinterpret_cast<uint8_t*>(&int_addr), val.GetAddress().data(),
Dle_address_manager.cc131 auto addr = fixed_address.GetAddress(); in SetPrivacyPolicyForInitiatorAddress()
144 auto packet = hci::LeSetRandomAddressBuilder::Create(le_address_.GetAddress()); in SetPrivacyPolicyForInitiatorAddress()
194 auto addr = fixed_address.GetAddress(); in SetPrivacyPolicyForInitiatorAddressForTest()
207 auto packet = hci::LeSetRandomAddressBuilder::Create(le_address_.GetAddress()); in SetPrivacyPolicyForInitiatorAddressForTest()
797 log::info("update random address : {}", cached_address_.GetAddress()); in OnCommandComplete()
Dle_periodic_sync_manager.h503 if (it->advertiser_sid == adv_sid && it->address_with_type.GetAddress() == address) { in GetSyncFromAddressAndSid()
513 if (it->advertiser_sid == adv_sid && it->address_with_type.GetAddress() == address) { in GetPendingSyncFromAddressAndSid()
543 options, sid, advertisingAddressType, address_with_type.GetAddress(), skip, in HandleStartSyncRequest()
594 if (it->advertiser_sid == advertiser_sid && it->address_with_type.GetAddress() == address) { in CleanUpRequest()
Dle_address_manager_test.cc281 ASSERT_EQ(address, packet_view.GetAddress()); in TEST_F()
303 ASSERT_EQ(address, packet_view.GetAddress()); in TEST_F()
482 ASSERT_EQ(address, packet_view.GetAddress()); in TEST_F()
Dhci_metrics_logging.cc232 address = le_add_device_to_accept_list_view.GetAddress(); in log_link_layer_connection_command()
243 address = le_remove_device_from_accept_list_view.GetAddress(); in log_link_layer_connection_command()
432 address = le_add_device_to_accept_list_view.GetAddress(); in log_link_layer_connection_command_status()
443 address = le_remove_device_from_accept_list_view.GetAddress(); in log_link_layer_connection_command_status()
497 address = le_add_device_to_accept_list_view.GetAddress(); in log_link_layer_connection_command_complete()
508 address = le_remove_device_from_accept_list_view.GetAddress(); in log_link_layer_connection_command_complete()
/packages/modules/adb/client/
Dusb_libusb_hotplug.cpp59 VLOG(USB) << std::format("Can't init address='{}', serial='{}'", device->GetAddress(), in process_device()
64 if (!transport_server_owns_device(device->GetAddress(), device->GetSerial())) { in process_device()
72 auto address = device->GetAddress(); in process_device()
Dusb_libusb_device.h78 std::string GetAddress() const;
/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dphy_device.cc38 bluetooth::hci::Address PhyDevice::GetAddress() const { return device_->GetAddress(); } in GetAddress() function in rootcanal::PhyDevice
Dphy_device.h45 bluetooth::hci::Address GetAddress() const;
Dtest_model.cc108 return device.second->GetAddress() == address; in GenerateBluetoothAddress()
199 INFO(device->id_, "Initialized device with address {}", device->GetAddress()); in AddHciConnection()
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_device_test.cc131 ASSERT_EQ(device.GetAddress(), RawAddress::kAny); in TEST_F()
245 EXPECT_CALL(a2dp_interface, active_peer()).WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
281 EXPECT_CALL(a2dp_interface, active_peer()).WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
307 EXPECT_CALL(a2dp_interface, active_peer()).WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
358 EXPECT_CALL(a2dp_interface, active_peer()).WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
404 EXPECT_CALL(a2dp_interface, active_peer()).WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
595 EXPECT_CALL(a2dp_interface, active_peer()).WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
1164 EXPECT_CALL(a2dp_interface, active_peer()).WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
1170 EXPECT_CALL(vol_interface, DeviceConnected(test_device->GetAddress(), _)) in TEST_F()
1202 EXPECT_CALL(vol_interface, DeviceConnected(test_device->GetAddress(), _)) in TEST_F()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Dtest_environment.cc117 device->GetAddress().ToString() + ".pcap"; in SetUpHciServer()
120 device->GetAddress().ToString() + "_" + std::to_string(i) + ".pcap"; in SetUpHciServer()
/packages/modules/Bluetooth/system/gd/storage/
Dclassic_device.cc36 hci::Address ClassicDevice::GetAddress() const { in GetAddress() function in bluetooth::storage::ClassicDevice
Dstorage_module_test.cc236 ASSERT_EQ(address, storage_->GetBondedDevices()[0].GetAddress()); in TEST_F()
250 ASSERT_EQ(address, storage_->GetBondedDevices()[0].GetAddress()); in TEST_F()
/packages/modules/Bluetooth/system/main/shim/
Dacl_api.cc126 conn_addr = ToRawAddress(local_address.GetAddress()); in ACL_ReadConnectionAddress()
137 conn_addr = ToRawAddress(remote_ota_address.GetAddress()); in ACL_ReadPeerConnectionAddress()
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Ddevice.h53 const Address& GetAddress() const { return address_; } in GetAddress() function

123