/external/cronet/base/timer/ |
D | timer.cc | 146 OneShotTimer::OneShotTimer() = default; 147 OneShotTimer::OneShotTimer(const TickClock* tick_clock) in OneShotTimer() function in base::OneShotTimer 149 OneShotTimer::~OneShotTimer() = default; 151 void OneShotTimer::Start(const Location& posted_from, in Start() 158 void OneShotTimer::FireNow() { in FireNow() 166 void OneShotTimer::OnStop() { in OnStop() 172 void OneShotTimer::RunUserTask() { in RunUserTask() 182 void OneShotTimer::EnsureNonNullUserTask() { in EnsureNonNullUserTask()
|
D | timer.h | 224 class BASE_EXPORT OneShotTimer : public internal::DelayTimerBase { 226 OneShotTimer(); 227 explicit OneShotTimer(const TickClock* tick_clock); 229 OneShotTimer(const OneShotTimer&) = delete; 230 OneShotTimer& operator=(const OneShotTimer&) = delete; 232 ~OneShotTimer() override;
|
D | timer_unittest.cc | 61 OneShotTimer timer; in RunTest_OneShotTimers() 76 auto timer = std::make_unique<OneShotTimer>(); in RunTest_OneShotTimers_Cancel() 96 auto timer = std::make_unique<OneShotTimer>(); in RunTest_OneShotSelfDeletingTimer() 242 OneShotTimer timer; in TEST() 263 OneShotTimer timer(task_environment.GetMockTickClock()); in TEST() 338 OneShotTimer timer; in TEST() 355 auto timer = std::make_unique<OneShotTimer>(); in TEST() 373 auto timer = std::make_unique<OneShotTimer>(); in TEST() 391 OneShotTimer timer; in TEST() 414 OneShotTimer timer; in TEST() [all …]
|
D | mock_timer.cc | 28 : OneShotTimer(&clock_), in MockOneShotTimer() 30 OneShotTimer::SetTaskRunner(test_task_runner_); in MockOneShotTimer()
|
/external/cronet/base/files/ |
D | important_file_writer.h | 147 void SetTimerForTesting(OneShotTimer* timer_override); 157 const OneShotTimer& timer() const { in timer() 160 OneShotTimer& timer() { return timer_override_ ? *timer_override_ : timer_; } in timer() 199 OneShotTimer timer_; 202 raw_ptr<OneShotTimer> timer_override_ = nullptr;
|
/external/libchrome/base/timer/ |
D | timer.h | 239 class BASE_EXPORT OneShotTimer : public Timer { 241 OneShotTimer() : OneShotTimer(nullptr) {} in OneShotTimer() function 242 explicit OneShotTimer(const TickClock* tick_clock) in OneShotTimer() function
|
D | mock_timer.cc | 27 : OneShotTimer(&clock_), in MockOneShotTimer() 29 OneShotTimer::SetTaskRunner(test_task_runner_); in MockOneShotTimer()
|
D | timer_unittest.cc | 87 std::unique_ptr<OneShotTimer> timer_ = std::make_unique<OneShotTimer>(); 348 OneShotTimer timers[20]; in RunTest_DelayTimer_Reset() 441 OneShotTimer timer(task_runner->GetMockTickClock()); in TEST() 579 OneShotTimer timer_; 744 void CreateTimer() { timer_.reset(new OneShotTimer); } in CreateTimer() 780 std::unique_ptr<OneShotTimer> timer_;
|
D | mock_timer.h | 19 class MockOneShotTimer : public OneShotTimer {
|
/external/cronet/net/reporting/ |
D | reporting_garbage_collector.cc | 30 : context_(context), timer_(std::make_unique<base::OneShotTimer>()) { in ReportingGarbageCollectorImpl() 40 void SetTimerForTesting(std::unique_ptr<base::OneShotTimer> timer) override { in SetTimerForTesting() 95 std::unique_ptr<base::OneShotTimer> timer_;
|
D | reporting_garbage_collector.h | 13 class OneShotTimer; variable 35 std::unique_ptr<base::OneShotTimer> timer) = 0;
|
D | reporting_delivery_agent.h | 15 class OneShotTimer; variable 68 std::unique_ptr<base::OneShotTimer> timer) = 0;
|
D | reporting_delivery_agent.cc | 204 timer_(std::make_unique<base::OneShotTimer>()), in ReportingDeliveryAgentImpl() 224 void SetTimerForTesting(std::unique_ptr<base::OneShotTimer> timer) override { in SetTimerForTesting() 404 std::unique_ptr<base::OneShotTimer> timer_;
|
/external/cronet/net/spdy/ |
D | bidirectional_stream_spdy_impl.h | 28 class OneShotTimer; variable 54 std::unique_ptr<base::OneShotTimer> timer, 96 std::unique_ptr<base::OneShotTimer> timer_;
|
/external/cronet/net/dns/ |
D | mdns_client_impl.h | 33 class OneShotTimer; variable 136 Core(base::Clock* clock, base::OneShotTimer* timer); 209 raw_ptr<base::OneShotTimer> cleanup_timer_; 219 std::unique_ptr<base::OneShotTimer> cleanup_timer); 246 std::unique_ptr<base::OneShotTimer> cleanup_timer_;
|
D | serial_worker.h | 83 const base::OneShotTimer& GetRetryTimerForTesting() const; 125 base::OneShotTimer retry_timer_;
|
/external/cronet/net/http/ |
D | bidirectional_stream.h | 27 class OneShotTimer; variable 124 std::unique_ptr<base::OneShotTimer> timer); 243 std::unique_ptr<base::OneShotTimer> timer_;
|
D | bidirectional_stream_impl.h | 21 class OneShotTimer; variable 110 std::unique_ptr<base::OneShotTimer> timer,
|
/external/cronet/net/quic/ |
D | bidirectional_stream_quic_impl.h | 23 class OneShotTimer; variable 48 std::unique_ptr<base::OneShotTimer> timer,
|
D | quic_chromium_alarm_factory.cc | 32 timer_(std::make_unique<base::OneShotTimer>(this)) { in QuicChromeAlarm() 72 const std::unique_ptr<base::OneShotTimer> timer_;
|
/external/cronet/net/proxy_resolution/ |
D | pac_file_decider.h | 206 base::OneShotTimer wait_timer_; 219 base::OneShotTimer quick_check_timer_;
|
/external/cronet/net/websockets/ |
D | websocket_stream.cc | 172 void Start(std::unique_ptr<base::OneShotTimer> timer) { in Start() 295 std::unique_ptr<base::OneShotTimer> timer_; 482 request->Start(std::make_unique<base::OneShotTimer>()); in CreateAndConnectStream() 498 std::unique_ptr<base::OneShotTimer> timer, in CreateAndConnectStreamForTesting()
|
D | websocket_stream.h | 28 class OneShotTimer; variable 183 std::unique_ptr<base::OneShotTimer> timer,
|
D | websocket_stream_create_test_base.cc | 106 std::unique_ptr<base::OneShotTimer> timer) { in CreateAndConnectStream() 115 timer ? std::move(timer) : std::make_unique<base::OneShotTimer>(), in CreateAndConnectStream()
|
/external/cronet/components/metrics/ |
D | metrics_scheduler.h | 55 base::OneShotTimer timer_;
|