/external/v8/test/unittests/base/platform/ |
D | semaphore-unittest.cc | 78 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1))); in Run() 120 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1))); in TEST() 124 TEST(Semaphore, WaitFor) { in TEST() argument 128 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST() 129 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST() 130 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST() 134 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST() 136 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST() 138 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST()
|
D | condition-variable-unittest.cc | 22 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST() 25 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
D | 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))
|
D | 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/ |
D | 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)
|
D | battery_utils.py | 350 timeout_retry.WaitFor(battery_updates_disabled, wait_period=1) 371 timeout_retry.WaitFor(battery_updates_enabled, wait_period=1) 437 timeout_retry.WaitFor(device_discharged, wait_period=wait_period) 476 timeout_retry.WaitFor(device_charged, wait_period=wait_period) 502 timeout_retry.WaitFor(cool_device, wait_period=wait_period) 561 timeout_retry.WaitFor(verify_charging, wait_period=1)
|
D | device_utils.py | 147 if not timeout_retry.WaitFor(adb_killed, wait_period=1, max_tries=5): 151 if not timeout_retry.WaitFor(adb_started, wait_period=1, max_tries=5): 519 timeout_retry.WaitFor(sd_card_ready) 520 timeout_retry.WaitFor(pm_ready) 521 timeout_retry.WaitFor(boot_completed) 523 timeout_retry.WaitFor(wifi_enabled) 548 timeout_retry.WaitFor(device_offline, wait_period=1) 921 timeout_retry.WaitFor(all_pids_killed, wait_period=0.1) 1035 timeout_retry.WaitFor(dismiss_popups, wait_period=1) 2180 timeout_retry.WaitFor(screen_test, wait_period=1)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
D | 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)
|
D | 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)
|
D | 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)
|
/external/v8/src/base/platform/ |
D | condition-variable.cc | 68 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { in WaitFor() function in v8::base::ConditionVariable 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));
|
D | semaphore.cc | 54 bool Semaphore::WaitFor(const TimeDelta& rel_time) { in WaitFor() function in v8::base::Semaphore 113 bool Semaphore::WaitFor(const TimeDelta& rel_time) { 182 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
|
D | semaphore.h | 50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
|
D | condition-variable.h | 59 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | 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(
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
D | inspector_runtime_unittest.py | 49 util.WaitFor(lambda: self._tab.EnableAllContexts() == expected_contexts, 66 util.WaitFor(lambda: TestVarReady(context_id), timeout=10)
|
D | inspector_console_unittest.py | 19 util.WaitFor(GotLog, 5)
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_compatibility_devicetest.py | 48 timeout_retry.WaitFor( 58 timeout_retry.WaitFor(
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
D | 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/third_party/webpagereplay/ |
D | httpproxy_test.py | 116 util.WaitFor(lambda: threading.activeCount() == initial_thread_count, 2) 159 util.WaitFor(lambda: threading.activeCount() == initial_thread_count, 1)
|
D | util.py | 57 def WaitFor(condition, timeout): function
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
D | repaint_continuously.py | 35 util.WaitFor(HasMinRafs, max(60 - self._seconds, 0))
|
D | media_action.py | 38 util.WaitFor(lambda:
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | webpagereplay.py | 206 util.WaitFor(self._IsStarted, 30) 242 util.WaitFor(lambda: self.replay_process.poll() is not None, 10)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/forwarders/ |
D | do_nothing_forwarder.py | 77 util.WaitFor(CanConnect, timeout)
|