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()
691 BtaAvCoPeer* active_peer_; // The current active peer member in BtaAvCo
767 active_peer_ = nullptr; in Reset()
795 if (active_peer_ == nullptr || active_peer_->GetCodecs() == nullptr) { in GetActivePeerCurrentCodec()
798 return active_peer_->GetCodecs()->getCurrentCodecConfig(); in GetActivePeerCurrentCodec()
1304 if (active_peer_ == nullptr) { in ProcessOpen()
1305 active_peer_ = p_peer; in ProcessOpen()
1324 if (active_peer_ == p_peer) { in ProcessClose()
1325 active_peer_ = nullptr; in ProcessClose()
1385 if (ContentProtectEnabled() && (active_peer_ != nullptr) && in GetNextSourceDataPacket()
[all …]
/system/bt/btif/src/
Dbtif_av.cc403 const RawAddress& ActivePeer() const { return active_peer_; } in ActivePeer()
464 if (active_peer_ == peer_address) { in SetActivePeer()
475 btif_a2dp_source_end_session(active_peer_); in SetActivePeer()
477 active_peer_ = peer_address; in SetActivePeer()
490 if (!btif_a2dp_source_restart_session(active_peer_, peer_address, in SetActivePeer()
495 active_peer_ = peer_address; in SetActivePeer()
510 if (!peer_address.IsEmpty() && active_peer_ == peer_address) { in UpdateCodecConfig()
511 btif_a2dp_source_end_session(active_peer_); in UpdateCodecConfig()
533 RawAddress active_peer_; member in BtifAvSource
589 const RawAddress& ActivePeer() const { return active_peer_; } in ActivePeer()
[all …]