HomeSort by relevance Sort by last modified time
    Searched refs:WaitFor (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/v8/test/unittests/base/platform/
semaphore-unittest.cc 78 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1)));
120 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1)));
124 TEST(Semaphore, WaitFor) {
128 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0)));
129 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100)));
130 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)));
134 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0)));
136 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100)));
138 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)));
  /external/chromium-trace/catapult/telemetry/telemetry/core/
util_unittest.py 20 util.WaitFor(test, 0.1)
28 lambda: util.WaitFor(test, 0.1))
38 util.WaitFor(Test().Method, 0.1)
40 util.WaitFor(lambda: 1, 0.1)
43 self.assertRaises(TypeError, lambda: util.WaitFor('test', 0.1))
46 self.assertEquals('test', util.WaitFor(lambda: 'test', 0.1))
android_action_runner.py 128 util.WaitFor(self._platform_backend.device.IsScreenOn, 5)
142 util.WaitFor(is_screen_off, 5)
161 util.WaitFor(is_screen_unlocked, 5)
  /external/chromium-trace/catapult/devil/devil/android/
logcat_monitor_test.py 70 actual_match = test_log.WaitFor(r'.*(fatal|error) logcat monitor.*', None)
85 actual_match = test_log.WaitFor(
110 actual_match = test_log.WaitFor(r'.*last line.*', None)
121 test_log.WaitFor(r'.*last line.*', None)
145 test_log.WaitFor(r'.*last line.*', None)
157 test_log.WaitFor(r'.*last line.*', None)
172 test_log.WaitFor(r'.*last line.*', None)
187 test_log.WaitFor(r'.*last line.*', None)
205 test_log.WaitFor(r'.*last line.*', None)
  /external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
repaint_continuously.py 35 util.WaitFor(HasMinRafs, max(60 - self._seconds, 0))
media_action.py 32 util.WaitFor(lambda:
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
oobe.py 90 util.WaitFor(_GetGaiaFunction, 20)(self, username, password)
94 gaia_iframe_context = util.WaitFor(self._GaiaIFrameContext, timeout=30)
110 util.WaitFor(lambda: not self._GaiaWebviewContext(), 20)
122 gaia_webview_context = util.WaitFor(self._GaiaWebviewContext, 5)
123 util.WaitFor(gaia_webview_context.HasReachedQuiescence, 20)
cros_unittest.py 83 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 20)
100 self.assertTrue(util.WaitFor(self._IsCryptohomeMounted, 10))
120 self.assertTrue(util.WaitFor(lambda: self._cri.FileExistsOnDevice(
143 util.WaitFor(ScreenLocked, 10)
156 util.WaitFor(ErrorBubbleVisible, 10)
164 util.WaitFor(lambda: not browser.oobe_exists, 10)
cros_browser_backend.py 43 util.WaitFor(self.IsBrowserRunning, 20)
139 util.WaitFor(lambda: pid != self.pid, 15)
143 util.WaitFor(lambda: self.oobe_exists, 30)
154 util.WaitFor(lambda: pid != self.pid, 60)
180 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 180)
261 util.WaitFor(self._IsLoggedIn, 60)
cros_test_case.py 81 return util.WaitFor(
tab_list_backend.py 66 util.WaitFor(lambda: tab_id not in self.IterContextIds(), timeout=5)
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
inspector_console_unittest.py 19 util.WaitFor(GotLog, 5)
inspector_runtime_unittest.py 49 util.WaitFor(lambda: self._tab.EnableAllContexts() == expected_contexts,
66 util.WaitFor(lambda: TestVarReady(context_id), timeout=10)
  /external/v8/src/base/platform/
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;
semaphore.h 50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
condition-variable.cc 81 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
132 bool WaitFor(DWORD timeout_ms) {
280 while (!event->WaitFor(INFINITE)) {
292 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
306 result = event->WaitFor(INFINITE - 1);
312 result = event->WaitFor((msec < 0) ? 0 : static_cast<DWORD>(msec));
semaphore.cc 53 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
122 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
190 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
  /external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/
do_nothing_forwarder.py 66 util.WaitFor(CanConnect, timeout)
cros_forwarder.py 40 util.WaitFor(
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
util.py 57 def WaitFor(condition, timeout):
  /external/chromium-trace/catapult/telemetry/telemetry/internal/util/
ts_proxy_server.py 72 util.WaitFor(self._IsStarted, timeout)
101 util.WaitFor(CommandStatusIsRead, timeout)
  /external/v8/build/android/pylib/linker/
test_case.py 86 browser_match = logmon.WaitFor(_RE_BROWSER_STATUS_LINE, timeout=timeout)
88 renderer_match = logmon.WaitFor(_RE_RENDERER_STATUS_LINE,
  /external/chromium-trace/catapult/telemetry/telemetry/page/
cache_temperature.py 88 util.WaitFor(tab.HasReachedQuiescence, 60)
  /external/chromium-trace/catapult/systrace/profile_chrome/
chrome_tracing_agent.py 46 json_category_list = logmon.WaitFor(
87 self._logcat_monitor.WaitFor(self._trace_start_re, timeout=5)
100 self._trace_file = self._logcat_monitor.WaitFor(
  /external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
tab_unittest.py 90 util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5)
93 util.WaitFor(lambda: _IsDocumentVisible(new_tab), timeout=5)
96 util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5)

Completed in 324 milliseconds

1 2 3