Home
last modified time | relevance | path

Searched refs:alternative_services (Results 1 – 6 of 6) sorted by relevance

/external/cronet/net/http/
Dhttp_server_properties.cc61 return !supports_spdy.has_value() && !alternative_services.has_value() && in empty()
68 alternative_services == other.alternative_services && in operator ==()
387 if (!server_info.second.alternative_services.has_value()) in GetAlternativeServiceInfoAsValue()
392 server_info.second.alternative_services.value()) { in GetAlternativeServiceInfoAsValue()
589 if (!map_it->second.alternative_services.has_value() || in OnExpireBrokenAlternativeService()
595 &map_it->second.alternative_services.value(); in OnExpireBrokenAlternativeService()
615 map_it->second.alternative_services.reset(); in OnExpireBrokenAlternativeService()
724 map_it->second.alternative_services.has_value()) { in GetAlternativeServiceInfosInternal()
726 &map_it->second.alternative_services.value(); in GetAlternativeServiceInfosInternal()
757 map_it->second.alternative_services.reset(); in GetAlternativeServiceInfosInternal()
[all …]
Dhttp_server_properties_manager.cc71 const absl::optional<AlternativeServiceInfoVector>& alternative_services, in GetAlternativeServiceToPersist() argument
78 if (!alternative_services) in GetAlternativeServiceToPersist()
82 for (const auto& alternative_service_info : alternative_services.value()) { in GetAlternativeServiceToPersist()
558 DCHECK(!server_info->alternative_services.has_value()); in ParseAlternativeServiceInfo()
587 server_info->alternative_services = alternative_service_info_vector; in ParseAlternativeServiceInfo()
728 AlternativeServiceInfoVector alternative_services = in WriteToPrefs() local
729 GetAlternativeServiceToPersist(server_info.alternative_services, key, in WriteToPrefs()
732 if (!alternative_services.empty()) in WriteToPrefs()
733 SaveAlternativeServiceToServerPrefs(alternative_services, server_dict); in WriteToPrefs()
Dhttp_server_properties_unittest.cc668 ->second.alternative_services = in TEST_F()
680 ->second.alternative_services = in TEST_F()
694 ASSERT_TRUE(map_it->second.alternative_services.has_value()); in TEST_F()
696 &map_it->second.alternative_services.value(); in TEST_F()
704 ASSERT_TRUE(map_it->second.alternative_services.has_value()); in TEST_F()
705 service_info = &map_it->second.alternative_services.value(); in TEST_F()
713 ASSERT_TRUE(map_it->second.alternative_services.has_value()); in TEST_F()
714 service_info = &map_it->second.alternative_services.value(); in TEST_F()
938 ->second.alternative_services = AlternativeServiceInfoVector( in TEST_F()
976 ->second.alternative_services = in TEST_F()
[all …]
Dhttp_server_properties_manager_unittest.cc1265 ASSERT_TRUE(server_info.alternative_services.has_value()); in TEST_F()
1267 server_info.alternative_services.value(); in TEST_F()
1300 server_info.alternative_services.reset(); in TEST_F()
1433 ASSERT_TRUE(server_info.alternative_services.has_value()); in TEST_F()
1435 server_info.alternative_services.value(); in TEST_F()
1446 server_info.alternative_services.reset(); in TEST_F()
1568 ASSERT_TRUE(server_info.alternative_services.has_value()); in TEST_F()
1570 server_info.alternative_services.value(); in TEST_F()
1599 server_info.alternative_services.reset(); in TEST_F()
3054 ASSERT_TRUE(server_info.alternative_services.has_value()); in TEST_F()
[all …]
Dhttp_server_properties.h159 absl::optional<AlternativeServiceInfoVector> alternative_services; member
/external/cronet/net/quic/
Dquic_network_transaction_unittest.cc3275 AlternativeServiceInfoVector alternative_services; in TEST_P() local
3276 alternative_services.push_back( in TEST_P()
3280 alternative_services.push_back( in TEST_P()
3286 alternative_services); in TEST_P()
3331 AlternativeServiceInfoVector alternative_services; in TEST_P() local
3332 alternative_services.push_back( in TEST_P()
3336 alternative_services.push_back( in TEST_P()
3342 alternative_services); in TEST_P()
3773 AlternativeServiceInfoVector alternative_services; in TEST_P() local
3774 alternative_services.push_back( in TEST_P()
[all …]