Searched refs:one_sec_delay (Results 1 – 2 of 2) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | fake_stream_test.cc | 258 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() local 259 stream_->AddReadPacketString(one_sec_delay, "baz"); in TEST_F() 260 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F() 272 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() local 274 stream_->AddReadPacketString(one_sec_delay, input_data.substr(split_pos)); in TEST_F() 279 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F() 417 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() local 418 stream_->ExpectWritePacketString(one_sec_delay, "baz"); in TEST_F() 419 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F() 431 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() local [all …]
|
/external/grpc-grpc/test/cpp/qps/ |
D | client_sync.cc | 92 const gpr_timespec one_sec_delay = in WaitToIssue() local 95 if (gpr_time_cmp(next_issue_time, one_sec_delay) <= 0) { in WaitToIssue() 99 gpr_sleep_until(one_sec_delay); in WaitToIssue()
|