Searched refs:CompareNetworks (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/rtc_base/ |
D | network_unittest.cc | 1596 TEST(CompareNetworks, IrreflexivityTest) { in TEST() argument 1600 EXPECT_FALSE(webrtc_network_internal::CompareNetworks(network, network)); in TEST() 1603 TEST(CompareNetworks, AsymmetryTest) { in TEST() argument 1609 EXPECT_TRUE(webrtc_network_internal::CompareNetworks(network_a, network_b)); in TEST() 1610 EXPECT_FALSE(webrtc_network_internal::CompareNetworks(network_b, network_a)); in TEST() 1616 EXPECT_TRUE(webrtc_network_internal::CompareNetworks(network_c, network_d)); in TEST() 1617 EXPECT_FALSE(webrtc_network_internal::CompareNetworks(network_d, network_c)); in TEST() 1620 TEST(CompareNetworks, TransitivityTest) { in TEST() argument 1628 EXPECT_TRUE(webrtc_network_internal::CompareNetworks(network_a, network_b)); in TEST() 1629 EXPECT_TRUE(webrtc_network_internal::CompareNetworks(network_b, network_c)); in TEST() [all …]
|
D | network.h | 57 bool CompareNetworks(const std::unique_ptr<Network>& a,
|
D | network.cc | 210 bool CompareNetworks(const std::unique_ptr<Network>& a, in CompareNetworks() function 376 absl::c_sort(new_networks, rtc::webrtc_network_internal::CompareNetworks); in MergeNetworkList()
|