Home
last modified time | relevance | path

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

12345678910>>...20

/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveSmsTest.py20 import time
150 time.sleep(30)
193 time.sleep(30)
523 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
547 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
570 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
637 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
660 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
685 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
709 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
[all …]
DTelLiveStressTest.py24 import time
283 time.sleep(WAIT_TIME_CHANGE_MESSAGE_SUB_ID)
382 time.sleep(WAIT_TIME_CHANGE_VOICE_SUB_ID)
470 time.sleep(5)
475 time.sleep(check_interval)
520 time.sleep(30)
588 time.sleep(WAIT_TIME_AFTER_MODE_CHANGE)
623 time.sleep(WAIT_TIME_AFTER_MODE_CHANGE)
673 while time.time() < self.finishing_time:
681 time.sleep(self.crash_check_interval)
[all …]
DTelLiveDataTest.py22 import time
178 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
206 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
244 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
281 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
309 time.sleep(15)
325 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
673 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING)
977 time.sleep(10)
994 time.sleep(10)
[all …]
DTelLiveMobilityStressTest.py22 import time
187 while time.time() < self.finishing_time:
191 time.sleep(self.crash_check_interval)
218 while time.time() < self.finishing_time:
249 while time.time() < self.finishing_time:
277 while time.time() < self.finishing_time:
291 time.sleep(random.randrange(0, self.max_sleep_time))
311 while time.time() < self.finishing_time:
319 time.sleep(random.randrange(0, self.max_sleep_time))
343 while time.time() < self.finishing_time:
[all …]
/tools/test/connectivity/acts/framework/acts/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/framework/acts/test_utils/bt/
Dbt_carkit_lib.py17 import time
70 end_time = time.time() + default_timeout + 10
72 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 …]
Dbt_test_utils.py23 import time
116 end_time = time.time() + timeout_sec
117 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):
241 time.sleep(connection_check_period)
263 time.sleep(2)
312 end_time = time.time() + 10
[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 …]
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py26 import time
489 time.sleep(5)
665 time.sleep(30)
686 time.sleep(30)
706 time.sleep(30)
942 time.sleep(0.1)
961 timeout_time = time.time() + MAX_WAIT_TIME_AIRPLANEMODE_EVENT
986 log, ad, False, timeout_time - time.time()):
997 timeout_time - time.time()):
1114 end_time = time.time() + timeout
[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
185 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS
201 end_time = int(time.time() * 1000) + 2 * HOUR_IN_MILLIS
240 curr_time = time.time()
242 while time.time() < curr_time + TIMEOUT:
292 time.sleep(WIFI_SLEEP)
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiStressTest.py20 import time
159 time.sleep(secs)
197 time.sleep(self.pno_interval)
202 time.sleep(60)
238 startTime = time.time()
240 startup_time = time.time() - startTime
259 startTime = time.time()
261 startup_time = time.time() - startTime
296 time.sleep(WAIT_BEFORE_CONNECTION)
320 start_time = time.time()
[all …]
DWifiManagerTest.py20 import time
246 time.sleep(wait_time)
283 def run_iperf_rx_tx(self, time, omit=10): argument
284 args = "-p {} -t {} -O 10".format(self.iperf_server_port, time, omit)
287 args = "-p {} -t {} -O 10 -R".format(self.iperf_server_port, time,
414 time.sleep(DEFAULT_TIMEOUT)
445 time.sleep(DEFAULT_TIMEOUT)
447 time.sleep(DEFAULT_TIMEOUT)
450 time.sleep(DEFAULT_TIMEOUT)
481 time.sleep(DEFAULT_TIMEOUT)
[all …]
DWifiIFSTwTest.py19 import time
134 time.sleep(10)
138 time.sleep(5)
147 time.sleep(1)
151 time.sleep(5)
160 time.sleep(1)
167 file_name = time.strftime("%Y-%m-%d_%H:%M:%S", time.localtime())
209 time.sleep(1)
216 time.sleep(10)
256 start_time = time.time()
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabNeighborCellTest.py21 import time
455 time.sleep(delay_each_sample)
534 time.sleep(1)
547 time.sleep(self._ANRITSU_SETTLING_TIME)
566 time.sleep(interval)
879 time.sleep(self._SETTLING_TIME)
955 time.sleep(self._SETTLING_TIME)
1042 time.sleep(self._SETTLING_TIME)
1143 time.sleep(self._SETTLING_TIME)
1262 time.sleep(self._SETTLING_TIME)
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_retail_ap.py21 import time
108 start_time = time.time()
109 while time.time() < start_time + self.timeout:
113 time.sleep(BROWSER_WAIT_SHORT)
181 time.sleep(BROWSER_WAIT_MED)
420 start_time = time.time()
422 while time.time() < start_time + self.lock_timeout:
426 time.sleep(BROWSER_WAIT_SHORT)
643 time.sleep(BROWSER_WAIT_SHORT)
653 time.sleep(BROWSER_WAIT_SHORT)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py22 import time
326 curr_time = time.time()
327 while time.time() < curr_time + timeout:
331 time.sleep(1)
341 curr_time = time.time()
342 while time.time() < curr_time + timeout:
346 time.sleep(1)
363 curr_time = time.time()
364 while time.time() < curr_time + timeout:
368 time.sleep(1)
[all …]
Dandroid_device.py23 import time
508 time.sleep(0.2)
1043 test_name = test_name or time.strftime("%Y-%m-%d-%Y-%H-%M-%S")
1053 time.sleep(10)
1083 time.sleep(10)
1204 timeout_start = time.time()
1209 while time.time() < timeout_start + timeout:
1219 time.sleep(5)
1244 timeout_start = time.time()
1249 while time.time() < timeout_start + timeout:
[all …]
Dbluetooth_pts_device.py56 import time
385 time.sleep(sniffer_timeout)
451 end_time = time.time() + 10
452 while not self.sniffer_ready and time.time() < end_time:
453 time.sleep(1)
473 time.sleep(1)
497 time.sleep(1)
606 time.sleep(1)
661 end_time = time.time() + 60
662 while self.sniffer_ready == False and end_time > time.time():
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/
DBtFunhausMetricsTest.py14 import time
60 start_time = time.time()
64 time.sleep(20)
65 bt_duration = time.time() - start_time
113 start_time = time.time()
116 a2dp_duration += (time.time() - start_time)
117 time.sleep(20)
118 bt_duration += (time.time() - start_time)
159 start_time = time.time()
162 time.sleep(20)
[all …]
/tools/tradefederation/core/python-lib/tradefed_py/
Dtf_runner.py19 import time
60 …resp = {_START_TIME_TAG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: …
70 …resp = {_END_TIME_TAG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: se…
83 …resp = {_END_TIME_TAG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: se…
96 …resp = {_END_TIME_TAG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: se…
109 …resp = {_END_TIME_TAG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: se…
121 …resp = {_END_TIME_TAG: time.time(), _CLASSNAME_TAG: self._getClassName(test), _METHOD_NAME_TAG: se…
177 startTime = time.time()
187 stopTestRun(time.time() - startTime)
190 stopTime = time.time()
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DWlanRebootTest.py20 import time
259 timeout = time.time() + self.dut_ip_address_timeout
260 while time.time() < timeout:
271 time.sleep(1)
289 timeout = time.time() + self.dut_ip_address_timeout
290 while time.time() < timeout:
300 time.sleep(1)
428 time.sleep(3)
457 timeout = time.time() + self.dut_network_connection_timeout
458 while time.time() < timeout:
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py17 import time
376 time.sleep(5)
408 time.sleep(dwelltime)
439 time.sleep(dwelltime)
554 time.sleep(10)
558 time.sleep(30)
570 time.sleep(10)
576 time.sleep(5)
599 time.sleep(10)
621 time.sleep(3)
[all …]
/tools/asuite/atest/
Datest.py35 import time
157 ctime = time.strftime(TEST_RUN_DIR_PREFIX, time.localtime())
663 start = time.time()
716 find_start = time.time()
718 find_duration = time.time() - find_start
745 build_start = time.time()
747 build_duration = time.time() - build_start
757 acloud_duration = time.time() - acloud_start
780 test_start = time.time()
799 duration=metrics_utils.convert_duration(time.time() - test_start))
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py21 import time
658 time.sleep(sleep_interval)
720 time.sleep(sleep_interval)
803 time.sleep(3)
809 time.sleep(3)
883 def set_lte_rrc_status_change_timer(self, time): argument
889 cmd = "L_STATTMR %s" % time
940 time.sleep(sleep_interval)
967 time.sleep(sleep_interval)
1050 time.sleep(sleep_interval)
[all …]

12345678910>>...20