Searched refs:WaitFor (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dpy_utils_unittest.py31 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__.py112 def WaitFor(condition, timeout): function
H A Dcloud_storage.py265 py_utils.WaitFor(lambda: _AttemptPseudoLockAcquisition(pseudo_lock_path,
273 py_utils.WaitFor(lambda: _AttemptPseudoLockRelease(pseudo_lock_fd),
/external/drm_hwcomposer/tests/
H A Dqueue_worker_test.cpp67 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 Dlogcat_monitor_test.py70 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 Dbattery_utils.py407 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 Dcrash_handler_devicetest.py58 timeout_retry.WaitFor(ready_to_crash, wait_period=2, max_tries=10)
H A Dapp_ui.py243 return timeout_retry.WaitFor(node_found)
/external/libmojo/third_party/catapult/devil/devil/android/
H A Dlogcat_monitor_test.py70 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 Dbattery_utils.py363 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 Dapp_ui.py243 return timeout_retry.WaitFor(node_found)
H A Dlogcat_monitor.py56 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 Ddevice_utils.py185 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 Dsemaphore.h50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
H A Dcondition-variable.cc81 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 Dsemaphore.cc53 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 Dcondition-variable.h28 // 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 Dadb_compatibility_devicetest.py48 timeout_retry.WaitFor(
58 timeout_retry.WaitFor(
/external/tensorflow/tensorflow/core/lib/core/
H A Dblocking_counter.h58 inline bool WaitFor(std::chrono::milliseconds ms) { function in class:tensorflow::BlockingCounter
/external/chromium-trace/catapult/systrace/profile_chrome/
H A Dchrome_tracing_agent.py46 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 Dtimeout_retry.py72 def WaitFor(condition, wait_period=5, max_tries=None): function
/external/libmojo/third_party/catapult/devil/devil/utils/
H A Dtimeout_retry.py72 def WaitFor(condition, wait_period=5, max_tries=None): function
/external/chromium-trace/catapult/devil/devil/android/sdk/
H A Dadb_compatibility_devicetest.py67 timeout_retry.WaitFor(
77 timeout_retry.WaitFor(
/external/libmojo/third_party/catapult/devil/devil/android/tools/
H A Dvideo_recorder.py65 timeout_retry.WaitFor(
/external/chromium-trace/catapult/common/battor/battor/
H A Dbattor_wrapper.py223 py_utils.WaitFor(lambda: self.GetShellReturnCode() != None, timeout)
267 py_utils.WaitFor(lambda: self.GetShellReturnCode() != None, timeout)

Completed in 2503 milliseconds

12