Lines Matching refs:can_connect
1455 bool can_connect = true; in ProcessEvent() local
1459 can_connect = btif_av_source.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1460 if (!can_connect) src_disconnect_sink(peer_.PeerAddress()); in ProcessEvent()
1462 can_connect = btif_av_sink.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1463 if (!can_connect) sink_disconnect_src(peer_.PeerAddress()); in ProcessEvent()
1465 if (!can_connect) { in ProcessEvent()
1496 bool can_connect = true; in ProcessEvent() local
1499 can_connect = btif_av_source.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1500 if (!can_connect) src_disconnect_sink(peer_.PeerAddress()); in ProcessEvent()
1502 can_connect = btif_av_sink.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1503 if (!can_connect) sink_disconnect_src(peer_.PeerAddress()); in ProcessEvent()
1505 if (!can_connect) { in ProcessEvent()
1546 bool can_connect = true; in ProcessEvent() local
1562 can_connect = btif_av_source.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1563 if (!can_connect) src_disconnect_sink(peer_.PeerAddress()); in ProcessEvent()
1565 can_connect = btif_av_sink.AllowedToConnect(peer_.PeerAddress()); in ProcessEvent()
1566 if (!can_connect) sink_disconnect_src(peer_.PeerAddress()); in ProcessEvent()
1573 if (!can_connect) { in ProcessEvent()