Home
last modified time | relevance | path

Searched refs:read_prefs (Results 1 – 5 of 5) sorted by relevance

/external/cronet/net/nqe/
Dnetwork_qualities_prefs_manager.cc36 ParsedPrefs read_prefs; in ConvertDictionaryValueToMap() local
49 read_prefs[network_id] = cached_network_quality; in ConvertDictionaryValueToMap()
51 return read_prefs; in ConvertDictionaryValueToMap()
Dnetwork_qualities_prefs_manager_unittest.cc230 read_prefs = manager.ForceReadPrefsForTesting(); in TEST_F() local
236 read_prefs.begin(); in TEST_F()
237 it != read_prefs.end(); ++it) { in TEST_F()
255 estimator.OnPrefsRead(read_prefs); in TEST_F()
Dnetwork_quality_estimator_unittest.cc2260 read_prefs; in TEST_F() local
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()
2298 estimator.OnPrefsRead(read_prefs); in TEST_F()
2299 histogram_tester.ExpectUniqueSample("NQE.Prefs.ReadSize", read_prefs.size(), in TEST_F()
2318 read_prefs[nqe::internal::NetworkID( in TEST_F()
2344 read_prefs[nqe::internal::NetworkID( in TEST_F()
2365 read_prefs; in TEST_F() local
2366 read_prefs[nqe::internal::NetworkID(NetworkChangeNotifier::CONNECTION_WIFI, in TEST_F()
[all …]
Dnetwork_quality_estimator.cc1285 nqe::internal::CachedNetworkQuality> read_prefs) { in OnPrefsRead() argument
1288 UMA_HISTOGRAM_COUNTS_1M("NQE.Prefs.ReadSize", read_prefs.size()); in OnPrefsRead()
1289 for (auto& it : read_prefs) { in OnPrefsRead()
Dnetwork_quality_estimator.h251 nqe::internal::CachedNetworkQuality> read_prefs);