Home
last modified time | relevance | path

Searched refs:address_ (Results 1 – 25 of 27) sorted by relevance

12

/system/bt/gd/hci/
Daddress_with_type.h35 : address_(std::move(address)), address_type_(address_type) {} in AddressWithType()
37 …explicit AddressWithType() : address_(Address::kEmpty), address_type_(AddressType::PUBLIC_DEVICE_A… in AddressWithType()
40 return address_; in GetAddress()
49 …return address_type_ == hci::AddressType::RANDOM_DEVICE_ADDRESS && ((address_.data())[0] & 0xc0) =… in IsRpa()
58 prand[0] = address_.address[2]; in IsRpaThatMatchesIrk()
59 prand[1] = address_.address[1]; in IsRpaThatMatchesIrk()
60 prand[2] = address_.address[0]; in IsRpaThatMatchesIrk()
64 hash[0] = address_.address[5]; in IsRpaThatMatchesIrk()
65 hash[1] = address_.address[4]; in IsRpaThatMatchesIrk()
66 hash[2] = address_.address[3]; in IsRpaThatMatchesIrk()
[all …]
Dle_scanning_manager_test.cc387 Address::FromString("12:34:56:78:9a:bc", report.address_); in TEST_F()
414 Address::FromString("12:34:56:78:9a:bc", report.address_); in TEST_F()
533 Address::FromString("12:34:56:78:9a:bc", report.address_); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dle_advertiser.cc29 address_ = address; in Initialize()
43 address_ = AddressWithType(address_.GetAddress(), address_type); in InitializeExtended()
48 LOG_INFO("%s -> %s type = %hhx interval = %d ms", address_.ToString().c_str(), in InitializeExtended()
54 address_ = AddressWithType{}; in Clear()
65 LOG_INFO("set address %s", address_.ToString().c_str()); in SetAddress()
66 address_ = AddressWithType(address, address_.GetAddressType()); in SetAddress()
69 AddressWithType LeAdvertiser::GetAddress() const { return address_; } in GetAddress()
79 address_.ToString().c_str(), peer_address_.ToString().c_str(), type_, in Enable()
91 address_.ToString().c_str(), peer_address_.ToString().c_str(), type_, in EnableExtended()
116 address_.GetAddress(), peer_address_.GetAddress(), in GetAdvertisement()
[all …]
Dacl_connection.cc24 : address_(addr), own_address_(own_addr), type_(phy_type) {} in AclConnection()
30 AddressWithType AclConnection::GetAddress() const { return address_; } in GetAddress()
32 void AclConnection::SetAddress(AddressWithType address) { address_ = address; } in SetAddress()
Dacl_connection.h51 AddressWithType address_;
Dle_advertiser.h73 bluetooth::hci::AddressWithType address_{};
/system/bt/gd/security/test/
Dfake_security_interface.h27 : listener_(listener), address_(address) {} in FakeLinkSecurityInterface()
30 return address_; in GetRemoteAddress()
39 listener_->OnLinkDisconnected(address_); in Release()
42 listener_->OnLinkDisconnected(address_); in Disconnect()
50 hci::Address address_; variable
/system/bt/service/common/bluetooth/
Dremote_device_props.h35 void set_address(const std::string& address) { address_ = address; } in set_address()
38 const std::string& address() const { return address_; } in address()
46 std::string address_; variable
Dremote_device_props.cc31 address_(address), in RemoteDeviceProps()
/system/bt/btif/src/
Dbtif_profile_queue.cc52 : address_(address), uuid_(uuid), busy_(false), connect_cb_(connect_cb) {} in ConnectNode()
56 PRIVATE_ADDRESS(address_), uuid_, in ToString()
60 const RawAddress& address() const { return address_; } in address()
73 return connect_cb_(&address_, uuid_); in connect()
77 RawAddress address_; member in ConnectNode
/system/bt/service/common/android/bluetooth/
Dbluetooth_remote_device_props.cc36 status = parcel->writeString16(String16(address_.c_str(), address_.size())); in writeToParcel()
68 address_ = String8(address).string(); in readFromParcel()
/system/bt/gd/btaa/
Dattribution_processor.h48 const hci::Address address_; member
49 …WakeupDescriptor(Activity activity, const hci::Address address) : activity_(activity), address_(ad… in WakeupDescriptor()
/system/bt/gd/hci/acl_manager/
Dclassic_acl_connection.h36 return address_; in GetAddress()
81 Address address_;
Dclassic_acl_connection.cc32 …: acl_connection_interface_(acl_connection_interface), address_(address), connection_handle_(conne… in AclConnectionTracker()
112address_, connection_handle_, static_cast<uint8_t>(ErrorCode::SUCCESS), transmit_power_level); in OnReadTransmitPowerLevelComplete()
120address_, connection_handle_, static_cast<uint8_t>(ErrorCode::SUCCESS), failed_contact_counter); in OnReadFailedContactCounterComplete()
131 address_, connection_handle_, static_cast<uint8_t>(ErrorCode::SUCCESS), rssi); in OnReadRssiComplete()
319 Address address_; member in bluetooth::hci::acl_manager::AclConnectionTracker
342 : AclConnection(), acl_connection_interface_(nullptr), address_(Address::kEmpty) {} in ClassicAclConnection()
347 …ueue->GetUpEnd(), handle), acl_connection_interface_(acl_connection_interface), address_(address) { in ClassicAclConnection()
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc145 pending_le_pairing_.address_ = address; in CreateBondLe()
390 if (pending_le_pairing_.address_ == address) { in OnPairingPromptAccepted()
401 if (pending_le_pairing_.address_ == address) { in OnConfirmYesNo()
412 if (pending_le_pairing_.address_ == address) { in OnPasskeyEntry()
494 if (pending_le_pairing_.address_ == device) { in OnSmpCommandLe()
562 pending_le_pairing_.address_ = device; in OnSmpCommandLe()
582 if (pending_le_pairing_.address_ != channel->GetDevice()) { in OnConnectionOpenLe()
638 if (pending_le_pairing_.address_ != address) { in OnConnectionClosedLe()
660 …NotifyDeviceBondFailed(pending_le_pairing_.address_, PairingFailure("Connection establishment fail… in OnConnectionFailureLe()
695 LeFixedChannelEntry* stored_chan = FindStoredLeChannel(pending_le_pairing_.address_); in OnPairingFinished()
[all …]
Dsecurity_manager_impl.h280 hci::AddressWithType address_; member
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice_properties.h135 return address_; in GetAddress()
139 address_ = address; in SetAddress()
384 Address address_{};
Ddevice_properties.cc61 ASSERT(Address::FromString("BB:BB:BB:BB:BB:AD", address_)); in DeviceProperties()
/system/bt/profile/avrcp/
Ddevice.cc31 #define DEVICE_LOG(LEVEL) LOG(LEVEL) << address_.ToString() << " : "
32 #define DEVICE_VLOG(LEVEL) VLOG(LEVEL) << address_.ToString() << " : "
44 address_(bdaddr), in Device()
89 return address_ == a2dp_interface_->active_peer(); in IsActive()
93 return a2dp_interface_->is_peer_in_silence_mode(address_); in IsInSilenceMode()
489 << address_.ToString(); in PlaybackStatusNotificationResponse()
518 DEVICE_LOG(WARNING) << address_.ToString() in PlaybackPosNotificationResponse()
680 LOG(INFO) << "Setting " << d->address_.ToString() in MessageReceived()
682 d->media_interface_->SetActiveDevice(d->address_); in MessageReceived()
1482 out << d.address_.ToString(); in operator <<()
Ddevice.h76 const RawAddress& GetAddress() const { return address_; }; in GetAddress()
298 RawAddress address_; variable
/system/bt/service/
Dadapter.cc200 address_(kDefaultAddress), in AdapterImpl()
310 std::string GetAddress() const override { return address_.Get(); } in GetAddress()
550 address_.Set(address); in AdapterPropertiesCallback()
755 util::AtomicString address_; member in bluetooth::AdapterImpl
/system/bt/gd/hci/facade/
Dle_scanning_manager_facade.cc79 le_extended_advertising_report.address_ = address; in OnScanResult()
/system/bt/gd/btaa/linux_generic/
Dattribution_processor.cc124 wakeup_entry_builder.add_address(fb_builder->CreateString(it.entry.address_.ToString())); in Dump()
Dhci_processor.cc105 …btaa_hci_packets.push_back(BtaaHciPacket(Activity::CONNECT, key_and_address.address_, avg_byte_cou… in process_special_event()
/system/bt/main/test/
Dmain_shim_test.cc202 address_ = address; // ClassicAclConnection in MockClassicAclConnection()

12