Searched refs:on_expired_ (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/net/dcsctp/timer/ |
D | timer_test.cc | 32 ON_CALL(on_expired_, Call).WillByDefault(Return(absl::nullopt)); 51 testing::MockFunction<absl::optional<DurationMs>()> on_expired_; member in dcsctp::__anon2d6679d60111::TimerTest 56 "t1", on_expired_.AsStdFunction(), in TEST_F() 64 "t1", on_expired_.AsStdFunction(), in TEST_F() 67 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() 73 EXPECT_CALL(on_expired_, Call).Times(1); in TEST_F() 79 "t1", on_expired_.AsStdFunction(), in TEST_F() 82 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() 89 EXPECT_CALL(on_expired_, Call).Times(1); in TEST_F() 94 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() [all …]
|
D | task_queue_timeout_test.cc | 36 on_expired_.AsStdFunction()) {} 42 MockFunction<void(TimeoutID)> on_expired_; member in dcsctp::__anon30d75ad20111::TaskQueueTimeoutTest 53 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() 56 EXPECT_CALL(on_expired_, Call(TimeoutID(1))); in TEST_F() 64 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() 77 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() 84 EXPECT_CALL(on_expired_, Call(TimeoutID(2))); in TEST_F() 92 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() 99 EXPECT_CALL(on_expired_, Call(TimeoutID(2))); in TEST_F() 102 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F() [all …]
|
D | task_queue_timeout.h | 45 on_expired_(std::move(on_expired)) {} in TaskQueueTimeoutFactory() 88 const std::function<void(TimeoutID)> on_expired_; variable
|
D | timer.cc | 65 on_expired_(std::move(on_expired)), in Timer() 113 absl::optional<DurationMs> new_duration = on_expired_(); in Trigger()
|
D | task_queue_timeout.cc | 85 parent_.on_expired_(timeout_id_); in Start()
|
D | timer.h | 164 const OnExpired on_expired_; variable
|