/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | acl_connection_handler.cc | 105 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 …]
|
D | link_layer_controller.cc | 65 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 …]
|
D | le_advertiser.cc | 213 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 …]
|
D | sco_connection.h | 98 Address GetAddress() const { return address_; } in GetAddress() function
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | connection_handler.cc | 131 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/ |
D | address_with_type.h | 44 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/ |
D | le_impl.h | 287 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/ |
D | le_periodic_sync_manager_test.cc | 280 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 …]
|
D | acl_manager_unittest.cc | 386 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()
|
D | address_with_type.h | 41 inline Address GetAddress() const { return address_; } in GetAddress() function 136 memcpy(reinterpret_cast<uint8_t*>(&int_addr), val.GetAddress().data(),
|
D | le_address_manager.cc | 131 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()
|
D | le_periodic_sync_manager.h | 503 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()
|
D | le_address_manager_test.cc | 281 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()
|
D | hci_metrics_logging.cc | 232 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/ |
D | usb_libusb_hotplug.cpp | 59 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()
|
D | usb_libusb_device.h | 78 std::string GetAddress() const;
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | phy_device.cc | 38 bluetooth::hci::Address PhyDevice::GetAddress() const { return device_->GetAddress(); } in GetAddress() function in rootcanal::PhyDevice
|
D | phy_device.h | 45 bluetooth::hci::Address GetAddress() const;
|
D | test_model.cc | 108 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/ |
D | avrcp_device_test.cc | 131 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/ |
D | test_environment.cc | 117 device->GetAddress().ToString() + ".pcap"; in SetUpHciServer() 120 device->GetAddress().ToString() + "_" + std::to_string(i) + ".pcap"; in SetUpHciServer()
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | classic_device.cc | 36 hci::Address ClassicDevice::GetAddress() const { in GetAddress() function in bluetooth::storage::ClassicDevice
|
D | storage_module_test.cc | 236 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/ |
D | acl_api.cc | 126 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/ |
D | device.h | 53 const Address& GetAddress() const { return address_; } in GetAddress() function
|