Home
last modified time | relevance | path

Searched refs:wait_time (Results 1 – 25 of 71) sorted by relevance

123

/external/autotest/server/cros/ap_configurators/
Dweb_driver_core_helpers.py95 def wait_for_objects_by_id(self, element_ids, wait_time=5): argument
107 xpath_found = self.wait_for_objects_by_xpath(xpaths, wait_time)
113 def wait_for_objects_by_xpath(self, xpaths, wait_time=5): argument
123 if wait_time < len(xpaths):
124 wait_time = len(xpaths)
126 while (int(time.time()) - start_time) < wait_time:
130 wait_time=0.25)
189 def wait_for_object_by_id(self, element_id, wait_time=5): argument
199 return self.wait_for_object_by_xpath(xpath, wait_time=wait_time)
202 def wait_for_object_by_xpath_to_vanish(self, xpath, wait_time=5): argument
[all …]
Dbuffalo_wzr_d1800h_ap_configurator.py94 self.wait_for_object_by_xpath(apply_set, wait_time=40)
107 self.wait_for_object_by_xpath(apply_set, wait_time=40)
123 self.wait_for_object_by_xpath(complete, wait_time=40)
127 self.wait_for_object_by_xpath(complete, wait_time=40)
Dbuffalo_ap_configurator.py100 self.wait_for_object_by_xpath(apply_set, wait_time=30)
103 self.wait_for_object_by_xpath(apply_set, wait_time=30)
299 self.wait_for_object_by_xpath(key_field, wait_time=30)
Ddlink_dwl2100_ap_configurator.py103 wait_time=30)
282 wait_time=30)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D6-1.c111 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/
Ddpp_supplicant.c116 unsigned int wait_time, max_tries; in wpas_dpp_auth_resp_retry() local
135 wait_time = wpa_s->dpp_resp_retry_time; in wpas_dpp_auth_resp_retry()
137 wait_time = 1000; in wpas_dpp_auth_resp_retry()
140 wait_time); in wpas_dpp_auth_resp_retry()
142 eloop_register_timeout(wait_time / 1000, in wpas_dpp_auth_resp_retry()
143 (wait_time % 1000) * 1000, in wpas_dpp_auth_resp_retry()
255 unsigned int wait_time, diff_ms; in wpas_dpp_reply_wait_timeout() local
260 wait_time = wpa_s->dpp_resp_wait_time ? in wpas_dpp_reply_wait_timeout()
267 wait_time, diff_ms); in wpas_dpp_reply_wait_timeout()
269 if (auth->auth_req_ack && diff_ms >= wait_time) { in wpas_dpp_reply_wait_timeout()
[all …]
Doffchannel.c261 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 …]
Dgas_query.c286 struct wpabuf *req, unsigned int wait_time) in gas_query_tx() argument
304 wait_time > gas->wpa_s->max_remain_on_chan) in gas_query_tx()
305 wait_time = gas->wpa_s->max_remain_on_chan; in gas_query_tx()
317 wpabuf_len(req), wait_time, in gas_query_tx()
330 unsigned int wait_time; in gas_query_tx_comeback_req() local
338 wait_time = (query->retry || !query->offchannel_tx_started) ? in gas_query_tx_comeback_req()
341 if (gas_query_tx(gas, query, req, wait_time) < 0) { in gas_query_tx_comeback_req()
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/
Dseq_exec.c74 delay = params->wait_time; in delay_op_execute()
85 u32 unit_base_reg, unit_offset, data, mask, num_of_loops, wait_time; in poll_op_execute() local
93 wait_time = params->wait_time; in poll_op_execute()
115 udelay(wait_time); in poll_op_execute()
128 if (params->wait_time == 0) in get_cfg_seq_op()
/external/wpa_supplicant_8/src/ap/
Ddpp_hostapd.c88 unsigned int wait_time, max_tries; in hostapd_dpp_auth_resp_retry() local
108 wait_time = hapd->dpp_resp_retry_time; in hostapd_dpp_auth_resp_retry()
110 wait_time = 1000; in hostapd_dpp_auth_resp_retry()
113 wait_time); in hostapd_dpp_auth_resp_retry()
115 eloop_register_timeout(wait_time / 1000, in hostapd_dpp_auth_resp_retry()
116 (wait_time % 1000) * 1000, in hostapd_dpp_auth_resp_retry()
214 unsigned int wait_time, diff_ms; in hostapd_dpp_reply_wait_timeout() local
219 wait_time = hapd->dpp_resp_wait_time ? in hostapd_dpp_reply_wait_timeout()
226 wait_time, diff_ms); in hostapd_dpp_reply_wait_timeout()
228 if (auth->auth_req_ack && diff_ms >= wait_time) { in hostapd_dpp_reply_wait_timeout()
[all …]
Daccounting.c461 unsigned int i, wait_time; in accounting_interim_error_cb() local
488 wait_time = 0; in accounting_interim_error_cb()
490 wait_time = 3; /* RADIUS_CLIENT_FIRST_WAIT */ in accounting_interim_error_cb()
492 wait_time *= 2; in accounting_interim_error_cb()
494 res = eloop_deplete_timeout(wait_time, 0, accounting_interim_update, in accounting_interim_error_cb()
500 MAC2STR(addr), sta->acct_interim_errors, wait_time); in accounting_interim_error_cb()
/external/autotest/client/tests/netperf2/
Dnetperf2.py38 cpu_affinity = '', dev = '', bidi = False, wait_time = 5): argument
67 self.wait_time = wait_time
144 if self.wait_time:
145 args += ' -s %d ' % self.wait_time
164 (self.wait_time, 'mpstat', interval))
179 self.actual_times.append(t1 - t0 - self.wait_time)
/external/webrtc/webrtc/common_video/
Dincoming_video_stream.cc213 uint32_t wait_time; in IncomingVideoStreamProcess() local
217 wait_time = render_buffers_->TimeToNextFrameRelease(); in IncomingVideoStreamProcess()
221 if (wait_time > kEventMaxWaitTimeMs) { in IncomingVideoStreamProcess()
222 wait_time = kEventMaxWaitTimeMs; in IncomingVideoStreamProcess()
224 deliver_buffer_event_->StartTimer(false, wait_time); in IncomingVideoStreamProcess()
/external/autotest/site_utils/
Drpc_flight_recorder.py81 wait_time = (start_time + period) - time.time()
82 if wait_time > 0:
83 time.sleep(wait_time)
110 wait_time = (start_time + period) - time.time()
111 if wait_time > 0:
112 time.sleep(wait_time)
/external/python/apitools/apitools/base/py/
Dutil.py154 wait_time = 2 ** retry_attempt
155 max_jitter = wait_time / 4.0
156 wait_time += random.uniform(-max_jitter, max_jitter)
157 return max(1, min(wait_time, max_wait))
/external/autotest/server/site_tests/power_DarkResumeDisplay/
Dpower_DarkResumeDisplay.py101 wait_time = SUSPEND_DURATION * NUM_DARK_RESUMES + SUSPEND_DURATION / 2
102 logging.info('suspending host, and waiting %ds', wait_time)
104 time.sleep(wait_time)
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c278 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 …]
Dp2p_dev_disc.c71 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()
/external/ltp/utils/ffsb-6.0-rc2/
Dmain.c40 int wait_time; member
53 if (difftime.tv_sec >= data->wait_time) in ffsb_poll_fn()
92 pdata.wait_time = fc.time; in main()
152 params[i].wait_time = FFSB_TG_WAIT_TIME; in main()
Dffsb_tg.c84 ffsb_sleep(params->wait_time); in tg_run()
288 printf("\t wait time = %u\n", tg->wait_time); in tg_print_config_helper()
329 tg->wait_time = time; in tg_set_waittime()
334 return tg->wait_time; in tg_get_waittime()
/external/adhd/cras/src/tests/
Dcras_test_client.c1050 struct timespec wait_time; in show_audio_thread_snapshots() local
1057 clock_gettime(CLOCK_REALTIME, &wait_time); in show_audio_thread_snapshots()
1058 wait_time.tv_sec += 2; in show_audio_thread_snapshots()
1061 pthread_cond_timedwait(&done_cond, &done_mutex, &wait_time); in show_audio_thread_snapshots()
1067 struct timespec wait_time; in show_audio_debug_info() local
1073 clock_gettime(CLOCK_REALTIME, &wait_time); in show_audio_debug_info()
1074 wait_time.tv_sec += 2; in show_audio_debug_info()
1077 pthread_cond_timedwait(&done_cond, &done_mutex, &wait_time); in show_audio_debug_info()
1090 struct timespec wait_time; in print_hotword_models() local
1097 clock_gettime(CLOCK_REALTIME, &wait_time); in print_hotword_models()
[all …]
/external/autotest/server/site_tests/firmware_IntegratedU2F/
Dfirmware_IntegratedU2F.py113 wait_time = int(time.time() - start_time)
114 if wait_time:
115 logging.info('Took %ss to find device', wait_time)
/external/autotest/server/site_tests/enterprise_CFM_Aver520Updater/
Denterprise_CFM_Aver520Updater.py226 def wait_for_aver_camera(self, wait_time=30): argument
235 NUM_ITERATIONS = max(wait_time / TIME_SLEEP, 1)
249 wait_time, self.camera)
382 self.wait_for_aver_camera(wait_time=0)
/external/autotest/client/deps/glbench/src/
Dutils.cc151 double wait_time = 1.0e-6 * (time_now - time_start); in WaitForCoolMachine() local
152 assert(wait_time >= 0); in WaitForCoolMachine()
153 assert(wait_time < timeout + 5.0); in WaitForCoolMachine()
154 return wait_time; in WaitForCoolMachine()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dfork_posix.pyx.pxi171 wait_time = timeout_secs
175 self._condition.wait(wait_time)
181 wait_time = end_time - time.time()
182 if wait_time <= 0:

123