Home
last modified time | relevance | path

Searched refs:NetworkID (Results 1 – 14 of 14) sorted by relevance

/external/cronet/net/nqe/
Dnetwork_id.cc16 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 …]
Dnetwork_id.h21 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;
Dnetwork_quality_store_unittest.cc38 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 …]
Dnetwork_quality_store.h37 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,
Dnetwork_qualities_prefs_manager.cc38 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()
Dnetwork_id_unittest.cc18 nqe::internal::NetworkID network_id(NetworkChangeNotifier::CONNECTION_2G, in TEST()
21 EXPECT_EQ(network_id, NetworkID::FromString(serialized)); in TEST()
Dnetwork_qualities_prefs_manager.h24 typedef std::map<nqe::internal::NetworkID, nqe::internal::CachedNetworkQuality>
80 const nqe::internal::NetworkID& network_id,
Dnetwork_quality_estimator.h250 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_;
Dnetwork_qualities_prefs_manager_unittest.cc140 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()
Dnetwork_quality_store.cc29 const nqe::internal::NetworkID& network_id, in Add()
65 const nqe::internal::NetworkID& network_id, in GetById()
Dnetwork_quality_estimator.cc81 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
Dnetwork_quality_estimator_unittest.cc2057 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 …]
Dnetwork_quality_estimator_test_util.cc309 nqe::internal::NetworkID TestNetworkQualityEstimator::GetCurrentNetworkID() in GetCurrentNetworkID()
311 return nqe::internal::NetworkID(current_network_type_, current_network_id_, in GetCurrentNetworkID()
Dnetwork_quality_estimator_test_util.h238 nqe::internal::NetworkID GetCurrentNetworkID() const override;