/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | util_unittest.py | 17 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 D | semaphore-unittest.cc | 81 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 D | semaphore.h | 50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
|
H A D | condition-variable.cc | 71 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 D | semaphore.cc | 54 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 D | condition-variable.h | 27 // 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 D | repaint_continuously.py | 35 util.WaitFor(HasMinRafs, max(60 - self._seconds, 0))
|
H A D | media_action.py | 38 util.WaitFor(lambda:
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
H A D | inspector_timeline_unittest.py | 17 util.WaitFor(_IsDone, 5)
|
H A D | inspector_runtime_unittest.py | 47 util.WaitFor(lambda: self._tab.EnableAllContexts() == expected_contexts, 64 util.WaitFor(lambda: TestVarReady(context_id), timeout=10)
|
H A D | cros_unittest.py | 65 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 D | inspector_console_unittest.py | 23 util.WaitFor(GotLog, 5)
|
H A D | cros_browser_backend.py | 55 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 D | oobe.py | 52 gaia_context = util.WaitFor(self._GaiaLoginContext, timeout=30)
|
H A D | tab_list_backend.py | 38 util.WaitFor(lambda: tab_id not in self, timeout=5)
|
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
H A D | downloads_api_browsertest.cc | 202 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 D | android_device.py | 51 util.WaitFor(adb_commands.GetAttachedDevices, 600)
|
/external/chromium_org/chrome/test/telemetry/chromeos/ |
H A D | login_unittest.py | 70 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 D | tab_switching.py | 65 util.WaitFor(tab.HasReachedQuiescence, 60) 89 util.WaitFor(_IsDone, 30)
|
H A D | session_restore.py | 36 util.WaitFor(lambda: browser.tabs and
|
/external/chromium_org/tools/telemetry/telemetry/core/forwarders/ |
H A D | do_nothing_forwarder.py | 75 util.WaitFor(CanConnect, timeout)
|
H A D | cros_forwarder.py | 52 util.WaitFor(
|
/external/chromium_org/v8/src/heap/ |
H A D | sweeper-thread.cc | 66 bool value = end_sweeping_semaphore_.WaitFor(base::TimeDelta::FromSeconds(0));
|
/external/chromium_org/content/test/gpu/gpu_tests/ |
H A D | maps.py | 65 util.WaitFor(IsWaitComplete, timeout)
|
/external/chromium_org/tools/perf/benchmarks/ |
H A D | dom_perf.py | 45 util.WaitFor(_IsDone, 600)
|