Lines Matching refs:PeerAddress
244 bool IsActivePeer() const { return (PeerAddress() == ActivePeerAddress()); } in IsActivePeer()
253 const RawAddress& PeerAddress() const { return peer_address_; } in PeerAddress() function in BtifAvPeer
484 LOG(ERROR) << __func__ << ": Error setting " << peer->PeerAddress() in SetActivePeer()
622 LOG(ERROR) << __func__ << ": Error setting " << peer->PeerAddress() in SetActivePeer()
937 LOG(FATAL) << __PRETTY_FUNCTION__ << ": A2DP peer " << PeerAddress() in ActivePeerAddress()
1090 if (peer->PeerAddress() == peer_address) { in AllowedToConnect()
1118 peer->PeerAddress().ToString().c_str(), peer->BtaHandle()); in DeleteIdlePeers()
1160 __PRETTY_FUNCTION__, peer->PeerAddress().ToString().c_str(), in BtaHandleRegistered()
1165 __PRETTY_FUNCTION__, peer->PeerAddress().ToString().c_str(), in BtaHandleRegistered()
1296 if (peer->PeerAddress() == peer_address) { in AllowedToConnect()
1324 peer->PeerAddress().ToString().c_str(), peer->BtaHandle()); in DeleteIdlePeers()
1365 __PRETTY_FUNCTION__, peer->PeerAddress().ToString().c_str(), in BtaHandleRegistered()
1370 __PRETTY_FUNCTION__, peer->PeerAddress().ToString().c_str(), in BtaHandleRegistered()
1379 peer_.PeerAddress().ToString().c_str()); in OnEnter()
1414 peer_.PeerAddress().ToString().c_str()); in OnExit()
1419 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1452 can_connect = btif_av_source.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1453 if (!can_connect) src_disconnect_sink(peer_.PeerAddress()); in ProcessEvent()
1455 can_connect = btif_av_sink.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1456 if (!can_connect) sink_disconnect_src(peer_.PeerAddress()); in ProcessEvent()
1462 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str()); in ProcessEvent()
1468 btif_av_query_mandatory_codec_priority(peer_.PeerAddress()); in ProcessEvent()
1469 BTA_AvOpen(peer_.PeerAddress(), peer_.BtaHandle(), true, in ProcessEvent()
1486 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1492 can_connect = btif_av_source.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1493 if (!can_connect) src_disconnect_sink(peer_.PeerAddress()); in ProcessEvent()
1495 can_connect = btif_av_sink.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1496 if (!can_connect) sink_disconnect_src(peer_.PeerAddress()); in ProcessEvent()
1502 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str()); in ProcessEvent()
1542 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1555 can_connect = btif_av_source.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1556 if (!can_connect) src_disconnect_sink(peer_.PeerAddress()); in ProcessEvent()
1558 can_connect = btif_av_sink.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1559 if (!can_connect) sink_disconnect_src(peer_.PeerAddress()); in ProcessEvent()
1570 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str()); in ProcessEvent()
1573 btif_report_connection_state(peer_.PeerAddress(), state); in ProcessEvent()
1603 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1615 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1617 btif_a2dp_on_offload_started(peer_.PeerAddress(), BTA_AV_FAIL); in ProcessEvent()
1623 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1633 peer_.PeerAddress().ToString().c_str()); in OnEnter()
1636 btif_report_connection_state(peer_.PeerAddress(), in OnEnter()
1642 peer_.PeerAddress().ToString().c_str()); in OnExit()
1648 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1664 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1666 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
1675 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1678 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
1693 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1705 if (btif_rc_is_connected_peer(peer_.PeerAddress())) { in ProcessEvent()
1710 peer_.PeerAddress().ToString().c_str()); in ProcessEvent()
1712 btif_rc_get_connected_peer_handle(peer_.PeerAddress()); in ProcessEvent()
1722 btif_report_connection_state(peer_.PeerAddress(), state); in ProcessEvent()
1756 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1767 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1774 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1776 btif_a2dp_on_offload_started(peer_.PeerAddress(), BTA_AV_FAIL); in ProcessEvent()
1781 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
1791 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
1804 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1813 peer_.PeerAddress().ToString().c_str()); in OnEnter()
1826 if (!btif_av_sink.SetActivePeer(peer_.PeerAddress(), in OnEnter()
1829 peer_.PeerAddress().ToString().c_str()); in OnEnter()
1836 peer_.PeerAddress().ToString().c_str()); in OnExit()
1846 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1856 peer_.PeerAddress().ToString().c_str()); in ProcessEvent()
1868 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1879 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
1894 << peer_.PeerAddress() in ProcessEvent()
1899 << peer_.PeerAddress() in ProcessEvent()
1906 if (btif_a2dp_on_started(peer_.PeerAddress(), &p_av->start)) { in ProcessEvent()
1922 btif_av_source_dispatch_sm_event(peer_.PeerAddress(), in ProcessEvent()
1936 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
1949 peer_.PeerAddress().ToString().c_str()); in ProcessEvent()
1955 btif_a2dp_on_started(peer_.PeerAddress(), &av_start); in ProcessEvent()
1962 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
1969 LOG(WARNING) << __PRETTY_FUNCTION__ << ": Peer " << peer_.PeerAddress() in ProcessEvent()
1972 LOG(ERROR) << __PRETTY_FUNCTION__ << ": Peer " << peer_.PeerAddress() in ProcessEvent()
1978 src_disconnect_sink(peer_.PeerAddress()); in ProcessEvent()
1980 sink_disconnect_src(peer_.PeerAddress()); in ProcessEvent()
1986 LOG(INFO) << __PRETTY_FUNCTION__ << " : Peer " << peer_.PeerAddress() in ProcessEvent()
1990 btif_a2dp_source_start_session(peer_.PeerAddress(), in ProcessEvent()
1994 LOG(INFO) << __PRETTY_FUNCTION__ << " : Peer " << peer_.PeerAddress() in ProcessEvent()
2004 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2012 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2014 btif_a2dp_on_offload_started(peer_.PeerAddress(), BTA_AV_FAIL); in ProcessEvent()
2021 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str()); in ProcessEvent()
2031 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2040 peer_.PeerAddress().ToString().c_str()); in OnEnter()
2049 btif_report_audio_state(peer_.PeerAddress(), BTAV_AUDIO_STATE_STARTED); in OnEnter()
2054 peer_.PeerAddress().ToString().c_str()); in OnExit()
2062 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2073 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2077 if (peer_.IsSink()) btif_a2dp_on_started(peer_.PeerAddress(), nullptr); in ProcessEvent()
2084 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2112 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2123 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
2132 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2165 btif_report_audio_state(peer_.PeerAddress(), state); in ProcessEvent()
2172 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2185 btif_report_audio_state(peer_.PeerAddress(), BTAV_AUDIO_STATE_STOPPED); in ProcessEvent()
2195 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2207 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
2218 btif_a2dp_on_offload_started(peer_.PeerAddress(), p_av->status); in ProcessEvent()
2226 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2236 peer_.PeerAddress().ToString().c_str()); in OnEnter()
2251 peer_.PeerAddress().ToString().c_str()); in OnExit()
2257 __PRETTY_FUNCTION__, peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2276 btif_report_connection_state(peer_.PeerAddress(), in ProcessEvent()
2295 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2297 btif_a2dp_on_offload_started(peer_.PeerAddress(), BTA_AV_FAIL); in ProcessEvent()
2303 peer_.PeerAddress().ToString().c_str(), in ProcessEvent()
2319 peer->PeerAddress().ToString().c_str()); in btif_av_source_initiate_av_open_timer_timeout()
2322 if (!btif_rc_is_connected_peer(peer->PeerAddress())) { in btif_av_source_initiate_av_open_timer_timeout()
2324 peer->PeerAddress().ToString().c_str()); in btif_av_source_initiate_av_open_timer_timeout()
2330 btif_av_source.FindPeer(peer->PeerAddress()) == peer) { in btif_av_source_initiate_av_open_timer_timeout()
2332 peer->PeerAddress().ToString().c_str()); in btif_av_source_initiate_av_open_timer_timeout()
2333 btif_av_source_dispatch_sm_event(peer->PeerAddress(), in btif_av_source_initiate_av_open_timer_timeout()
2346 peer->PeerAddress().ToString().c_str()); in btif_av_sink_initiate_av_open_timer_timeout()
2349 if (!btif_rc_is_connected_peer(peer->PeerAddress())) { in btif_av_sink_initiate_av_open_timer_timeout()
2351 peer->PeerAddress().ToString().c_str()); in btif_av_sink_initiate_av_open_timer_timeout()
2357 btif_av_sink.FindPeer(peer->PeerAddress()) == peer) { in btif_av_sink_initiate_av_open_timer_timeout()
2359 peer->PeerAddress().ToString().c_str()); in btif_av_sink_initiate_av_open_timer_timeout()
2360 btif_av_sink_dispatch_sm_event(peer->PeerAddress(), in btif_av_sink_initiate_av_open_timer_timeout()
3030 btif_av_source_dispatch_sm_event(peer->PeerAddress(), event); in src_do_suspend_in_main_thread()
3088 peer->PeerAddress().ToString().c_str(), state, in btif_av_stream_ready()
3117 peer->PeerAddress().ToString().c_str(), state, in btif_av_stream_started_ready()
3228 peer->PeerAddress().ToString().c_str(), in btif_av_is_connected()
3242 peer->PeerAddress().ToString().c_str(), in btif_av_get_peer_sep()
3255 peer->PeerAddress().ToString().c_str(), in btif_av_clear_remote_suspend_flag()
3340 dprintf(fd, " Peer: %s\n", peer.PeerAddress().ToString().c_str()); in btif_debug_av_peer_dump()