Home
last modified time | relevance | path

Searched refs:connect_timing (Results 1 – 25 of 42) sorted by relevance

12

/external/cronet/net/base/
Dload_timing_info_test_util.cc13 const LoadTimingInfo::ConnectTiming& connect_timing) { in ExpectConnectTimingHasNoTimes() argument
14 EXPECT_TRUE(connect_timing.domain_lookup_start.is_null()); in ExpectConnectTimingHasNoTimes()
15 EXPECT_TRUE(connect_timing.domain_lookup_end.is_null()); in ExpectConnectTimingHasNoTimes()
16 EXPECT_TRUE(connect_timing.connect_start.is_null()); in ExpectConnectTimingHasNoTimes()
17 EXPECT_TRUE(connect_timing.connect_end.is_null()); in ExpectConnectTimingHasNoTimes()
18 EXPECT_TRUE(connect_timing.ssl_start.is_null()); in ExpectConnectTimingHasNoTimes()
19 EXPECT_TRUE(connect_timing.ssl_end.is_null()); in ExpectConnectTimingHasNoTimes()
23 const LoadTimingInfo::ConnectTiming& connect_timing, in ExpectConnectTimingHasTimes() argument
25 EXPECT_FALSE(connect_timing.connect_start.is_null()); in ExpectConnectTimingHasTimes()
26 EXPECT_LE(connect_timing.connect_start, connect_timing.connect_end); in ExpectConnectTimingHasTimes()
[all …]
Dload_timing_info_test_util.h22 const LoadTimingInfo::ConnectTiming& connect_timing);
29 const LoadTimingInfo::ConnectTiming& connect_timing,
Dload_timing_info.h169 ConnectTiming connect_timing; member
/external/cronet/net/url_request/
Durl_request.cc105 LoadTimingInfo::ConnectTiming* connect_timing = in ConvertRealLoadTimesToBlockingTimes() local
106 &load_timing_info->connect_timing; in ConvertRealLoadTimesToBlockingTimes()
107 if (!connect_timing->domain_lookup_start.is_null()) { in ConvertRealLoadTimesToBlockingTimes()
108 DCHECK(!connect_timing->domain_lookup_end.is_null()); in ConvertRealLoadTimesToBlockingTimes()
109 if (connect_timing->domain_lookup_start < block_on_connect) in ConvertRealLoadTimesToBlockingTimes()
110 connect_timing->domain_lookup_start = block_on_connect; in ConvertRealLoadTimesToBlockingTimes()
111 if (connect_timing->domain_lookup_end < block_on_connect) in ConvertRealLoadTimesToBlockingTimes()
112 connect_timing->domain_lookup_end = block_on_connect; in ConvertRealLoadTimesToBlockingTimes()
115 if (!connect_timing->connect_start.is_null()) { in ConvertRealLoadTimesToBlockingTimes()
116 DCHECK(!connect_timing->connect_end.is_null()); in ConvertRealLoadTimesToBlockingTimes()
[all …]
Durl_request_quic_unittest.cc271 load_timing_info.connect_timing.connect_start.is_null()); in assertLoadTimingValid()
273 load_timing_info.connect_timing.connect_end.is_null()); in assertLoadTimingValid()
275 load_timing_info.connect_timing.ssl_start.is_null()); in assertLoadTimingValid()
277 load_timing_info.connect_timing.ssl_end.is_null()); in assertLoadTimingValid()
278 EXPECT_EQ(load_timing_info.connect_timing.connect_start, in assertLoadTimingValid()
279 load_timing_info.connect_timing.ssl_start); in assertLoadTimingValid()
280 EXPECT_EQ(load_timing_info.connect_timing.connect_end, in assertLoadTimingValid()
281 load_timing_info.connect_timing.ssl_end); in assertLoadTimingValid()
283 load_timing_info.connect_timing.domain_lookup_start.is_null()); in assertLoadTimingValid()
285 load_timing_info.connect_timing.domain_lookup_end.is_null()); in assertLoadTimingValid()
Durl_request_unittest.cc216 load_timing_info.connect_timing.connect_start); in TestLoadTimingNotReused()
217 ExpectConnectTimingHasTimes(load_timing_info.connect_timing, in TestLoadTimingNotReused()
219 EXPECT_LE(load_timing_info.connect_timing.connect_end, in TestLoadTimingNotReused()
244 load_timing_info.connect_timing.connect_start); in TestLoadTimingNotReusedWithProxy()
245 ExpectConnectTimingHasTimes(load_timing_info.connect_timing, in TestLoadTimingNotReusedWithProxy()
247 EXPECT_LE(load_timing_info.connect_timing.connect_end, in TestLoadTimingNotReusedWithProxy()
263 ExpectConnectTimingHasNoTimes(load_timing_info.connect_timing); in TestLoadTimingReusedWithProxy()
295 ExpectConnectTimingHasNoTimes(load_timing_info.connect_timing); in TestLoadTimingCacheHitNoNetwork()
1078 LoadTimingInfo::ConnectTiming& connect_timing = load_timing.connect_timing; in NormalLoadTimingInfo() local
1080 connect_timing.domain_lookup_start = now + base::Days(3); in NormalLoadTimingInfo()
[all …]
/external/cronet/net/socket/
Dssl_connect_job_unittest.cc72 void CheckConnectTimesSet(const LoadTimingInfo::ConnectTiming& connect_timing) { in CheckConnectTimesSet() argument
73 EXPECT_EQ(base::TimeTicks::Now(), connect_timing.domain_lookup_start); in CheckConnectTimesSet()
74 EXPECT_EQ(base::TimeTicks::Now(), connect_timing.domain_lookup_end); in CheckConnectTimesSet()
75 EXPECT_EQ(base::TimeTicks::Now(), connect_timing.connect_start); in CheckConnectTimesSet()
76 EXPECT_EQ(base::TimeTicks::Now(), connect_timing.ssl_start); in CheckConnectTimesSet()
77 EXPECT_EQ(base::TimeTicks::Now(), connect_timing.ssl_end); in CheckConnectTimesSet()
78 EXPECT_EQ(base::TimeTicks::Now(), connect_timing.connect_end); in CheckConnectTimesSet()
85 const LoadTimingInfo::ConnectTiming& connect_timing) { in CheckConnectTimesExceptDnsSet() argument
86 EXPECT_TRUE(connect_timing.domain_lookup_start.is_null()); in CheckConnectTimesExceptDnsSet()
87 EXPECT_TRUE(connect_timing.domain_lookup_end.is_null()); in CheckConnectTimesExceptDnsSet()
[all …]
Dclient_socket_handle.h205 const LoadTimingInfo::ConnectTiming& connect_timing() const { in connect_timing() function
208 void set_connect_timing(const LoadTimingInfo::ConnectTiming& connect_timing) { in set_connect_timing() argument
209 connect_timing_ = connect_timing; in set_connect_timing()
Dwebsocket_transport_client_socket_pool.cc283 LoadTimingInfo::ConnectTiming connect_timing = in TryHandOutSocket() local
284 connect_job_delegate->connect_job()->connect_timing(); in TryHandOutSocket()
291 HandOutSocket(std::move(socket), connect_timing, handle, request_net_log); in TryHandOutSocket()
304 HandOutSocket(std::move(socket), connect_timing, handle, request_net_log); in TryHandOutSocket()
374 const LoadTimingInfo::ConnectTiming& connect_timing, in HandOutSocket() argument
383 handle->set_connect_timing(connect_timing); in HandOutSocket()
Dsocks_connect_job_unittest.cc455 socks_connect_job.connect_timing().domain_lookup_start); in TEST_F()
457 socks_connect_job.connect_timing().domain_lookup_end); in TEST_F()
460 EXPECT_EQ(start, socks_connect_job.connect_timing().connect_start); in TEST_F()
462 socks_connect_job.connect_timing().connect_end); in TEST_F()
465 EXPECT_EQ(base::TimeTicks(), socks_connect_job.connect_timing().ssl_start); in TEST_F()
466 EXPECT_EQ(base::TimeTicks(), socks_connect_job.connect_timing().ssl_end); in TEST_F()
Dtransport_client_socket_pool_test_util.cc318 ExpectConnectTimingHasNoTimes(load_timing_info.connect_timing); in TestLoadTimingInfoConnectedReused()
331 ExpectConnectTimingHasTimes(load_timing_info.connect_timing, in TestLoadTimingInfoConnectedNotReused()
Dclient_socket_handle.cc145 load_timing_info->connect_timing = connect_timing_; in GetLoadTimingInfo()
Dsocket_test_util.cc1894 LoadTimingInfo::ConnectTiming connect_timing; in OnConnect() local
1896 connect_timing.domain_lookup_start = now; in OnConnect()
1897 connect_timing.domain_lookup_end = now; in OnConnect()
1898 connect_timing.connect_start = now; in OnConnect()
1899 connect_timing.connect_end = now; in OnConnect()
1900 handle_->set_connect_timing(connect_timing); in OnConnect()
Dwebsocket_transport_client_socket_pool.h198 const LoadTimingInfo::ConnectTiming& connect_timing,
Dconnect_job.h245 const LoadTimingInfo::ConnectTiming& connect_timing() const { in connect_timing() function
/external/cronet/components/cronet/
Dcronet_url_request.cc411 metrics.connect_timing.domain_lookup_start, in MaybeReportMetrics()
412 metrics.connect_timing.domain_lookup_end, in MaybeReportMetrics()
413 metrics.connect_timing.connect_start, metrics.connect_timing.connect_end, in MaybeReportMetrics()
414 metrics.connect_timing.ssl_start, metrics.connect_timing.ssl_end, in MaybeReportMetrics()
/external/cronet/net/http/
Dhttp_basic_stream.cc146 if (!load_timing_info->connect_timing.ssl_end.is_null() && in GetLoadTimingInfo()
148 load_timing_info->connect_timing.ssl_end = confirm_handshake_end_; in GetLoadTimingInfo()
149 load_timing_info->connect_timing.connect_end = confirm_handshake_end_; in GetLoadTimingInfo()
Dbidirectional_stream.cc256 load_timing_info_.connect_timing = impl_load_timing_info.connect_timing; in OnHeadersReceived()
Dhttp_transaction_test_util.cc440 load_timing_info->connect_timing.connect_start = base::TimeTicks::Now(); in GetLoadTimingInfo()
441 load_timing_info->connect_timing.connect_end = base::TimeTicks::Now(); in GetLoadTimingInfo()
/external/cronet/components/cronet/android/
Dcronet_bidirectional_stream_adapter.cc484 load_timing_info.connect_timing.domain_lookup_start, start_ticks, in MaybeReportMetrics()
487 load_timing_info.connect_timing.domain_lookup_end, start_ticks, in MaybeReportMetrics()
489 metrics_util::ConvertTime(load_timing_info.connect_timing.connect_start, in MaybeReportMetrics()
491 metrics_util::ConvertTime(load_timing_info.connect_timing.connect_end, in MaybeReportMetrics()
493 metrics_util::ConvertTime(load_timing_info.connect_timing.ssl_start, in MaybeReportMetrics()
495 metrics_util::ConvertTime(load_timing_info.connect_timing.ssl_end, in MaybeReportMetrics()
/external/cronet/net/spdy/
Dspdy_http_stream.cc271 if (!load_timing_info->connect_timing.ssl_end.is_null() && in GetLoadTimingInfo()
273 load_timing_info->connect_timing.ssl_end = in GetLoadTimingInfo()
275 load_timing_info->connect_timing.connect_end = in GetLoadTimingInfo()
Dbidirectional_stream_spdy_impl_unittest.cc54 ExpectConnectTimingHasNoTimes(load_timing_info.connect_timing); in TestLoadTimingReused()
65 load_timing_info.connect_timing, in TestLoadTimingNotReused()
Dspdy_session_pool.h191 const LoadTimingInfo::ConnectTiming& connect_timing,
Dspdy_session_pool.cc186 const LoadTimingInfo::ConnectTiming& connect_timing, in CreateAvailableSessionFromSocket() argument
195 new_session->InitializeWithSocket(std::move(socket_stream), connect_timing, in CreateAvailableSessionFromSocket()
/external/cronet/net/quic/
Dbidirectional_stream_quic_impl.cc224 load_timing_info->connect_timing = connect_timing_; in GetLoadTimingInfo()

12