Searched refs:WaitFor (Results 1 - 25 of 57) sorted by relevance

123

/external/chromium_org/tools/telemetry/telemetry/core/
H A Dutil_unittest.py17 util.WaitFor(test, 0.1)
22 self.assertRaises(util.TimeoutException, lambda: util.WaitFor(test, 0.1))
29 util.WaitFor(Test().Method, 0.1)
31 util.WaitFor(lambda: 1, 0.1)
34 self.assertRaises(TypeError, lambda: util.WaitFor('test', 0.1))
37 self.assertEquals('test', util.WaitFor(lambda: 'test', 0.1))
/external/chromium_org/v8/src/base/platform/
H A Dsemaphore-unittest.cc81 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1)));
123 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1)));
127 TEST(Semaphore, WaitFor) {
131 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0)));
132 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100)));
133 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)));
137 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0)));
139 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100)));
141 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)));
H A Dsemaphore.h50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
H A Dcondition-variable.cc71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { function in class:v8::base::ConditionVariable
125 bool WaitFor(DWORD timeout_ms) {
273 while (!event->WaitFor(INFINITE))
285 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
299 result = event->WaitFor(INFINITE - 1);
305 result = event->WaitFor((msec < 0) ? 0 : static_cast<DWORD>(msec));
H A Dsemaphore.cc54 bool Semaphore::WaitFor(const TimeDelta& rel_time) { function in class:v8::base::Semaphore
109 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
178 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
H A Dcondition-variable.h27 // on a Mutex first. The |Wait()| and |WaitFor()| operations atomically release
57 // is reacquired and |WaitFor()| exits. Returns true if the condition variable
59 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Drepaint_continuously.py35 util.WaitFor(HasMinRafs, max(60 - self._seconds, 0))
H A Dmedia_action.py38 util.WaitFor(lambda:
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dinspector_timeline_unittest.py17 util.WaitFor(_IsDone, 5)
H A Dinspector_runtime_unittest.py47 util.WaitFor(lambda: self._tab.EnableAllContexts() == expected_contexts,
64 util.WaitFor(lambda: TestVarReady(context_id), timeout=10)
H A Dcros_unittest.py65 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 20)
78 self.assertTrue(util.WaitFor(self._IsCryptohomeMounted, 10))
100 util.WaitFor(ScreenLocked, 10)
113 util.WaitFor(ErrorBubbleVisible, 10)
121 util.WaitFor(lambda: not browser.oobe_exists, 10)
H A Dinspector_console_unittest.py23 util.WaitFor(GotLog, 5)
H A Dcros_browser_backend.py55 util.WaitFor(self.IsBrowserRunning, 20)
141 util.WaitFor(lambda: self.oobe_exists, 10)
150 util.WaitFor(lambda: pid != self.pid, 10)
169 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 30)
230 util.WaitFor(self._IsLoggedIn, 60)
H A Doobe.py52 gaia_context = util.WaitFor(self._GaiaLoginContext, timeout=30)
H A Dtab_list_backend.py38 util.WaitFor(lambda: tab_id not in self, timeout=5)
/external/chromium_org/chrome/browser/extensions/api/downloads/
H A Ddownloads_api_browsertest.cc202 bool WaitFor(Profile* profile, function in class:extensions::__anon3693::DownloadsEventsListener
216 // Print the events that were caught since the last WaitFor() call to help
345 bool WaitFor(const std::string& event_name, const std::string& json_args) { function in class:extensions::__anon3693::DownloadExtensionTest
346 return events_listener_->WaitFor(
354 if (!WaitFor(downloads::OnCreated::kEventName, on_created_event))
357 return WaitFor(
827 ASSERT_TRUE(WaitFor(downloads::OnCreated::kEventName,
1487 ASSERT_TRUE(WaitFor(downloads::OnCreated::kEventName,
1495 ASSERT_TRUE(WaitFor(downloads::OnChanged::kEventName,
1503 ASSERT_TRUE(WaitFor(download
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/platform/
H A Dandroid_device.py51 util.WaitFor(adb_commands.GetAttachedDevices, 600)
/external/chromium_org/chrome/test/telemetry/chromeos/
H A Dlogin_unittest.py70 return util.WaitFor(
124 util.WaitFor(ScreenLocked, 10)
137 util.WaitFor(ErrorBubbleVisible, 10)
145 util.WaitFor(lambda: not browser.oobe, 10)
164 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 20)
237 util.WaitFor(lambda: browser.oobe.EvaluateJavaScript(
/external/chromium_org/tools/perf/measurements/
H A Dtab_switching.py65 util.WaitFor(tab.HasReachedQuiescence, 60)
89 util.WaitFor(_IsDone, 30)
H A Dsession_restore.py36 util.WaitFor(lambda: browser.tabs and
/external/chromium_org/tools/telemetry/telemetry/core/forwarders/
H A Ddo_nothing_forwarder.py75 util.WaitFor(CanConnect, timeout)
H A Dcros_forwarder.py52 util.WaitFor(
/external/chromium_org/v8/src/heap/
H A Dsweeper-thread.cc66 bool value = end_sweeping_semaphore_.WaitFor(base::TimeDelta::FromSeconds(0));
/external/chromium_org/content/test/gpu/gpu_tests/
H A Dmaps.py65 util.WaitFor(IsWaitComplete, timeout)
/external/chromium_org/tools/perf/benchmarks/
H A Ddom_perf.py45 util.WaitFor(_IsDone, 600)

Completed in 441 milliseconds

123