• Home
  • Raw
  • Download

Lines Matching refs:bdaddr

46 bool IsAbsoluteVolumeEnabled(const RawAddress* bdaddr) {  in IsAbsoluteVolumeEnabled()  argument
53 if (interop_match_addr(INTEROP_DISABLE_ABSOLUTE_VOLUME, bdaddr)) { in IsAbsoluteVolumeEnabled()
111 bool ConnectionHandler::ConnectDevice(const RawAddress& bdaddr) { in ConnectDevice() argument
112 LOG(INFO) << "Attempting to connect to device " << bdaddr; in ConnectDevice()
115 if (bdaddr == pair.second->GetAddress()) { in ConnectDevice()
116 LOG(WARNING) << "Already connected to device with address " << bdaddr; in ConnectDevice()
122 const RawAddress& bdaddr, uint16_t status, in ConnectDevice()
133 instance_->feature_map_.emplace(bdaddr, features); in ConnectDevice()
134 instance_->AvrcpConnect(true, bdaddr); in ConnectDevice()
138 return SdpLookup(bdaddr, base::Bind(connection_lambda, this, bdaddr), false); in ConnectDevice()
141 bool ConnectionHandler::DisconnectDevice(const RawAddress& bdaddr) { in DisconnectDevice() argument
143 if (bdaddr == it->second->GetAddress()) { in DisconnectDevice()
152 void ConnectionHandler::SetBipClientStatus(const RawAddress& bdaddr, in SetBipClientStatus() argument
155 if (bdaddr == it->second->GetAddress()) { in SetBipClientStatus()
171 bool ConnectionHandler::SdpLookup(const RawAddress& bdaddr, SdpCallback cb, in SdpLookup() argument
189 return avrc_->FindService(UUID_SERVCLASS_AV_REMOTE_CONTROL, bdaddr, in SdpLookup()
192 weak_ptr_factory_.GetWeakPtr(), bdaddr, in SdpLookup()
196 bool ConnectionHandler::AvrcpConnect(bool initiator, const RawAddress& bdaddr) { in AvrcpConnect() argument
197 LOG(INFO) << "Connect to device " << bdaddr.ToString(); in AvrcpConnect()
218 uint16_t status = avrc_->Open(&handle, &open_cb, bdaddr); in AvrcpConnect()
423 void ConnectionHandler::SdpCb(RawAddress bdaddr, SdpCallback cb, in SdpCb() argument
430 SdpLookup(bdaddr, cb, true); in SdpCb()
449 LOG(INFO) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
458 VLOG(1) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
464 VLOG(1) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
478 VLOG(1) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
480 if (IsAbsoluteVolumeEnabled(&bdaddr)) { in SdpCb()
485 VLOG(1) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
497 VLOG(1) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
503 VLOG(1) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
519 VLOG(1) << __PRETTY_FUNCTION__ << ": Device " << bdaddr.ToString() in SdpCb()
521 if (IsAbsoluteVolumeEnabled(&bdaddr)) { in SdpCb()