/external/autotest/server/cros/ap_configurators/ |
D | web_driver_core_helpers.py | 97 def wait_for_objects_by_id(self, element_ids, wait_time=5): argument 109 xpath_found = self.wait_for_objects_by_xpath(xpaths, wait_time) 115 def wait_for_objects_by_xpath(self, xpaths, wait_time=5): argument 125 if wait_time < len(xpaths): 126 wait_time = len(xpaths) 128 while (int(time.time()) - start_time) < wait_time: 132 wait_time=0.25) 191 def wait_for_object_by_id(self, element_id, wait_time=5): argument 201 return self.wait_for_object_by_xpath(xpath, wait_time=wait_time) 204 def wait_for_object_by_xpath_to_vanish(self, xpath, wait_time=5): argument [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 6-1.c | 111 struct timeval wait_time; in main() local 168 wait_time.tv_sec = after_wait.tv_sec - before_wait.tv_sec; in main() 169 wait_time.tv_usec = after_wait.tv_usec - before_wait.tv_usec; in main() 170 if (wait_time.tv_usec < 0) { in main() 171 --wait_time.tv_sec; in main() 172 wait_time.tv_usec += 1000000; in main() 174 if (wait_time.tv_sec < TIMEOUT) { in main() 177 TIMEOUT, (long int)wait_time.tv_sec, in main() 178 (long int)wait_time.tv_usec); in main()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | offchannel.c | 261 const u8 *buf, size_t len, unsigned int wait_time, in offchannel_send_action() argument 312 wpa_s->action_tx_wait_time = wait_time; in offchannel_send_action() 313 if (wait_time) in offchannel_send_action() 318 wait_time, wpa_s->pending_action_dst, in offchannel_send_action() 361 if (wait_time > wpa_s->max_remain_on_chan) in offchannel_send_action() 362 wait_time = wpa_s->max_remain_on_chan; in offchannel_send_action() 363 else if (wait_time == 0) in offchannel_send_action() 364 wait_time = 20; in offchannel_send_action() 368 wait_time, wait_time + wpa_s->extra_roc_dur); in offchannel_send_action() 369 wait_time += wpa_s->extra_roc_dur; in offchannel_send_action() [all …]
|
D | dpp_supplicant.c | 219 unsigned int wait_time, max_tries; in wpas_dpp_auth_resp_retry() local 238 wait_time = wpa_s->dpp_resp_retry_time; in wpas_dpp_auth_resp_retry() 240 wait_time = 1000; in wpas_dpp_auth_resp_retry() 243 wait_time); in wpas_dpp_auth_resp_retry() 245 eloop_register_timeout(wait_time / 1000, in wpas_dpp_auth_resp_retry() 246 (wait_time % 1000) * 1000, in wpas_dpp_auth_resp_retry() 269 unsigned int wait_time) in wpas_dpp_stop_listen_for_tx() argument 284 if (wpa_s->dpp_listen_freq == freq && remaining > wait_time) in wpas_dpp_stop_listen_for_tx() 289 wpa_s->dpp_listen_freq, remaining, freq, wait_time); in wpas_dpp_stop_listen_for_tx() 583 unsigned int wait_time, diff_ms; in wpas_dpp_reply_wait_timeout() local [all …]
|
/external/webrtc/modules/video_coding/timing/ |
D | timing_unittest.cc | 43 auto wait_time = timing.MaxWaitingTime( in TEST() local 48 EXPECT_EQ(jitter_delay, wait_time); in TEST() 55 wait_time = timing.MaxWaitingTime( in TEST() 59 EXPECT_EQ(jitter_delay - TimeDelta::Millis(10), wait_time); in TEST() 64 wait_time = timing.MaxWaitingTime( in TEST() 67 EXPECT_EQ(jitter_delay, wait_time); in TEST() 77 wait_time = timing.MaxWaitingTime( in TEST() 80 EXPECT_EQ(jitter_delay, wait_time); in TEST() 92 wait_time = timing.MaxWaitingTime( in TEST() 95 EXPECT_EQ(jitter_delay, wait_time); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/executor/ |
D | mpmcqueue.cc | 36 gpr_timespec wait_time = in PopFront() local 39 stats_.total_queue_time = gpr_time_add(stats_.total_queue_time, wait_time); in PopFront() 41 gpr_convert_clock_type(stats_.max_queue_time, GPR_TIMESPAN), wait_time); in PopFront() 143 void* InfLenFIFOQueue::Get(gpr_timespec* wait_time) { in Get() argument 149 wait_time != nullptr) { in Get() 160 wait_time != nullptr) { in Get() 161 *wait_time = gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), start_time); in Get()
|
D | threadpool.cc | 31 gpr_timespec wait_time = gpr_time_0(GPR_TIMESPAN); in Run() local 32 elem = queue_->Get(&wait_time); in Run() 33 stats_.sleep_time = gpr_time_add(stats_.sleep_time, wait_time); in Run()
|
D | mpmcqueue.h | 45 virtual void* Get(gpr_timespec* wait_time) = 0; 68 void* Get(gpr_timespec* wait_time) override;
|
/external/arm-trusted-firmware/drivers/renesas/common/delay/ |
D | micro_delay.c | 23 uint64_t wait_time = 0U; in rcar_micro_delay() local 27 while (micro_sec > wait_time) { in rcar_micro_delay() 29 wait_time = ((get_count - base_count) * RCAR_CONV_MICROSEC) / freq; in rcar_micro_delay()
|
/external/autotest/server/cros/crosperf/ |
D | device_setup_utils_unittest.py | 613 wait_time = device_setup_utils.wait_cooldown(self.dut, cooldown_time, 618 self.assertEqual(wait_time, 0) 639 wait_time = device_setup_utils.wait_cooldown(self.dut, cooldown_time, 644 self.assertGreater(wait_time, 0) 668 wait_time = device_setup_utils.wait_cooldown(self.dut, cooldown_time, 673 self.assertGreater(wait_time, 0) 700 wait_time = device_setup_utils.wait_cooldown(self.dut, cooldown_time, 705 self.assertEqual(wait_time, cooldown_time * 60) 738 wait_time = device_setup_utils.wait_cooldown(self.dut, cooldown_time, 743 self.assertGreater(wait_time, 0) [all …]
|
/external/toolchain-utils/cros_utils/ |
D | device_setup_utils_unittest.py | 566 wait_time = self.dw.WaitCooldown() 571 self.assertEqual(wait_time, 0) 588 wait_time = self.dw.WaitCooldown() 592 self.assertGreater(wait_time, 0) 606 wait_time = self.dw.WaitCooldown() 610 self.assertGreater(wait_time, 0) 631 wait_time = self.dw.WaitCooldown() 635 self.assertGreater(wait_time, 0) 652 wait_time = self.dw.WaitCooldown() 661 self.assertGreater(wait_time, 0) [all …]
|
/external/autotest/site_utils/ |
D | rpc_flight_recorder.py | 83 wait_time = (start_time + period) - time.time() 84 if wait_time > 0: 85 time.sleep(wait_time) 112 wait_time = (start_time + period) - time.time() 113 if wait_time > 0: 114 time.sleep(wait_time)
|
/external/openthread/tests/toranj/ncp/ |
D | test-603-channel-manager-announce-recovery.py | 41 def verify_channel(nodes, new_channel, wait_time=20): argument 49 if time.time() - start_time > wait_time: 51 … time.time() - start_time, wait_time))
|
D | test-600-channel-manager-properties.py | 104 wait_time = 20 variable 107 if time.time() - start_time > wait_time: 108 …int('Took too long to restore after reset ({}>{} sec)'.format(time.time() - start_time, wait_time))
|
D | test-601-channel-manager-channel-change.py | 41 def verify_channel(nodes, new_channel, wait_time=20): argument 49 if time.time() - start_time > wait_time: 51 … time.time() - start_time, wait_time))
|
D | test-602-channel-manager-channel-select.py | 41 def verify_channel(nodes, new_channel, wait_time=20): argument 49 if time.time() - start_time > wait_time: 51 … time.time() - start_time, wait_time))
|
D | test-025-network-data-timeout.py | 149 wait_time = 15 variable 222 wpan.verify_within(check_prefixes, wait_time) 248 wpan.verify_within(check_prefixes_on_r1_after_r2_leave, wait_time)
|
/external/python/apitools/apitools/base/py/ |
D | util.py | 160 wait_time = 2 ** retry_attempt 161 max_jitter = wait_time / 4.0 162 wait_time += random.uniform(-max_jitter, max_jitter) 163 return max(1, min(wait_time, max_wait))
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_dev_disc.c | 71 unsigned int wait_time; in p2p_send_dev_disc_req() local 92 wait_time = 1000; in p2p_send_dev_disc_req() 93 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_send_dev_disc_req() 94 wait_time = p2p->cfg->max_listen; in p2p_send_dev_disc_req() 97 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_send_dev_disc_req()
|
D | p2p_sd.c | 278 unsigned int wait_time; in p2p_start_sd() local 312 wait_time = 5000; in p2p_start_sd() 313 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_start_sd() 314 wait_time = p2p->cfg->max_listen; in p2p_start_sd() 317 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd() 429 unsigned int wait_time = 200; in p2p_sd_response() local 464 wait_time = 0; /* no more SD frames in the sequence */ in p2p_sd_response() 475 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response() 628 unsigned int wait_time = 200; in p2p_rx_gas_comeback_req() local 681 wait_time = 0; /* no more SD frames in the sequence */ in p2p_rx_gas_comeback_req() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | accounting.c | 464 unsigned int i, wait_time; in accounting_interim_error_cb() local 491 wait_time = 0; in accounting_interim_error_cb() 493 wait_time = 3; /* RADIUS_CLIENT_FIRST_WAIT */ in accounting_interim_error_cb() 495 wait_time *= 2; in accounting_interim_error_cb() 497 res = eloop_deplete_timeout(wait_time, 0, accounting_interim_update, in accounting_interim_error_cb() 503 MAC2STR(addr), sta->acct_interim_errors, wait_time); in accounting_interim_error_cb()
|
D | dpp_hostapd.c | 194 unsigned int wait_time, max_tries; in hostapd_dpp_auth_resp_retry() local 214 wait_time = hapd->dpp_resp_retry_time; in hostapd_dpp_auth_resp_retry() 216 wait_time = 1000; in hostapd_dpp_auth_resp_retry() 219 wait_time); in hostapd_dpp_auth_resp_retry() 221 eloop_register_timeout(wait_time / 1000, in hostapd_dpp_auth_resp_retry() 222 (wait_time % 1000) * 1000, in hostapd_dpp_auth_resp_retry() 380 unsigned int wait_time; in hostapd_dpp_pkex_init() local 406 wait_time = 2000; /* TODO: hapd->max_remain_on_chan; */ in hostapd_dpp_pkex_init() 414 pkex->exch_req_wait_time = wait_time; in hostapd_dpp_pkex_init() 606 unsigned int wait_time, diff_ms; in hostapd_dpp_reply_wait_timeout() local [all …]
|
/external/webrtc/media/engine/ |
D | fake_webrtc_video_engine.cc | 232 int64_t wait_time = kEventTimeout.ms(); in WaitForCreatedVideoEncoders() local 236 wait_time = kEventTimeout.ms() - (rtc::TimeMillis() - start_offset_ms); in WaitForCreatedVideoEncoders() 237 } while (wait_time > 0 && created_video_encoder_event_.Wait( in WaitForCreatedVideoEncoders() 238 webrtc::TimeDelta::Millis(wait_time))); in WaitForCreatedVideoEncoders()
|
/external/webrtc/video/render/ |
D | incoming_video_stream.cc | 60 uint32_t wait_time = render_buffers_.TimeToNextFrameRelease(); in Dequeue() local 62 [this]() { Dequeue(); }, TimeDelta::Millis(wait_time)); in Dequeue()
|
/external/autotest/site_utils/admin_audit/ |
D | rpm_validator.py | 76 def validate_power_state(is_on, wait_time): argument 77 deadline = time.time() + wait_time 95 wait_time,
|