Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/
DBtFunhausMetricsTest.py14 import time
58 start_time = time.time()
62 time.sleep(20)
63 bt_duration = time.time() - start_time
111 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 …]
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/
Dwlan_policy_controller.py18 import time
70 end_time_sec = time.time() + timeout_sec
73 while time.time() < end_time_sec:
79 time.sleep(1)
104 while time.time() < end_time_sec:
110 time.sleep(1)
118 time.sleep(1)
377 end_time = time.time() + timeout
378 while time.time() < end_time:
379 time_left = max(1, int(end_time - time.time()))
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dapollo_acts.py20 import time
100 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 …]
Dbt_utils.py33 import time
102 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()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/cellular/
Dmodem_logs.py8 import time
70 end_time = time.time() + timeout
71 while time.time() < end_time:
72 time.sleep(polling_interval)
98 end_time = time.time() + timeout
99 while time.time() < end_time:
100 time.sleep(polling_interval)
140 end_time = time.time() + timeout
141 while time.time() < end_time:
142 time.sleep(polling_interval)
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Djaybird_x3.py18 import time
50 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 …]
Dearstudio_receiver.py18 import time
52 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 …]
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py22 import time
325 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 …]
Dfuchsia_device.py23 import time
248 time.sleep(1)
582 end_time = time.time() + ssh_timeout
583 while time.time() < end_time:
756 timeout = time.time() + IP_ADDRESS_TIMEOUT
757 while time.time() < timeout:
768 time.sleep(1)
786 timeout = time.time() + IP_ADDRESS_TIMEOUT
787 while time.time() < timeout:
797 time.sleep(1)
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/test_tools/
DToolsTest.py20 import time
52 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)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiStressTest.py20 import time
190 time.sleep(secs)
226 time.sleep(self.pno_interval)
238 time.sleep(60)
276 startTime = time.time()
278 startup_time = time.time() - startTime
303 startTime = time.time()
305 startup_time = time.time() - startTime
349 time.sleep(WAIT_BEFORE_CONNECTION)
380 start_time = time.time()
[all …]
DWifiPasspointTest.py18 import time
177 time.sleep(DEFAULT_TIMEOUT)
189 start_time = time.time()
190 while time.time() < start_time + OSU_TEST_TIMEOUT:
198 time.sleep(DEFAULT_TIMEOUT)
202 time.sleep(DEFAULT_TIMEOUT)
213 time.sleep(DEFAULT_TIMEOUT)
219 time.sleep(DEFAULT_TIMEOUT)
240 start_time = time.time()
241 while time.time() < start_time + OSU_TEST_TIMEOUT:
[all …]
DWifiIFSTwTest.py19 import time
136 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 …]
DWifiPreFlightTest.py19 import time
92 start_time = time.time()
93 while(time.time() < start_time + SCAN_TIME):
96 time.sleep(WAIT_TIME)
120 start_time = time.time()
121 while(time.time() < start_time + SCAN_TIME):
122 time.sleep(WAIT_TIME)
DWifiWakeTest.py17 import time
206 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 …]
/tools/test/connectivity/acts_tests/tests/google/net/
DSocketKeepaliveTest.py18 import time
108 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 …]
DDataUsageTest.py17 import time
144 end_time = time.time() + TIMEOUT
145 while time.time() < end_time:
152 time.sleep(RETRY_SLEEP*2) # wait to check if download is complete
166 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS
188 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS
207 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS
246 curr_time = time.time()
248 while time.time() < curr_time + TIMEOUT:
298 time.sleep(WIFI_SLEEP)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dbt_test_utils.py20 import time
49 end_time = time.time() + timeout
51 while time.time() < end_time and not found_device:
52 time.sleep(1)
88 end_time = time.time() + timeout
90 while time.time() < end_time and not found_device:
98 time.sleep(1)
137 end_time = time.time() + seconds_allowed_for_state_change
139 while time.time() < end_time and not found_state:
154 time.sleep(1)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_carkit_lib.py17 import time
69 end_time = time.time() + default_timeout + 10
71 while connected_hsp_devices != 1 and time.time() < end_time:
74 time.sleep(3)
99 time.sleep(self.short_timeout)
174 time.sleep(grace_timeout)
180 start_time = time.time()
184 while time.time() < start_time + 10 and len(
188 time.sleep(1)
204 time.sleep(self.short_timeout)
[all …]
Dbt_test_utils.py23 import time
118 end_time = time.time() + timeout_sec
119 while not ad.droid.bluetoothCheckState() and time.time() < end_time:
120 time.sleep(1)
193 time.sleep(1)
230 start_time = time.time()
232 while not connected and (time.time() - start_time < timeout):
248 time.sleep(connection_check_period)
270 time.sleep(2)
318 end_time = time.time() + 10
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Dcoex_test_utils.py22 import time
89 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() + 10
223 while (time.time() < end_time and
248 time.sleep(0.1)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dwmm_transceiver.py19 import time
264 time) = self._parse_stream_parameters(stream_parameters)
278 'time': time
301 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_TIMEOUT
566 while time.time() < end_time:
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/headphone_automation/
DHeadphoneTest.py23 import time
46 time.sleep(10)
51 end_time = time.time() + 20
54 while time.time() < end_time:
67 time.sleep(3)
73 time.sleep(3)
135 time.sleep(6)
140 time.sleep(6)
175 time.sleep(6)
180 time.sleep(6)
[all …]
/tools/asuite/atest/metrics/
Dclearcut_client.py29 import time
100 log_request.request_time_ms = int(time.time() * 1000)
120 and self._scheduled_flush_time > time.time()
131 min_wait_sec = self._min_next_request_time - time.time()
136 self._scheduled_flush_time = time.time() + time_from_now
150 if self._min_next_request_time > time.time():
175 log_response.next_request_wait_millis / 1000 + time.time()
/tools/test/connectivity/acts/framework/acts/controllers/uxm_lib/
Duxm_cellular_simulator.py19 import time
241 time.sleep(interval)
283 time.sleep(10)
290 time.sleep(40)
350 time.sleep(self.TA_BOOT_TIME)
368 time.sleep(10)
548 time.sleep(10)
551 time.sleep(45)
571 time.sleep(2)
574 time.sleep(2)
[all …]

12345678910>>...28