Lines Matching refs:active_peer_
407 const RawAddress& ActivePeer() const { return active_peer_; } in ActivePeer()
468 if (active_peer_ == peer_address) { in SetActivePeer()
479 btif_a2dp_source_end_session(active_peer_); in SetActivePeer()
481 active_peer_ = peer_address; in SetActivePeer()
494 if (!btif_a2dp_source_restart_session(active_peer_, peer_address, in SetActivePeer()
499 active_peer_ = peer_address; in SetActivePeer()
514 if (!peer_address.IsEmpty() && active_peer_ == peer_address) { in UpdateCodecConfig()
515 btif_a2dp_source_end_session(active_peer_); in UpdateCodecConfig()
537 RawAddress active_peer_; member in BtifAvSource
594 const RawAddress& ActivePeer() const { return active_peer_; } in ActivePeer()
607 if (active_peer_ == peer_address) { in SetActivePeer()
618 btif_a2dp_sink_end_session(active_peer_); in SetActivePeer()
620 active_peer_ = peer_address; in SetActivePeer()
633 if (!btif_a2dp_sink_restart_session(active_peer_, peer_address, in SetActivePeer()
638 active_peer_ = peer_address; in SetActivePeer()
655 RawAddress active_peer_; member in BtifAvSink
1287 if (active_peer_.IsEmpty()) { in FindOrCreatePeer()
1288 active_peer_ = peer_address; in FindOrCreatePeer()