HomeSort by relevance Sort by last modified time
    Searched refs:WaitFor (Results 1 - 25 of 59) 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 38 util.WaitFor(lambda:
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
oobe.py 82 util.WaitFor(_GetGaiaFunction, 20)(self, username, password)
86 gaia_iframe_context = util.WaitFor(self._GaiaIFrameContext, timeout=30)
102 util.WaitFor(lambda: not self._GaiaWebviewContext(), 20)
114 gaia_webview_context = util.WaitFor(self._GaiaWebviewContext, 5)
115 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)
126 util.WaitFor(lambda: self.oobe_exists, 10)
135 util.WaitFor(lambda: pid != self.pid, 10)
157 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 180)
226 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 68 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
119 bool WaitFor(DWORD timeout_ms) {
267 while (!event->WaitFor(INFINITE)) {
279 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
293 result = event->WaitFor(INFINITE - 1);
299 result = event->WaitFor((msec < 0) ? 0 : static_cast<DWORD>(msec));
semaphore.cc 54 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
113 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
182 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
  /external/chromium-trace/catapult/systrace/profile_chrome/
chrome_controller.py 45 json_category_list = logmon.WaitFor(
85 self._logcat_monitor.WaitFor(self._trace_start_re, timeout=5)
96 self._trace_file = self._logcat_monitor.WaitFor(
chrome_startup_controller.py 61 self._trace_file = self._logcat_monitor.WaitFor(
  /external/chromium-trace/catapult/devil/devil/android/sdk/
adb_compatibility_devicetest.py 48 timeout_retry.WaitFor(
58 timeout_retry.WaitFor(
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
util.py 57 def WaitFor(condition, timeout):
  /external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/
cros_forwarder.py 40 util.WaitFor(
do_nothing_forwarder.py 77 util.WaitFor(CanConnect, timeout)
  /external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
tab_unittest.py 91 util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5)
94 util.WaitFor(lambda: _IsDocumentVisible(new_tab), timeout=5)
97 util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5)
  /external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
android_traceview_profiler.py 59 util.WaitFor(lambda: self._FileSize(trace_file) > 0, timeout=10)

Completed in 648 milliseconds

1 2 3