Searched refs:time (Results 1 – 25 of 518) sorted by relevance
12345678910>>...21
18 import time57 end_time = time.time() + timeout60 while time.time() < end_time:66 time.sleep(1)72 while time.time() < end_time:77 time.sleep(1)84 time.sleep(1)342 end_time = time.time() + timeout343 while time.time() < end_time:344 time_left = max(1, int(end_time - time.time()))[all …]
20 import time100 time.sleep(1)101 ini_time = time.time()105 if (time.time() - ini_time) > timeout:108 time.sleep(1)251 time.sleep(2)267 time.sleep(2)356 start_time = time.time()373 if time.time() - start_time > timeout:385 connect_start_time = time.time()[all …]
33 import time102 start_time = time.time()128 end_time = time.time()142 start_time = end_time = time.time()162 end_time = time.time()201 start_time = end_time = time.time()220 end_time = time.time()
14 import time58 start_time = time.time()62 time.sleep(20)63 bt_duration = time.time() - start_time111 start_time = time.time()114 a2dp_duration += (time.time() - start_time)115 time.sleep(20)116 bt_duration += (time.time() - start_time)157 start_time = time.time()160 time.sleep(20)[all …]
20 import time336 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)360 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)383 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)407 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)430 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)454 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)478 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)502 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)578 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)[all …]
17 import time70 end_time = time.time() + default_timeout + 1072 while connected_hsp_devices != 1 and time.time() < end_time:75 time.sleep(3)100 time.sleep(self.short_timeout)175 time.sleep(grace_timeout)181 start_time = time.time()185 while time.time() < start_time + 10 and len(connected_devices) != 1:188 time.sleep(1)204 time.sleep(self.short_timeout)[all …]
23 import time116 end_time = time.time() + timeout_sec117 while not ad.droid.bluetoothCheckState() and time.time() < end_time:118 time.sleep(1)191 time.sleep(1)228 start_time = time.time()230 while not connected and (time.time() - start_time < timeout):248 time.sleep(connection_check_period)269 time.sleep(2)318 end_time = time.time() + 10[all …]
22 import time89 time.sleep(AVRCP_WAIT_TIME)93 time.sleep(AVRCP_WAIT_TIME)97 time.sleep(AVRCP_WAIT_TIME)104 time.sleep(AVRCP_WAIT_TIME)106 time.sleep(AVRCP_WAIT_TIME)185 time.sleep(AP_START_TIME)218 end_time = time.time() + 10223 while (time.time() < end_time and248 time.sleep(0.1)[all …]
18 import time108 time.sleep(3)188 if pkt.time < beg:190 if pkt.time > end:197 time_stamps.append(pkt.time)232 if pkt.time < beg:234 if pkt.time > end:238 ka_dict[pkt[UDP].sport] = [float(pkt.time)]240 ka_dict[pkt[UDP].sport].append(float(pkt.time))396 beg_time = time.time()[all …]
17 import time144 end_time = time.time() + TIMEOUT145 while time.time() < end_time:152 time.sleep(RETRY_SLEEP*2) # wait to check if download is complete166 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS185 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS201 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS240 curr_time = time.time()242 while time.time() < curr_time + TIMEOUT:292 time.sleep(WIFI_SLEEP)[all …]
21 import time89 time.sleep(30)125 end_time = int(time.time() * 1000) + 2 * 1000 * 60 * 60210 curr_time = time.time()211 while time.time() < curr_time + TIMEOUT:218 time.sleep(1)260 curr_time = time.time()261 while time.time() < curr_time + TIMEOUT:268 time.sleep(1)
22 import time325 curr_time = time.time()326 while time.time() < curr_time + timeout:330 time.sleep(1)340 curr_time = time.time()341 while time.time() < curr_time + timeout:345 time.sleep(1)362 curr_time = time.time()363 while time.time() < curr_time + timeout:367 time.sleep(1)[all …]
20 import time163 time.sleep(secs)201 time.sleep(self.pno_interval)206 time.sleep(60)242 startTime = time.time()244 startup_time = time.time() - startTime263 startTime = time.time()265 startup_time = time.time() - startTime300 time.sleep(WAIT_BEFORE_CONNECTION)324 start_time = time.time()[all …]
19 import time136 time.sleep(10)140 time.sleep(5)149 time.sleep(1)153 time.sleep(5)162 time.sleep(1)169 file_name = time.strftime("%Y-%m-%d_%H:%M:%S", time.localtime())211 time.sleep(1)218 time.sleep(10)258 start_time = time.time()[all …]
17 import time206 time.sleep(PRESCAN_DELAY_SEC)224 time.sleep(LAST_DISCONNECT_TIMEOUT_SEC * 1.2)226 time.sleep(PRESCAN_DELAY_SEC)232 time.sleep(WIFI_TOGGLE_DELAY_SEC)268 time.sleep(LAST_DISCONNECT_TIMEOUT_SEC * 1.2)270 time.sleep(PRESCAN_DELAY_SEC)276 time.sleep(WIFI_TOGGLE_DELAY_SEC)289 time.sleep(PRESCAN_DELAY_SEC)298 time.sleep(WIFI_TOGGLE_DELAY_SEC)[all …]
18 import time77 time.sleep(ATTN_SLEEP)125 time.sleep(20)151 time.sleep(ATTN_SLEEP)174 time.sleep(ATTN_SLEEP)198 time.sleep(ATTN_SLEEP)221 time.sleep(ATTN_SLEEP)247 time.sleep(ATTN_SLEEP)253 time.sleep(NETWORK_SELECTION_TIME_GAP)286 time.sleep(NETWORK_SELECTION_TIME_GAP)[all …]
20 import time49 end_time = time.time() + timeout51 while time.time() < end_time and not found_device:52 time.sleep(1)88 end_time = time.time() + timeout90 while time.time() < end_time and not found_device:98 time.sleep(1)137 end_time = time.time() + seconds_allowed_for_state_change139 while time.time() < end_time and not found_state:154 time.sleep(1)
19 import time264 time) = self._parse_stream_parameters(stream_parameters)278 'time': time301 time = pending_stream_config['time']314 'stream_time': time,442 start_time = time.time()451 current_time = time.time()453 current_time = time.time()565 end_time = time.time() + DEFAULT_IP_ADDR_TIMEOUT566 while time.time() < end_time:[all …]
18 import time50 time.sleep(WAIT_FOR_EFFECT_TIME)57 time.sleep(WAIT_FOR_EFFECT_TIME)65 time.sleep(WAIT_FOR_EFFECT_TIME)70 time.sleep(WAIT_FOR_EFFECT_TIME)75 time.sleep(WAIT_FOR_EFFECT_TIME)80 time.sleep(WAIT_FOR_EFFECT_TIME)85 time.sleep(WAIT_FOR_EFFECT_TIME)90 time.sleep(WAIT_FOR_EFFECT_TIME)95 time.sleep(WAIT_FOR_EFFECT_TIME)[all …]
18 import time52 time.sleep(WAIT_FOR_EFFECT_TIME)61 time.sleep(WAIT_FOR_EFFECT_TIME)70 time.sleep(WAIT_FOR_EFFECT_TIME)79 time.sleep(WAIT_FOR_EFFECT_TIME)87 time.sleep(WAIT_FOR_EFFECT_TIME)95 time.sleep(WAIT_FOR_EFFECT_TIME)100 time.sleep(WAIT_FOR_EFFECT_TIME)110 time.sleep(WAIT_FOR_EFFECT_TIME)115 time.sleep(WAIT_FOR_EFFECT_TIME)[all …]
20 import time52 start_time = time.time()55 while time.time() < start_time + 10 and len(57 time.sleep(1)86 time.sleep(6)88 start_time = time.time()91 while time.time() < start_time + 10 and len(93 time.sleep(1)112 time.sleep(3)
25 import time51 time.sleep(10)57 end_time = time.time() + 2060 while time.time() < end_time:73 time.sleep(3)79 time.sleep(3)143 time.sleep(6)148 time.sleep(6)185 time.sleep(6)190 time.sleep(6)[all …]
28 import time97 log_request.request_time_ms = int(time.time() * 1000)116 and self._scheduled_flush_time > time.time()):126 min_wait_sec = self._min_next_request_time - time.time()131 self._scheduled_flush_time = time.time() + time_from_now145 if self._min_next_request_time > time.time():168 / 1000 + time.time())
28 import time97 log_request.request_time_ms = int(time.time() * 1000)116 and self._scheduled_flush_time > time.time()):126 min_wait_sec = self._min_next_request_time - time.time()132 self._scheduled_flush_time = time.time() + time_from_now146 if self._min_next_request_time > time.time():169 / 1000 + time.time())
11 import time55 t0 = time.time()59 if (time.time() - t0) > MAXTRAVELTIME:70 t0 = time.time()74 if (time.time() - t0) > 2:215 time.sleep(1)245 time.sleep(1)247 time.sleep(self.audio_params['duration'])283 time_start = time.time()284 while time.time() < time_start + 5:[all …]