Searched refs:can_connect (Results 1 – 1 of 1) sorted by relevance
1448 bool can_connect = true; in ProcessEvent() local1452 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() local1492 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()[all …]