Lines Matching refs:ms
163 std::this_thread::sleep_for(100ms); in TEST()
182 200ms)); in TEST()
185 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST()
187 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms); in TEST()
199 std::this_thread::sleep_for(500ms); in TEST()
219 std::this_thread::sleep_for(500ms); in TEST()
226 ASSERT_FALSE(android::base::WaitForProperty("debug.libbase.WaitForProperty_test", "b", -100ms)); in TEST()
236 std::this_thread::sleep_for(100ms); in TEST()
252 "debug.libbase.WaitForPropertyCreation_timeout_test", 200ms)); in TEST()
255 ASSERT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 200ms); in TEST()
257 ASSERT_LT(std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0), 600ms); in TEST()
306 EXPECT_EQ(nullptr, cached_property.WaitForChange(0ms)); in TEST()
307 EXPECT_EQ(nullptr, cached_property.WaitForChange(100ms)); in TEST()
310 SetAfter(key, "foo", 100ms); in TEST()
314 EXPECT_EQ(nullptr, cached_property.WaitForChange(0ms)); in TEST()
315 EXPECT_EQ(nullptr, cached_property.WaitForChange(100ms)); in TEST()
318 SetAfter(key, "bar", 100ms); in TEST()