Lines Matching refs:can_connect
1448 bool can_connect = true; in ProcessEvent() local
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()
1458 if (!can_connect) { in ProcessEvent()
1489 bool can_connect = true; in ProcessEvent() local
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()
1498 if (!can_connect) { in ProcessEvent()
1539 bool can_connect = true; in ProcessEvent() local
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()
1566 if (!can_connect) { in ProcessEvent()