/system/bt/gd/hci/ |
D | address_with_type.h | 35 : 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 …]
|
D | le_report.h | 28 …address_(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_{};
|
D | le_scanning_manager_test.cc | 320 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/ |
D | le_advertiser.cc | 29 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 …]
|
D | acl_connection.cc | 24 : 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()
|
D | acl_connection.h | 51 AddressWithType address_;
|
D | le_advertiser.h | 73 bluetooth::hci::AddressWithType address_{};
|
D | link_layer_controller.cc | 643 responses.back().address_ = inquiry_response.GetSourceAddress(); in IncomingInquiryResponsePacket()
|
/system/bt/gd/security/test/ |
D | fake_security_interface.h | 27 : 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/ |
D | remote_device_props.h | 35 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
|
D | remote_device_props.cc | 31 address_(address), in RemoteDeviceProps()
|
/system/bt/btif/src/ |
D | btif_profile_queue.cc | 51 : 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/ |
D | le_scanning_manager_facade.cc | 76 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/ |
D | bluetooth_remote_device_props.cc | 36 status = parcel->writeString16(String16(address_.c_str(), address_.size())); in writeToParcel() 68 address_ = String8(address).string(); in readFromParcel()
|
/system/bt/gd/hci/acl_manager/ |
D | classic_acl_connection.h | 36 return address_; in GetAddress() 79 Address address_; variable
|
D | classic_acl_connection.cc | 301 : 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/ |
D | security_manager_impl.cc | 110 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 …]
|
D | security_manager_impl.h | 245 hci::AddressWithType address_; member
|
/system/bt/gd/shim/ |
D | l2cap.cc | 90 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() 346 …address_ == 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/ |
D | device_properties.h | 88 return address_; in GetAddress() 92 address_ = address; in SetAddress() 319 Address address_{};
|
D | device_properties.cc | 62 ASSERT(Address::FromString("BB:BB:BB:BB:BB:AD", address_)); in DeviceProperties()
|
/system/bt/profile/avrcp/ |
D | device.cc | 32 #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 <<()
|
D | device.h | 76 const RawAddress& GetAddress() const { return address_; }; in GetAddress() 288 RawAddress address_; variable
|
/system/bt/service/ |
D | adapter.cc | 199 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/ |
D | btm.cc | 212 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()
|