/external/chromium-trace/catapult/common/py_utils/py_utils/ |
H A D | py_utils_unittest.py | 31 self.assertTrue(py_utils.WaitFor(ReturnTrue, .1)) 38 py_utils.WaitFor(ReturnFalse, .1) 48 self.assertTrue(py_utils.WaitFor(ReturnCounterBasedValue, .5)) 51 self.assertTrue(py_utils.WaitFor(lambda: True, .1)) 55 py_utils.WaitFor(lambda: False, .1)
|
H A D | __init__.py | 112 def WaitFor(condition, timeout): function
|
H A D | cloud_storage.py | 265 py_utils.WaitFor(lambda: _AttemptPseudoLockAcquisition(pseudo_lock_path, 273 py_utils.WaitFor(lambda: _AttemptPseudoLockRelease(pseudo_lock_fd),
|
/external/drm_hwcomposer/tests/ |
H A D | queue_worker_test.cpp | 67 bool WaitFor(int val, int timeout_ms = kTimeoutMs) { function in struct:QueueWorkerTest 90 ASSERT_TRUE(WaitFor(1)); 98 ASSERT_TRUE(WaitFor(i)); 108 ASSERT_TRUE(WaitFor(100)); 116 ASSERT_TRUE(WaitFor(1)); 141 ASSERT_TRUE(WaitFor(expected_value)); 170 ASSERT_TRUE(WaitFor(1)); 180 ASSERT_TRUE(WaitFor(1)); 187 ASSERT_TRUE(WaitFor(2)); 194 ASSERT_TRUE(WaitFor( [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
H A 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)
|
H A D | battery_utils.py | 407 timeout_retry.WaitFor(battery_updates_disabled, wait_period=1) 428 timeout_retry.WaitFor(battery_updates_enabled, wait_period=1) 494 timeout_retry.WaitFor(device_discharged, wait_period=wait_period) 533 timeout_retry.WaitFor(device_charged, wait_period=wait_period) 559 timeout_retry.WaitFor(cool_device, wait_period=wait_period) 618 timeout_retry.WaitFor(verify_charging, wait_period=1) 684 timeout_retry.WaitFor(test_if_clear, wait_period=1)
|
H A D | crash_handler_devicetest.py | 58 timeout_retry.WaitFor(ready_to_crash, wait_period=2, max_tries=10)
|
H A D | app_ui.py | 243 return timeout_retry.WaitFor(node_found)
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
H A 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)
|
H A D | battery_utils.py | 363 timeout_retry.WaitFor(battery_updates_disabled, wait_period=1) 384 timeout_retry.WaitFor(battery_updates_enabled, wait_period=1) 450 timeout_retry.WaitFor(device_discharged, wait_period=wait_period) 489 timeout_retry.WaitFor(device_charged, wait_period=wait_period) 515 timeout_retry.WaitFor(cool_device, wait_period=wait_period) 574 timeout_retry.WaitFor(verify_charging, wait_period=1) 640 timeout_retry.WaitFor(test_if_clear, wait_period=1)
|
H A D | app_ui.py | 243 return timeout_retry.WaitFor(node_found)
|
H A D | logcat_monitor.py | 56 def WaitFor(self, success_regex, failure_regex=None, timeout=None, member in class:LogcatMonitor 80 LogcatMonitorCommandError when calling |WaitFor| while not recording 85 'Must be recording logcat when calling |WaitFor|',
|
H A D | device_utils.py | 185 if not timeout_retry.WaitFor(adb_killed, wait_period=1, max_tries=5): 189 if not timeout_retry.WaitFor(adb_started, wait_period=1, max_tries=5): 573 timeout_retry.WaitFor(sd_card_ready) 574 timeout_retry.WaitFor(pm_ready) 575 timeout_retry.WaitFor(boot_completed) 577 timeout_retry.WaitFor(wifi_enabled) 602 timeout_retry.WaitFor(device_offline, wait_period=1) 981 timeout_retry.WaitFor(all_pids_killed, wait_period=0.1) 1095 timeout_retry.WaitFor(dismiss_popups, wait_period=1) 2445 timeout_retry.WaitFor(screen_tes [all...] |
/external/v8/src/base/platform/ |
H A D | semaphore.h | 50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
|
H A D | condition-variable.cc | 81 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { function in class:v8::base::ConditionVariable 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));
|
H A D | semaphore.cc | 53 bool Semaphore::WaitFor(const TimeDelta& rel_time) { function in class:v8::base::Semaphore 109 bool Semaphore::WaitFor(const TimeDelta& rel_time) { 165 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
|
H A D | condition-variable.h | 28 // on a Mutex first. The |Wait()| and |WaitFor()| operations atomically release 58 // is reacquired and |WaitFor()| exits. Returns true if the condition variable 60 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
H A D | adb_compatibility_devicetest.py | 48 timeout_retry.WaitFor( 58 timeout_retry.WaitFor(
|
/external/tensorflow/tensorflow/core/lib/core/ |
H A D | blocking_counter.h | 58 inline bool WaitFor(std::chrono::milliseconds ms) { function in class:tensorflow::BlockingCounter
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
H A D | 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/devil/devil/utils/ |
H A D | timeout_retry.py | 72 def WaitFor(condition, wait_period=5, max_tries=None): function
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
H A D | timeout_retry.py | 72 def WaitFor(condition, wait_period=5, max_tries=None): function
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
H A D | adb_compatibility_devicetest.py | 67 timeout_retry.WaitFor( 77 timeout_retry.WaitFor(
|
/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
H A D | video_recorder.py | 65 timeout_retry.WaitFor(
|
/external/chromium-trace/catapult/common/battor/battor/ |
H A D | battor_wrapper.py | 223 py_utils.WaitFor(lambda: self.GetShellReturnCode() != None, timeout) 267 py_utils.WaitFor(lambda: self.GetShellReturnCode() != None, timeout)
|