Home
last modified time | relevance | path

Searched refs:on_expired_ (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/net/dcsctp/timer/
Dtimer_test.cc32 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 …]
Dtask_queue_timeout_test.cc36 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 …]
Dtask_queue_timeout.h45 on_expired_(std::move(on_expired)) {} in TaskQueueTimeoutFactory()
88 const std::function<void(TimeoutID)> on_expired_; variable
Dtimer.cc65 on_expired_(std::move(on_expired)), in Timer()
113 absl::optional<DurationMs> new_duration = on_expired_(); in Trigger()
Dtask_queue_timeout.cc85 parent_.on_expired_(timeout_id_); in Start()
Dtimer.h164 const OnExpired on_expired_; variable