/system/bt/gd/security/pairing/ |
D | classic_pairing_handler.cc | 85 … hci::UserConfirmationRequestReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress())); in OnConfirmYesNo() 88 …serConfirmationRequestNegativeReplyBuilder::Create(GetRecord()->GetPseudoAddress()->GetAddress())); in OnConfirmYesNo() 93 …GetChannel()->SendCommand(hci::UserPasskeyRequestReplyBuilder::Create(address.GetAddress(), passke… in OnPasskeyEntry() 101 LOG_INFO("%s", address.GetAddress().ToString().c_str()); in OnPinEntry() 102 …GetChannel()->SendCommand(hci::PinCodeRequestReplyBuilder::Create(address.GetAddress(), pin.size()… in OnPinEntry() 132 GetChannel()->Connect(GetRecord()->GetPseudoAddress()->GetAddress()); in Initiate() 163 std::move(complete_callback_).Run(GetRecord()->GetPseudoAddress()->GetAddress(), result); in Cancel() 179 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 192 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 196 GetRecord()->GetPseudoAddress()->GetAddress(), GetRecord()->GetLinkKey())); in OnReceive() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | le_advertiser.cc | 43 address_ = AddressWithType(address_.GetAddress(), address_type); in InitializeExtended() 69 AddressWithType LeAdvertiser::GetAddress() const { return address_; } in GetAddress() function in test_vendor_lib::LeAdvertiser 116 address_.GetAddress(), peer_address_.GetAddress(), in GetAdvertisement() 124 if (scanned != address_.GetAddress() || !enabled_ || scan_response_.empty()) { in GetScanResponse() 134 if (scanner != peer_address_.GetAddress()) { in GetScanResponse() 142 address_.GetAddress(), peer_address_.GetAddress(), in GetScanResponse()
|
D | link_layer_controller.cc | 85 Address local_address = properties_.GetAddress(); in SendCommandToRemoteByAddress() 134 opcode, args, connections_.GetAddress(handle).GetAddress(), in SendCommandToRemoteByHandle() 135 connections_.GetOwnAddress(handle).GetAddress()); in SendCommandToRemoteByHandle() 138 opcode, args, connections_.GetAddress(handle).GetAddress()); in SendCommandToRemoteByHandle() 150 AddressWithType destination = connections_.GetAddress(handle); in SendAclToRemote() 178 auto acl = model::packets::AclBuilder::Create(my_address.GetAddress(), in SendAclToRemote() 179 destination.GetAddress(), in SendAclToRemote() 202 if (destination_address == properties_.GetAddress() || in IncomingPacket() 210 advertiser.GetAddress().GetAddress() == destination_address) { in IncomingPacket() 605 properties_.GetAddress(), peer, key_vec); in IncomingEncryptConnection() [all …]
|
D | acl_connection_handler.cc | 76 if (connection.GetAddress() == addr) { in CreatePendingLeConnection() 139 if (std::get<AclConnection>(pair).GetAddress() == addr) { in GetHandle() 149 if (std::get<AclConnection>(pair).GetAddress().GetAddress() == addr) { in GetHandleOnlyAddress() 156 AddressWithType AclConnectionHandler::GetAddress(uint16_t handle) const { in GetAddress() function in test_vendor_lib::AclConnectionHandler 158 return acl_connections_.at(handle).GetAddress(); in GetAddress()
|
D | acl_connection.h | 40 AddressWithType GetAddress() const;
|
D | acl_connection.cc | 30 AddressWithType AclConnection::GetAddress() const { return address_; } in GetAddress() function in test_vendor_lib::AclConnection
|
/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 264 hci_layer_->IncomingEvent(hci::IoCapabilityRequestBuilder::Create(device_.GetAddress())); in TEST_F() 274 …auto packet = hci::IoCapabilityRequestReplyBuilder::Create(device_.GetAddress(), io_capability, oo… in TEST_F() 291 …hci::IoCapabilityRequestNegativeReplyBuilder::Create(device_.GetAddress(), hci::ErrorCode::COMMAND… in TEST_F() 308 …hci_layer_->IncomingEvent(hci::IoCapabilityResponseBuilder::Create(device_.GetAddress(), io_capabi… in TEST_F() 315 hci_layer_->IncomingEvent(hci::PinCodeRequestBuilder::Create(device_.GetAddress())); in TEST_F() 324 …auto packet = hci::PinCodeRequestReplyBuilder::Create(device_.GetAddress(), pin_code_length, pin_c… in TEST_F() 339 auto packet = hci::PinCodeRequestNegativeReplyBuilder::Create(device_.GetAddress()); in TEST_F() 354 …hci_layer_->IncomingEvent(hci::UserPasskeyNotificationBuilder::Create(device_.GetAddress(), passke… in TEST_F() 361 …hci_layer_->IncomingEvent(hci::UserConfirmationRequestBuilder::Create(device_.GetAddress(), numeri… in TEST_F() 368 auto packet = hci::UserConfirmationRequestReplyBuilder::Create(device_.GetAddress()); in TEST_F() [all …]
|
/system/bt/gd/storage/ |
D | adapter_config_test.cc | 37 ASSERT_FALSE(adapter_config.GetAddress()); in TEST() 45 ASSERT_FALSE(adapter_config.GetAddress()); in TEST() 49 ASSERT_THAT(adapter_config.GetAddress(), Optional(Eq(address))); in TEST()
|
D | classic_device.cc | 39 hci::Address ClassicDevice::GetAddress() const { in GetAddress() function in bluetooth::storage::ClassicDevice
|
/system/bt/gd/security/ |
D | pairing_handler_le_legacy.cc | 144 i.my_connection_address.GetAddress().data(), in DoLegacyStage2() 146 i.remote_connection_address.GetAddress().data()); in DoLegacyStage2() 178 i.my_connection_address.GetAddress().data(), in DoLegacyStage2() 180 i.remote_connection_address.GetAddress().data()); in DoLegacyStage2() 200 i.remote_connection_address.GetAddress().data(), in DoLegacyStage2() 202 i.my_connection_address.GetAddress().data()); in DoLegacyStage2() 227 i.remote_connection_address.GetAddress().data(), in DoLegacyStage2() 229 i.my_connection_address.GetAddress().data()); in DoLegacyStage2()
|
/system/bt/gd/l2cap/classic/internal/ |
D | link.cc | 320 link_manager_->OnAuthenticationComplete(hci_status, GetDevice().GetAddress()); in OnAuthenticationComplete() 325 link_manager_->OnEncryptionChange(GetDevice().GetAddress(), enabled); in OnEncryptionChange() 340 link_manager_->OnReadClockOffset(GetDevice().GetAddress(), clock_offset); in OnReadClockOffsetComplete() 344 link_manager_->OnModeChange(status, GetDevice().GetAddress(), current_mode, interval); in OnModeChange() 355 GetDevice().GetAddress(), in OnSniffSubrating() 425 link_manager_->OnRoleChange(hci_status, GetDevice().GetAddress(), new_role); in OnRoleChange() 429 link_manager_->OnDisconnect(GetDevice().GetAddress(), reason); in OnDisconnection() 440 hci_status, GetDevice().GetAddress(), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete() 444 link_manager_->OnReadRemoteSupportedFeatures(GetDevice().GetAddress(), features); in OnReadRemoteSupportedFeaturesComplete() 453 …link_manager_->OnReadRemoteExtendedFeatures(GetDevice().GetAddress(), page_number, max_page_number… in OnReadRemoteExtendedFeaturesComplete() [all …]
|
D | fixed_channel_impl_test.cc | 67 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 76 EXPECT_EQ(device.GetAddress(), fixed_channel_impl.GetDevice()); in TEST_F() 84 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 113 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 143 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 176 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 205 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 223 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 242 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F() 280 EXPECT_CALL(*mock_acl_connection, GetAddress()).Times(1); in TEST_F()
|
/system/bt/gd/security/record/ |
D | security_record_storage_test.cc | 72 auto device = storage_module_->GetDeviceByClassicMacAddress(remote.GetAddress()); in TEST_F() 107 auto device = storage_module_->GetDeviceByClassicMacAddress(identity_address.GetAddress()); in TEST_F() 133 auto device = storage_module_->GetDeviceByClassicMacAddress(remote.GetAddress()); in TEST_F() 167 auto device = storage_module_->GetDeviceByClassicMacAddress(remote.GetAddress()); in TEST_F() 187 auto device = storage_module_->GetDeviceByClassicMacAddress(remote.GetAddress()); in TEST_F()
|
D | security_record_storage.cc | 54 std::copy_n(record->identity_address_->GetAddress().data(), 6, peerid.data() + 17); in SetLeData() 61 mutation.Add(le_device.SetLegacyPseudoAddress(record->pseudo_address_->GetAddress())); in SetLeData() 107 …e device = storage_module_->GetDeviceByClassicMacAddress(record->GetPseudoAddress()->GetAddress()); in SaveSecurityRecords() 134 auto address_with_type = hci::AddressWithType(device.GetAddress(), *address_type); in LoadSecurityRecords() 187 storage::Device device = storage_module_->GetDeviceByClassicMacAddress(address.GetAddress()); in RemoveDevice()
|
/system/bt/gd/hci/acl_manager/ |
D | le_impl.h | 376 …s_manager_->AddDeviceToConnectList(ConnectListAddressType::PUBLIC, address_with_type.GetAddress()); in add_device_to_connect_list() 380 …s_manager_->AddDeviceToConnectList(ConnectListAddressType::RANDOM, address_with_type.GetAddress()); in add_device_to_connect_list() 399 …PeerAddressType::PUBLIC_DEVICE_OR_IDENTITY_ADDRESS, address_with_type.GetAddress(), peer_irk, loca… in add_device_to_resolving_list() 404 …PeerAddressType::RANDOM_DEVICE_OR_IDENTITY_ADDRESS, address_with_type.GetAddress(), peer_irk, loca… in add_device_to_resolving_list() 418 … std::forward_as_tuple(address_with_type.GetAddress(), address_with_type.GetAddressType()), in create_le_connection() 483 … address_with_type.GetAddressType(), address_with_type.GetAddress(), in create_le_connection() 492 … address_with_type.GetAddressType(), address_with_type.GetAddress(), in create_le_connection() 534 ConnectListAddressType::PUBLIC, address_with_type.GetAddress()); in remove_device_from_connect_list() 539 ConnectListAddressType::RANDOM, address_with_type.GetAddress()); in remove_device_from_connect_list() 555 PeerAddressType::PUBLIC_DEVICE_OR_IDENTITY_ADDRESS, address_with_type.GetAddress()); in remove_device_from_resolving_list() [all …]
|
/system/bt/profile/avrcp/ |
D | connection_handler.cc | 115 if (bdaddr == pair.second->GetAddress()) { in ConnectDevice() 143 if (bdaddr == it->second->GetAddress()) { in DisconnectDevice() 155 if (bdaddr == it->second->GetAddress()) { in SetBipClientStatus() 270 instance_->vol_->DeviceConnected(newDevice->GetAddress()); in InitiatorControlCb() 284 feature_map_.erase(device_map_[handle]->GetAddress()); in InitiatorControlCb() 349 instance_->feature_map_.emplace(device->GetAddress(), features); in AcceptorControlCb() 356 instance_->vol_->DeviceConnected(device->GetAddress()); in AcceptorControlCb() 375 feature_map_.erase(device_map_[handle]->GetAddress()); in AcceptorControlCb()
|
/system/bt/gd/hci/ |
D | address_with_type.h | 39 inline Address GetAddress() const { in GetAddress() function 119 …memcpy(reinterpret_cast<uint8_t*>(&int_addr), val.GetAddress().data(), bluetooth::hci::Address::kL…
|
D | le_address_manager.cc | 64 auto addr = fixed_address.GetAddress(); in SetPrivacyPolicyForInitiatorAddress() 76 auto packet = hci::LeSetRandomAddressBuilder::Create(le_address_.GetAddress()); in SetPrivacyPolicyForInitiatorAddress() 109 auto addr = fixed_address.GetAddress(); in SetPrivacyPolicyForInitiatorAddressForTest() 121 auto packet = hci::LeSetRandomAddressBuilder::Create(le_address_.GetAddress()); in SetPrivacyPolicyForInitiatorAddressForTest() 437 LOG_INFO("update random address : %s", cached_address_.GetAddress().ToString().c_str()); in OnCommandComplete()
|
/system/bt/gd/security/internal/ |
D | security_manager_impl.cc | 46 auto entry = pairing_handler_map_.find(record->GetPseudoAddress()->GetAddress()); in DispatchPairingHandler() 69 record->GetPseudoAddress()->GetAddress(), pairing_handler); in DispatchPairingHandler() 91 if (!adapter_config.GetAddress() || adapter_config.GetAddress().value() != controllerAddress) { in Init() 98 …hci::AddressWithType(adapter_config.GetAddress().value(), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in Init() 160 auto entry = pairing_handler_map_.find(device.GetAddress()); in CancelBond() 175 security_manager_channel_->Disconnect(device.GetAddress()); in RemoveBond() 178 device.GetAddress(), hci::DeleteStoredLinkKeyDeleteAllFlag::SPECIFIED_BD_ADDR)); in RemoveBond() 386 auto entry = pairing_handler_map_.find(address.GetAddress()); in OnPairingPromptAccepted() 397 auto entry = pairing_handler_map_.find(address.GetAddress()); in OnConfirmYesNo() 408 auto entry = pairing_handler_map_.find(address.GetAddress()); in OnPasskeyEntry() [all …]
|
/system/bt/gd/hci/facade/ |
D | le_initiator_address_facade.cc | 80 bluetooth_address->set_address(current.GetAddress().ToString()); in GetCurrentInitiatorAddress() 92 bluetooth_address->set_address(another.GetAddress().ToString()); in GetAnotherAddress()
|
/system/bt/main/shim/ |
D | btm_api.cc | 328 io_req_evt_data.bd_addr = bluetooth::ToRawAddress(address.GetAddress()); in HandleConfirm() 339 io_rsp_evt_data.bd_addr = bluetooth::ToRawAddress(address.GetAddress()); in HandleConfirm() 351 bluetooth::ToRawAddress(address.GetAddress()); in HandleConfirm() 455 bluetooth::ToRawAddress(device.GetAddress()), 0, name, key, in OnDeviceBonded() 460 bluetooth::ToRawAddress(device.GetAddress()), 0, name, HCI_SUCCESS); in OnDeviceBonded() 466 bluetooth::ToRawAddress(device.GetAddress())); in OnDeviceBonded() 469 bluetooth::ToRawAddress(device.GetAddress())); in OnDeviceBonded() 473 bluetooth::ToRawAddress(device.GetAddress())) in OnDeviceBonded() 475 bluetooth::ToRawAddress(device.GetAddress())); in OnDeviceBonded() 478 << bluetooth::ToRawAddress(device.GetAddress()); in OnDeviceBonded() [all …]
|
/system/bt/service/test/ |
D | adapter_unittest.cc | 226 TEST_F(AdapterTest, GetAddress) { in TEST_F() argument 227 EXPECT_EQ(bluetooth::Adapter::kDefaultAddress, adapter_->GetAddress()); in TEST_F() 233 EXPECT_EQ(kTestAdapterAddressOutput, adapter_->GetAddress()); in TEST_F()
|
D | mock_adapter.h | 39 MOCK_CONST_METHOD0(GetAddress, std::string());
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetooth.aidl | 39 String GetAddress(); in GetAddress() method
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | device.cc | 24 std::string dev = GetTypeString() + "@" + properties_.GetAddress().ToString(); in ToString()
|