Home
last modified time | relevance | path

Searched refs:GetAddressType (Results 1 – 23 of 23) sorted by relevance

/system/bt/gd/security/
Dpairing_handler_le_legacy.cc143 (uint8_t)i.my_connection_address.GetAddressType(), in DoLegacyStage2()
145 (uint8_t)i.remote_connection_address.GetAddressType(), in DoLegacyStage2()
177 (uint8_t)i.my_connection_address.GetAddressType(), in DoLegacyStage2()
179 (uint8_t)i.remote_connection_address.GetAddressType(), in DoLegacyStage2()
199 (uint8_t)i.remote_connection_address.GetAddressType(), in DoLegacyStage2()
201 (uint8_t)i.my_connection_address.GetAddressType(), in DoLegacyStage2()
226 (uint8_t)i.remote_connection_address.GetAddressType(), in DoLegacyStage2()
228 (uint8_t)i.my_connection_address.GetAddressType(), in DoLegacyStage2()
Dpairing_handler_le_secure_connections.cc148 a[6] = (uint8_t)i.my_connection_address.GetAddressType(); in DoSecureConnectionsStage2()
150 b[6] = (uint8_t)i.remote_connection_address.GetAddressType(); in DoSecureConnectionsStage2()
153 a[6] = (uint8_t)i.remote_connection_address.GetAddressType(); in DoSecureConnectionsStage2()
155 b[6] = (uint8_t)i.my_connection_address.GetAddressType(); in DoSecureConnectionsStage2()
Dpairing_handler_le_unittest.cc241 b[6] = (uint8_t)initial_informations.remote_connection_address.GetAddressType(); in TEST_F()
243 a[6] = (uint8_t)initial_informations.my_connection_address.GetAddressType(); in TEST_F()
Dpairing_handler_le.cc347 static_cast<bluetooth::security::AddrType>(i.my_identity_address.GetAddressType()); in DistributeKeys()
Dfacade.cc48 ret.set_type(static_cast<facade::BluetoothAddressTypeEnum>(address.GetAddressType())); in ToFacadeAddressWithType()
/system/bt/gd/storage/
Dle_device_test.cc41 ASSERT_FALSE(device.GetAddressType()); in TEST()
49 ASSERT_FALSE(device.GetAddressType()); in TEST()
53 ASSERT_THAT(device.GetAddressType(), Optional(Eq(AddressType::RANDOM_DEVICE_ADDRESS))); in TEST()
/system/bt/main/shim/
Dhelpers.h86 if (address_with_type.GetAddressType() == in ToLegacyAddressWithType()
89 } else if (address_with_type.GetAddressType() == in ToLegacyAddressWithType()
92 } else if (address_with_type.GetAddressType() == in ToLegacyAddressWithType()
95 } else if (address_with_type.GetAddressType() == in ToLegacyAddressWithType()
100 static_cast<uint8_t>(address_with_type.GetAddressType())); in ToLegacyAddressWithType()
Dacl_api.cc105 *p_addr_type = static_cast<uint8_t>(local_address.GetAddressType()); in ACL_ReadConnectionAddress()
Dl2c_api.cc564 static_cast<tBLE_ADDR_TYPE>(remote.GetAddressType()), in OnLinkConnected()
1206 *p_addr_type = static_cast<uint8_t>(local.GetAddressType()); in L2CA_ReadConnectionAddr()
1219 *p_addr_type = static_cast<tBLE_ADDR_TYPE>(info.GetAddressType()); in L2CA_ReadRemoteConnectionAddr()
Dbtm_api.cc442 if (device.GetAddressType() == in OnDeviceBonded()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dle_advertiser.cc66 address_ = AddressWithType(address, address_.GetAddressType()); in SetAddress()
117 static_cast<model::packets::AddressType>(address_.GetAddressType()), in GetAdvertisement()
143 static_cast<model::packets::AddressType>(address_.GetAddressType()), in GetScanResponse()
Dlink_layer_controller.cc1097 auto address_type = advertisement.GetAddressType(); in IncomingLeAdvertisementPacket()
1227 address.GetAddressType(), address.GetAddress(), connection_interval, in HandleLeConnection()
1242 connect.GetAddressType())))) { in IncomingLeConnectPacket()
1247 connect.GetAddressType()); in IncomingLeConnectPacket()
1269 static_cast<bluetooth::hci::AddressType>(connect.GetAddressType())), in IncomingLeConnectPacket()
1278 static_cast<uint8_t>(my_address.GetAddressType())); in IncomingLeConnectPacket()
1289 static_cast<bluetooth::hci::AddressType>(complete.GetAddressType())), in IncomingLeConnectCompletePacket()
1405 static_cast<LeAdvertisement::AddressType>(scan_response.GetAddressType()); in IncomingLeScanResponsePacket()
Ddual_mode_controller.cc1872 uint8_t addr_type = static_cast<uint8_t>(command_view.GetAddressType()); in LeAddDeviceToConnectList()
1887 uint8_t addr_type = static_cast<uint8_t>(command_view.GetAddressType()); in LeRemoveDeviceFromConnectList()
/system/bt/gd/hci/
Daddress_with_type.h43 inline AddressType GetAddressType() const { in GetAddressType() function
120 bluetooth::hci::AddressType address_type = val.GetAddressType();
Dle_address_manager_test.cc338 ASSERT_EQ(ConnectListAddressType::RANDOM, packet_view.GetAddressType()); in TEST_F()
359 ASSERT_EQ(ConnectListAddressType::RANDOM, packet_view.GetAddressType()); in TEST_F()
451 ASSERT_EQ(ConnectListAddressType::RANDOM, packet_view.GetAddressType()); in TEST_F()
Dacl_manager_test.cc611 ASSERT_EQ(command_view.GetPeerAddressType(), empty_address_with_type.GetAddressType()); in SetUp()
/system/bt/gd/security/record/
Dsecurity_record_storage.cc47 mutation.Add(le_device.SetAddressType(record->identity_address_->GetAddressType())); in SetLeData()
53 peerid[16] = static_cast<uint8_t>(record->identity_address_->GetAddressType()); in SetLeData()
133 … : device.Le().GetAddressType(); in LoadSecurityRecords()
142 *device.Le().GetLegacyPseudoAddress(), *device.Le().GetAddressType()); in LoadSecurityRecords()
Dsecurity_record_storage_test.cc109 ASSERT_EQ(device.Le().GetAddressType(), identity_address.GetAddressType()); in TEST_F()
/system/bt/gd/hci/acl_manager/
Dle_impl.h367 AddressType address_type = address_with_type.GetAddressType(); in add_device_to_connect_list()
389 AddressType address_type = address_with_type.GetAddressType(); in add_device_to_resolving_list()
418 … std::forward_as_tuple(address_with_type.GetAddress(), address_with_type.GetAddressType()), in create_le_connection()
457 static_cast<OwnAddressType>(le_address_manager_->GetCurrentAddress().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()
523 AddressType address_type = address_with_type.GetAddressType(); in remove_device_from_connect_list()
545 AddressType address_type = address_with_type.GetAddressType(); in remove_device_from_resolving_list()
/system/bt/gd/hci/facade/
Dle_initiator_address_facade.cc81 …se->set_type(static_cast<::bluetooth::facade::BluetoothAddressTypeEnum>(current.GetAddressType())); in GetCurrentInitiatorAddress()
93 …se->set_type(static_cast<::bluetooth::facade::BluetoothAddressTypeEnum>(another.GetAddressType())); in GetAnotherAddress()
Dle_acl_manager_facade.cc236 address_with_type.GetAddressType(), in OnLeConnectSuccess()
251 …reason, 0, Role::CENTRAL, address.GetAddressType(), address.GetAddress(), 0, 0, 0, ClockAccuracy::… in OnLeConnectFail()
/system/bt/gd/security/test/
Dpairing_handler_le_pair_test.cc356 …central_result.distributed_keys.remote_identity_address->GetAddressType(), IDENTITY_ADDRESS_TYPE_P… in TEST_F()
362 …peripheral_result.distributed_keys.remote_identity_address->GetAddressType(), IDENTITY_ADDRESS_TYP… in TEST_F()
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc52 switch (record->GetPseudoAddress()->GetAddressType()) { in DispatchPairingHandler()
66 …ERT_LOG(false, "Pairing type %hhu not implemented!", record->GetPseudoAddress()->GetAddressType()); in DispatchPairingHandler()