Searched refs:one_sec_delay (Results 1 – 2 of 2) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | fake_stream_unittest.cc | 257 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() local 258 stream_->AddReadPacketString(one_sec_delay, "baz"); in TEST_F() 259 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F() 271 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() local 273 stream_->AddReadPacketString(one_sec_delay, input_data.substr(split_pos)); in TEST_F() 278 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F() 416 auto one_sec_delay = base::TimeDelta::FromSeconds(1); in TEST_F() local 417 stream_->ExpectWritePacketString(one_sec_delay, "baz"); in TEST_F() 418 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F() 430 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()
|