Home
last modified time | relevance | path

Searched refs:active_peer_ (Results 1 – 2 of 2) sorted by relevance

/system/bt/btif/co/
Dbta_av_co.cc167 : active_peer_(nullptr), in BtaAvCo()
687 BtaAvCoPeer* active_peer_; // The current active peer member in BtaAvCo
763 active_peer_ = nullptr; in Reset()
791 if (active_peer_ == nullptr || active_peer_->GetCodecs() == nullptr) { in GetActivePeerCurrentCodec()
794 return active_peer_->GetCodecs()->getCurrentCodecConfig(); in GetActivePeerCurrentCodec()
1268 if (active_peer_ == nullptr) { in ProcessOpen()
1269 active_peer_ = p_peer; in ProcessOpen()
1288 if (active_peer_ == p_peer) { in ProcessClose()
1289 active_peer_ = nullptr; in ProcessClose()
1349 if (ContentProtectEnabled() && (active_peer_ != nullptr) && in GetNextSourceDataPacket()
[all …]
/system/bt/btif/src/
Dbtif_av.cc390 const RawAddress& ActivePeer() const { return active_peer_; } in ActivePeer()
451 if (active_peer_ == peer_address) { in SetActivePeer()
462 btif_a2dp_source_end_session(active_peer_); in SetActivePeer()
464 active_peer_ = peer_address; in SetActivePeer()
477 if (!btif_a2dp_source_restart_session(active_peer_, peer_address, in SetActivePeer()
482 active_peer_ = peer_address; in SetActivePeer()
498 ((active_peer_ == peer_address) && !active_peer_.IsEmpty()); in UpdateCodecConfig()
500 btif_a2dp_source_end_session(active_peer_); in UpdateCodecConfig()
509 btif_a2dp_source_start_session(active_peer_, in UpdateCodecConfig()
531 RawAddress active_peer_; member in BtifAvSource
[all …]