/external/cronet/net/nqe/ |
D | network_id.cc | 16 NetworkID NetworkID::FromString(const std::string& network_id) { in FromString() 19 return NetworkID(NetworkChangeNotifier::CONNECTION_UNKNOWN, std::string(), in FromString() 25 return NetworkID(NetworkChangeNotifier::CONNECTION_UNKNOWN, std::string(), in FromString() 29 return NetworkID(static_cast<NetworkChangeNotifier::ConnectionType>( in FromString() 34 NetworkID::NetworkID(NetworkChangeNotifier::ConnectionType type, in NetworkID() function in net::nqe::internal::NetworkID 44 NetworkID::NetworkID(const NetworkID& other) = default; 46 NetworkID::~NetworkID() = default; 48 bool NetworkID::operator==(const NetworkID& other) const { in operator ==() 53 bool NetworkID::operator!=(const NetworkID& other) const { in operator !=() 57 NetworkID& NetworkID::operator=(const NetworkID& other) = default; [all …]
|
D | network_id.h | 21 struct NET_EXPORT_PRIVATE NetworkID { struct 22 static NetworkID FromString(const std::string& network_id); 24 NetworkID(NetworkChangeNotifier::ConnectionType type, 27 NetworkID(const NetworkID& other); 28 ~NetworkID(); 30 bool operator==(const NetworkID& other) const; 32 bool operator!=(const NetworkID& other) const; 34 NetworkID& operator=(const NetworkID& other); argument 37 bool operator<(const NetworkID& other) const;
|
D | network_quality_store_unittest.cc | 38 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 48 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 60 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 76 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_3G, in TEST() 92 nqe::internal::NetworkID network_id( in TEST() 106 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 117 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 133 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 158 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 170 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() [all …]
|
D | network_quality_store.h | 37 const nqe::internal::NetworkID& network_id, 54 void Add(const nqe::internal::NetworkID& network_id, 61 const nqe::internal::NetworkID& network_id, 90 typedef std::map<nqe::internal::NetworkID,
|
D | network_qualities_prefs_manager.cc | 38 nqe::internal::NetworkID network_id = in ConvertDictionaryValueToMap() 39 nqe::internal::NetworkID::FromString(it.first); in ConvertDictionaryValueToMap() 108 const nqe::internal::NetworkID& network_id, in OnChangeInCachedNetworkQuality() 136 if (nqe::internal::NetworkID::FromString(it.first) == network_id) in OnChangeInCachedNetworkQuality()
|
D | network_id_unittest.cc | 18 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST() 21 EXPECT_EQ(network_id, NetworkID::FromString(serialized)); in TEST()
|
D | network_qualities_prefs_manager.h | 24 typedef std::map<nqe::internal::NetworkID, nqe::internal::CachedNetworkQuality> 80 const nqe::internal::NetworkID& network_id,
|
D | network_quality_estimator.h | 250 const std::map<nqe::internal::NetworkID, 456 virtual nqe::internal::NetworkID GetCurrentNetworkID() const; 505 const nqe::internal::NetworkID& network_id); 544 nqe::internal::NetworkID current_network_id_;
|
D | network_qualities_prefs_manager_unittest.cc | 140 const nqe::internal::NetworkID network_id( in TEST_F() 229 std::map<nqe::internal::NetworkID, nqe::internal::CachedNetworkQuality> in TEST_F() 234 for (std::map<nqe::internal::NetworkID, in TEST_F()
|
D | network_quality_store.cc | 29 const nqe::internal::NetworkID& network_id, in Add() 65 const nqe::internal::NetworkID& network_id, in GetById()
|
D | network_quality_estimator.cc | 81 nqe::internal::NetworkID DoGetCurrentNetworkID( in DoGetCurrentNetworkID() 83 nqe::internal::NetworkID network_id( in DoGetCurrentNetworkID() 97 current_network_id_(nqe::internal::NetworkID( in NetworkQualityEstimator() 497 base::OnceCallback<void(const nqe::internal::NetworkID&)> in GatherEstimatesForNextConnectionType() 515 const nqe::internal::NetworkID& network_id) { in ContinueGatherEstimatesForNextConnectionType() 939 nqe::internal::NetworkID NetworkQualityEstimator::GetCurrentNetworkID() const { in GetCurrentNetworkID() 1284 const std::map<nqe::internal::NetworkID, in OnPrefsRead() argument
|
D | network_quality_estimator_unittest.cc | 2057 const nqe::internal::NetworkID& network_id, in OnChangeInCachedNetworkQuality() 2070 nqe::internal::NetworkID network_id() const { return network_id_; } in network_id() 2073 nqe::internal::NetworkID network_id_; 2259 std::map<nqe::internal::NetworkID, nqe::internal::CachedNetworkQuality> in TEST_F() 2261 read_prefs[nqe::internal::NetworkID(NetworkChangeNotifier::CONNECTION_WIFI, in TEST_F() 2264 read_prefs[nqe::internal::NetworkID(NetworkChangeNotifier::CONNECTION_WIFI, in TEST_F() 2267 read_prefs[nqe::internal::NetworkID(NetworkChangeNotifier::CONNECTION_4G, in TEST_F() 2318 read_prefs[nqe::internal::NetworkID( in TEST_F() 2344 read_prefs[nqe::internal::NetworkID( in TEST_F() 2364 std::map<nqe::internal::NetworkID, nqe::internal::CachedNetworkQuality> in TEST_F() [all …]
|
D | network_quality_estimator_test_util.cc | 309 nqe::internal::NetworkID TestNetworkQualityEstimator::GetCurrentNetworkID() in GetCurrentNetworkID() 311 return nqe::internal::NetworkID(current_network_type_, current_network_id_, in GetCurrentNetworkID()
|
D | network_quality_estimator_test_util.h | 238 nqe::internal::NetworkID GetCurrentNetworkID() const override;
|