Home
last modified time | relevance | path

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

/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_report.h28address_(advertisement.address_), address_type_(advertisement.address_type_), rssi_(advertisement.… in LeReport()
31 : report_type_(ReportType::DIRECTED_ADVERTISING_EVENT), address_(advertisement.address_), in LeReport()
34 : report_type_(ReportType::EXTENDED_ADVERTISING_EVENT), address_(advertisement.address_), in LeReport()
51 const Address address_{};
Dle_scanning_manager_test.cc320 Address::FromString("12:34:56:78:9a:bc", report.address_); in TEST_F()
347 Address::FromString("12:34:56:78:9a:bc", report.address_); in TEST_F()
377 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_{};
Dlink_layer_controller.cc643 responses.back().address_ = inquiry_response.GetSourceAddress(); in IncomingInquiryResponsePacket()
/system/bt/gd/security/test/
Dfake_security_interface.h27 : listener_(listener), address_(address) {} in FakeLinkSecurityInterface()
30 return address_; in GetRemoteAddress()
36 listener_->OnLinkDisconnected(address_); in Release()
39 listener_->OnLinkDisconnected(address_); in Disconnect()
44 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.cc51 : address_(address), uuid_(uuid), busy_(false), connect_cb_(connect_cb) {} in ConnectNode()
55 address_.ToString().c_str(), uuid_, in ToString()
59 const RawAddress& address() const { return address_; } in address()
72 return connect_cb_(&address_, uuid_); in connect()
76 RawAddress address_; member in ConnectNode
/system/bt/gd/hci/facade/
Dle_scanning_manager_facade.cc76 le_advertising_report.address_ = report->address_; in on_advertisements()
93 le_extended_advertising_report.address_ = report->address_; in on_advertisements()
109 le_directed_advertising_report.address_ = report->address_; in on_advertisements()
/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/hci/acl_manager/
Dclassic_acl_connection.h36 return address_; in GetAddress()
79 Address address_; variable
Dclassic_acl_connection.cc301 : AclConnection(), acl_connection_interface_(nullptr), address_(Address::kEmpty) {} in ClassicAclConnection()
306 …ueue->GetUpEnd(), handle), acl_connection_interface_(acl_connection_interface), address_(address) { in ClassicAclConnection()
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc110 pending_le_pairing_.address_ = address; in CreateBondLe()
323 if (pending_le_pairing_.address_ == address) { in OnPairingPromptAccepted()
334 if (pending_le_pairing_.address_ == address) { in OnConfirmYesNo()
345 if (pending_le_pairing_.address_ == address) { in OnPasskeyEntry()
415 if (pending_le_pairing_.address_ == device) { in OnSmpCommandLe()
481 pending_le_pairing_.address_ = device; in OnSmpCommandLe()
501 if (pending_le_pairing_.address_ != channel->GetDevice()) { in OnConnectionOpenLe()
555 if (pending_le_pairing_.address_ != address) { in OnConnectionClosedLe()
577 …NotifyDeviceBondFailed(pending_le_pairing_.address_, PairingFailure("Connection establishment fail… in OnConnectionFailureLe()
606 LeFixedChannelEntry* stored_chan = FindStoredLeChannel(pending_le_pairing_.address_); in OnPairingFinished()
[all …]
Dsecurity_manager_impl.h245 hci::AddressWithType address_; member
/system/bt/gd/shim/
Dl2cap.cc90 address_(channel_->GetDevice().GetAddress()), in ConnectionInterface()
153 address_.ToString().c_str()); in OnConnectionClosed()
170 return address_; in GetRemoteAddress()
181 const hci::Address address_; member in bluetooth::shim::ConnectionInterface
338 address_(address), in PendingConnection()
344 …LOG_DEBUG("Local initiated connection is open to device:%s for psm:%hd", address_.ToString().c_str… in OnConnectionOpen()
346address_ == channel->GetDevice().GetAddress(), " Expected remote device does not match actual remo… in OnConnectionOpen()
351 LOG_DEBUG("Connection failed to device:%s for psm:%hd", address_.ToString().c_str(), psm_); in OnConnectionFailure()
380 return address_.ToString() + "." + std::to_string(psm_); in ToString()
385 const hci::Address address_; member in bluetooth::shim::PendingConnection
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice_properties.h88 return address_; in GetAddress()
92 address_ = address; in SetAddress()
319 Address address_{};
Ddevice_properties.cc62 ASSERT(Address::FromString("BB:BB:BB:BB:BB:AD", address_)); in DeviceProperties()
/system/bt/profile/avrcp/
Ddevice.cc32 #define DEVICE_LOG(LEVEL) LOG(LEVEL) << address_.ToString() << " : "
33 #define DEVICE_VLOG(LEVEL) VLOG(LEVEL) << address_.ToString() << " : "
45 address_(bdaddr), in Device()
71 return address_ == a2dp_interface_->active_peer(); in IsActive()
75 return a2dp_interface_->is_peer_in_silence_mode(address_); in IsInSilenceMode()
470 << address_.ToString(); in PlaybackStatusNotificationResponse()
499 DEVICE_LOG(WARNING) << address_.ToString() in PlaybackPosNotificationResponse()
658 LOG(INFO) << "Setting " << d->address_.ToString() in MessageReceived()
660 d->media_interface_->SetActiveDevice(d->address_); in MessageReceived()
1430 out << d.address_.ToString(); in operator <<()
Ddevice.h76 const RawAddress& GetAddress() const { return address_; }; in GetAddress()
288 RawAddress address_; variable
/system/bt/service/
Dadapter.cc199 address_(kDefaultAddress), in AdapterImpl()
309 std::string GetAddress() const override { return address_.Get(); } in GetAddress()
549 address_.Set(address); in AdapterPropertiesCallback()
751 util::AtomicString address_; member in bluetooth::AdapterImpl
/system/bt/main/shim/
Dbtm.cc212 RawAddress raw_address = ToRawAddress(le_report->address_); in on_advertisements()
225 __func__, le_report->address_.ToString().c_str()); in on_advertisements()
240 RawAddress raw_address = ToRawAddress(le_report->address_); in on_advertisements()
290 ToRawAddress(response.address_), in OnInquiryResultWithRssi()