Home
last modified time | relevance | path

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

1234

/aosp12/system/bt/gd/security/pairing/
H A Dclassic_pairing_handler.cc101 LOG_INFO("%s", address.GetAddress().ToString().c_str()); in OnPinEntry()
232 GetRecord()->GetPseudoAddress()->GetAddress(), in OnReceive()
347 GetRecord()->GetPseudoAddress()->GetAddress(), in OnReceive()
354 GetRecord()->GetPseudoAddress()->GetAddress(), in OnReceive()
362 GetRecord()->GetPseudoAddress()->GetAddress(), in OnReceive()
371 GetRecord()->GetPseudoAddress()->GetAddress(), in OnReceive()
446 GetRecord()->GetPseudoAddress()->GetAddress())); in OnReceive()
460 GetRecord()->GetPseudoAddress()->GetAddress())); in OnReceive()
483 GetRecord()->GetPseudoAddress()->GetAddress())); in OnReceive()
555 GetRecord()->GetPseudoAddress()->GetAddress())); in OnReceive()
[all …]
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/controller/
H A Dle_advertiser.cc43 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()
H A Dlink_layer_controller.cc134 opcode, args, connections_.GetAddress(handle).GetAddress(), in SendCommandToRemoteByHandle()
138 opcode, args, connections_.GetAddress(handle).GetAddress()); in SendCommandToRemoteByHandle()
210 advertiser.GetAddress().GetAddress() == destination_address) { in IncomingPacket()
991 connections_.GetAddress(acl_handle).GetAddress(), remote_handle, in HandleIso()
2217 properties_.GetAddress(), remote.GetAddress(), reason); in Disconnect()
2687 own_address.GetAddress(), peer_address.GetAddress(), in LeCreateCis()
2713 connections_.GetAddress(acl_handle).GetAddress(), in LeAcceptCisRequest()
2749 connections_.GetAddress(acl_handle).GetAddress(), in LeRejectCisRequest()
2802 connections_.GetAddress(handle).GetAddress(), rand, ediv, ltk)); in HandleLeEnableEncryption()
2839 connections_.GetAddress(handle).GetAddress(), in LeLongTermKeyRequestReply()
[all …]
H A Dacl_connection_handler.cc76 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()
H A Dacl_connection.h40 AddressWithType GetAddress() const;
H A Dacl_connection.cc30 AddressWithType AclConnection::GetAddress() const { return address_; } in GetAddress() function in test_vendor_lib::AclConnection
/aosp12/system/bt/gd/security/channel/
H A Dsecurity_manager_channel_unittest.cc264 hci_layer_->IncomingEvent(hci::IoCapabilityRequestBuilder::Create(device_.GetAddress())); in TEST_F()
315 hci_layer_->IncomingEvent(hci::PinCodeRequestBuilder::Create(device_.GetAddress())); in TEST_F()
339 auto packet = hci::PinCodeRequestNegativeReplyBuilder::Create(device_.GetAddress()); in TEST_F()
368 auto packet = hci::UserConfirmationRequestReplyBuilder::Create(device_.GetAddress()); in TEST_F()
406 auto packet = hci::RemoteOobDataRequestReplyBuilder::Create(device_.GetAddress(), c, r); in TEST_F()
465 hci_layer_->IncomingEvent(hci::LinkKeyRequestBuilder::Create(device_.GetAddress())); in TEST_F()
504 auto packet = hci::LinkKeyRequestReplyBuilder::Create(device_.GetAddress(), link_key); in TEST_F()
519 auto packet = hci::LinkKeyRequestNegativeReplyBuilder::Create(device_.GetAddress()); in TEST_F()
687 hci_layer_->IncomingEvent(hci::UserPasskeyRequestBuilder::Create(device_.GetAddress())); in TEST_F()
694 channel_->Connect(device_.GetAddress()); in TEST_F()
[all …]
/aosp12/system/bt/gd/security/
H A Dpairing_handler_le_legacy.cc144 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()
/aosp12/system/bt/gd/l2cap/classic/internal/
H A Dlink.cc320 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 …]
H A Dfixed_channel_impl_test.cc67 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()
/aosp12/art/libelffile/elf/
H A Delf_builder.h160 Elf_Addr GetAddress() const { in GetAddress() function
377 DCHECK_LE(section->GetAddress(), sym.st_value); in Add()
674 Elf_Word oatlastword_address = text_.GetAddress() + text_size - 4; in PrepareDynamicSection()
686 data_bimg_rel_ro_.GetAddress(), in PrepareDynamicSection()
692 data_bimg_rel_ro_.GetAddress() + data_bimg_rel_ro_size - 4; in PrepareDynamicSection()
716 Elf_Word bss_roots_address = bss_.GetAddress() + bss_roots_offset; in PrepareDynamicSection()
723 Elf_Word bsslastword_address = bss_.GetAddress() + bss_size - 4; in PrepareDynamicSection()
730 Elf_Word oatdexlastword_address = dex_.GetAddress() + dex_size - 4; in PrepareDynamicSection()
759 { .d_tag = DT_HASH, .d_un = { .d_ptr = hash_.GetAddress() }, }, in PrepareDynamicSection()
760 { .d_tag = DT_STRTAB, .d_un = { .d_ptr = dynstr_.GetAddress() }, }, in PrepareDynamicSection()
[all …]
/aosp12/system/bt/gd/storage/
H A Dadapter_config_test.cc37 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()
/aosp12/system/bt/gd/hci/acl_manager/
H A Dle_impl.h376 …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()
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()
560 PeerAddressType::RANDOM_DEVICE_OR_IDENTITY_ADDRESS, address_with_type.GetAddress()); in remove_device_from_resolving_list()
[all …]
/aosp12/system/bt/gd/security/record/
H A Dsecurity_record_storage_test.cc72 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()
H A Dsecurity_record_storage.cc54 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()
/aosp12/system/bt/profile/avrcp/
H A Dconnection_handler.cc115 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()
/aosp12/system/bt/gd/security/internal/
H A Dsecurity_manager_impl.cc46 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 …]
/aosp12/art/compiler/debug/
H A Delf_symtab_writer.h109 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
154 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
163 uint64_t dex_address = dex->GetAddress() + it.first /* offset within the section */; in WriteDebugSymbols()
/aosp12/system/bt/main/shim/
H A Dbtm_api.cc328 io_req_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()
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()
488 bluetooth::ToRawAddress(device.GetAddress())); in OnDeviceUnbonded()
491 bluetooth::ToRawAddress(device.GetAddress())); in OnDeviceUnbonded()
[all …]
H A Dl2c_api.cc122 device.GetAddress(), config_, psm_, in Connect()
175 auto address = bluetooth::ToRawAddress(device.GetAddress()); in on_channel_open()
356 auto bd_addr = bluetooth::ToRawAddress(remote.GetAddress()); in Enforce()
561 info_[remote.GetAddress()] = {handle, role, remote}; in OnLinkConnected()
562 btm_ble_connected(ToRawAddress(remote.GetAddress()), handle, in OnLinkConnected()
569 info_.erase(remote.GetAddress()); in OnLinkDisconnected()
577 auto bda = bluetooth::ToRawAddress(remote.GetAddress()); in OnReadRemoteVersionInformation()
648 auto bd_addr = bluetooth::ToRawAddress(remote.GetAddress()); in Enforce()
888 auto device = remote.GetAddress(); in on_channel_open()
1205 conn_addr = ToRawAddress(local.GetAddress()); in L2CA_ReadConnectionAddr()
[all …]
/aosp12/system/bt/gd/hci/
H A Dle_address_manager.cc64 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()
H A Daddress_with_type.h39 inline Address GetAddress() const { in GetAddress() function
119 …memcpy(reinterpret_cast<uint8_t*>(&int_addr), val.GetAddress().data(), bluetooth::hci::Address::kL…
/aosp12/system/bt/service/test/
H A Dadapter_unittest.cc226 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()
/aosp12/system/bt/gd/hci/facade/
H A Dle_initiator_address_facade.cc80 bluetooth_address->set_address(current.GetAddress().ToString()); in GetCurrentInitiatorAddress()
92 bluetooth_address->set_address(another.GetAddress().ToString()); in GetAnotherAddress()
/aosp12/system/bt/profile/avrcp/tests/
H A Davrcp_device_test.cc111 ASSERT_EQ(device.GetAddress(), RawAddress::kAny); in TEST_F()
183 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
227 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
261 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
320 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
374 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
595 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
1266 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
1274 EXPECT_CALL(vol_interface, DeviceConnected(test_device->GetAddress(), _)) in TEST_F()
1376 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
[all …]

1234