Home
last modified time | relevance | path

Searched refs:SetClockForTesting (Results 1 – 15 of 15) sorted by relevance

/aosp_15_r20/external/webrtc/rtc_base/
H A Dfake_clock.cc47 prev_clock_ = SetClockForTesting(this); in ScopedBaseFakeClock()
51 SetClockForTesting(prev_clock_); in ~ScopedBaseFakeClock()
55 prev_clock_ = SetClockForTesting(this); in ScopedFakeClock()
59 SetClockForTesting(prev_clock_); in ~ScopedFakeClock()
H A Dtime_utils_unittest.cc217 SetClockForTesting(&clock); in TEST()
226 SetClockForTesting(nullptr); in TEST()
264 SetClockForTesting(&clock); in TEST()
286 SetClockForTesting(nullptr); in TEST()
H A Dtime_utils.cc30 ClockInterface* SetClockForTesting(ClockInterface* clock) { in SetClockForTesting() function
/aosp_15_r20/external/cronet/net/ssl/
H A Dssl_client_session_cache_unittest.cc281 cache.SetClockForTesting(clock.get()); in TEST_F()
330 cache.SetClockForTesting(clock.get()); in TEST_F()
380 cache.SetClockForTesting(clock.get()); in TEST_F()
H A Dssl_client_session_cache.h91 void SetClockForTesting(base::Clock* clock);
H A Dssl_client_session_cache.cc120 void SSLClientSessionCache::SetClockForTesting(base::Clock* clock) { in SetClockForTesting() function in net::SSLClientSessionCache
/aosp_15_r20/external/cronet/net/disk_cache/memory/
H A Dmem_backend_impl.h95 void SetClockForTesting(base::Clock* clock); // doesn't take ownership.
H A Dmem_backend_impl.cc153 void MemBackendImpl::SetClockForTesting(base::Clock* clock) { in SetClockForTesting() function in disk_cache::MemBackendImpl
/aosp_15_r20/external/cronet/net/network_error_logging/
H A Dnetwork_error_logging_service.h279 void SetClockForTesting(const base::Clock* clock);
H A Dnetwork_error_logging_service.cc1019 void NetworkErrorLoggingService::SetClockForTesting(const base::Clock* clock) { in SetClockForTesting() function in net::NetworkErrorLoggingService
H A Dnetwork_error_logging_service_unittest.cc1203 service()->SetClockForTesting(&clock); in TEST_P()
/aosp_15_r20/external/cronet/net/http/
H A Dhttp_cache.h199 void SetClockForTesting(base::Clock* clock) { clock_ = clock; } in SetClockForTesting() function
H A Dhttp_cache_unittest.cc11685 cache.http_cache()->SetClockForTesting(&clock); in TEST_F()
12507 cache_.http_cache()->SetClockForTesting(&clock_); in HttpCachePrefetchValidationTest()
12634 cache.http_cache()->SetClockForTesting(&clock); in TEST_F()
12675 cache.http_cache()->SetClockForTesting(&clock); in TEST_F()
12757 cache.http_cache()->SetClockForTesting(&clock); in TEST_F()
/aosp_15_r20/external/cronet/net/extras/sqlite/
H A Dsqlite_persistent_reporting_and_nel_store_unittest.cc692 service_->SetClockForTesting(&clock_); in SetUpNetworkErrorLoggingService()
/aosp_15_r20/external/cronet/net/disk_cache/
H A Dbackend_unittest.cc5267 mem_cache_->SetClockForTesting(&clock); in TEST_F()
5290 mem_cache_->SetClockForTesting(nullptr); in TEST_F()