/external/openscreen/platform/test/ |
D | fake_task_runner.cc | 13 FakeTaskRunner::FakeTaskRunner(FakeClock* clock) : clock_(clock) { in FakeTaskRunner() function in openscreen::FakeTaskRunner 18 FakeTaskRunner::~FakeTaskRunner() { in ~FakeTaskRunner() 22 void FakeTaskRunner::RunTasksUntilIdle() { in RunTasksUntilIdle() 52 void FakeTaskRunner::PostPackagedTask(Task task) { in PostPackagedTask() 56 void FakeTaskRunner::PostPackagedTaskWithDelay(Task task, in PostPackagedTaskWithDelay() 62 bool FakeTaskRunner::IsRunningOnTaskRunner() { in IsRunningOnTaskRunner() 66 Clock::time_point FakeTaskRunner::GetResumeTime() const { in GetResumeTime()
|
D | fake_clock.h | 16 class FakeTaskRunner; variable 31 friend class FakeTaskRunner; 33 void SubscribeToTimeChanges(FakeTaskRunner* task_runner); 34 void UnsubscribeFromTimeChanges(FakeTaskRunner* task_runner); 41 std::vector<FakeTaskRunner*> task_runners_;
|
D | fake_task_runner.h | 43 class FakeTaskRunner : public TaskRunner { 47 explicit FakeTaskRunner(FakeClock* clock); 48 ~FakeTaskRunner() override;
|
D | fake_clock.cc | 46 for (FakeTaskRunner* task_runner : task_runners_) { in Advance() 52 for (FakeTaskRunner* task_runner : task_runners_) { in Advance() 67 void FakeClock::SubscribeToTimeChanges(FakeTaskRunner* task_runner) { in SubscribeToTimeChanges() 74 void FakeClock::UnsubscribeFromTimeChanges(FakeTaskRunner* task_runner) { in UnsubscribeFromTimeChanges()
|
/external/openscreen/third_party/chromium_quic/demo/ |
D | delegates.cc | 70 FakeTaskRunner::FakeTaskRunner(std::vector<FakeTask>* tasks) : tasks_(tasks) {} in FakeTaskRunner() function in FakeTaskRunner 71 FakeTaskRunner::~FakeTaskRunner() = default; 73 bool FakeTaskRunner::PostDelayedTask(const base::Location& whence, in PostDelayedTask() 80 bool FakeTaskRunner::RunsTasksInCurrentSequence() const { in RunsTasksInCurrentSequence()
|
D | delegates.h | 80 class FakeTaskRunner : public base::TaskRunner { 82 explicit FakeTaskRunner(std::vector<FakeTask>* tasks); 91 ~FakeTaskRunner() override;
|
D | server.cc | 92 scoped_refptr<FakeTaskRunner> task_runner = in main() 93 base::MakeRefCounted<FakeTaskRunner>(&tasks); in main()
|
D | client.cc | 84 scoped_refptr<FakeTaskRunner> task_runner = in main() 85 base::MakeRefCounted<FakeTaskRunner>(&tasks); in main()
|
/external/openscreen/platform/api/ |
D | socket_integration_unittest.cc | 21 FakeTaskRunner task_runner(&clock); in TEST() 39 FakeTaskRunner task_runner(&clock); in TEST()
|
D | serial_delete_ptr_unittest.cc | 24 FakeTaskRunner task_runner_;
|
/external/openscreen/osp/impl/quic/testing/ |
D | quic_test_support.h | 59 FakeQuicBridge(FakeTaskRunner* task_runner, ClockNowFunctionPtr now_function); 81 FakeTaskRunner* task_runner_;
|
D | quic_test_support.cc | 17 FakeQuicBridge::FakeQuicBridge(FakeTaskRunner* task_runner, in FakeQuicBridge()
|
/external/openscreen/util/ |
D | alarm_unittest.cc | 21 FakeTaskRunner* task_runner() { return &task_runner_; } in task_runner() 26 FakeTaskRunner task_runner_{&clock_};
|
/external/openscreen/platform/impl/ |
D | tls_data_router_posix_unittest.cc | 79 FakeTaskRunner* task_runner() { return &task_runner_; } in task_runner() 84 FakeTaskRunner task_runner_;
|
/external/openscreen/osp/impl/quic/ |
D | quic_server_unittest.cc | 54 task_runner_ = std::make_unique<FakeTaskRunner>(fake_clock_.get()); in QuicServerTest() 126 std::unique_ptr<FakeTaskRunner> task_runner_;
|
D | quic_client_unittest.cc | 65 task_runner_ = std::make_unique<FakeTaskRunner>(fake_clock_.get()); in QuicClientTest() 123 std::unique_ptr<FakeTaskRunner> task_runner_;
|
/external/openscreen/osp/impl/presentation/ |
D | presentation_receiver_unittest.cc | 68 task_runner_ = std::make_unique<FakeTaskRunner>(fake_clock_.get()); in PresentationReceiverTest() 103 std::unique_ptr<FakeTaskRunner> task_runner_;
|
D | presentation_connection_unittest.cc | 63 task_runner_ = std::make_unique<FakeTaskRunner>(fake_clock_.get()); in ConnectionTest() 92 std::unique_ptr<FakeTaskRunner> task_runner_;
|
D | presentation_controller_unittest.cc | 81 task_runner_ = std::make_unique<FakeTaskRunner>(fake_clock_.get()); in ControllerTest() 296 std::unique_ptr<FakeTaskRunner> task_runner_;
|
/external/openscreen/cast/sender/ |
D | cast_platform_client_unittest.cc | 52 FakeTaskRunner task_runner_{&clock_};
|
D | cast_app_discovery_service_impl_unittest.cc | 85 FakeTaskRunner task_runner_{&clock_};
|
/external/openscreen/discovery/mdns/ |
D | mdns_probe_unittest.cc | 79 FakeTaskRunner task_runner_;
|
/external/openscreen/platform/ |
D | README.md | 30 FakeClock or FakeTaskRunner.
|
/external/openscreen/osp/impl/ |
D | mdns_responder_service_unittest.cc | 28 FakeTaskRunner* task_runner, in TestingMdnsResponderService() 190 task_runner_ = std::make_unique<FakeTaskRunner>(clock_.get()); in SetUp() 208 std::unique_ptr<FakeTaskRunner> task_runner_;
|
/external/openscreen/discovery/dnssd/impl/ |
D | publisher_impl_unittest.cc | 81 FakeTaskRunner task_runner_;
|