/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/ |
D | apollo_acts.py | 20 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 …]
|
D | bt_utils.py | 33 import time 101 start_time = time.time() 127 end_time = time.time() 141 start_time = end_time = time.time() 161 end_time = time.time() 200 start_time = end_time = time.time() 218 end_time = time.time()
|
/tools/test/connectivity/acts/tests/google/bt/audio_lab/ |
D | BtFunhausMetricsTest.py | 14 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/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | coex_test_utils.py | 23 import time 90 time.sleep(AVRCP_WAIT_TIME) 94 time.sleep(AVRCP_WAIT_TIME) 97 time.sleep(AVRCP_WAIT_TIME) 106 time.sleep(AVRCP_WAIT_TIME) 108 time.sleep(AVRCP_WAIT_TIME) 189 time.sleep(AP_START_TIME) 222 end_time = time.time() + 10 227 while (time.time() < end_time and 252 time.sleep(0.1) [all …]
|
D | bluez_test_utils.py | 21 import time 115 time.sleep(5) 291 time.sleep(DISCOVERY_TIME) 418 time.sleep(10) #Time taken to check disconnection. 435 time.sleep(WAIT_TIME) 439 time.sleep(WAIT_TIME) 456 time.sleep(WAIT_TIME) 495 time.sleep(WAIT_TIME) 514 time.sleep(WAIT_TIME) 521 time.sleep(WAIT_TIME) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_carkit_lib.py | 17 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 …]
|
D | bt_test_utils.py | 23 import time 185 time.sleep(1) 215 start_time = time.time() 217 while not connected and (time.time() - start_time < timeout): 227 time.sleep(connection_check_period) 249 time.sleep(2) 298 end_time = time.time() + 10 303 while (time.time() < end_time 325 time.sleep(0.1) 763 time.sleep(interval) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/tel_simulations/ |
D | BaseSimulation.py | 17 import time 124 time.sleep(2) 143 time.sleep(2) 147 time.sleep(2) 173 time.sleep(3) 185 time.sleep(self.SETTLING_TIME) 192 time.sleep(2) 195 time.sleep(2) 210 time.sleep(2) 227 time.sleep(2) [all …]
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveSmsTest.py | 20 import time 136 time.sleep(30) 179 time.sleep(30) 460 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING) 484 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING) 507 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING) 531 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING) 554 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING) 578 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING) 602 time.sleep(WAIT_TIME_ANDROID_STATE_SETTLING) [all …]
|
D | TelLiveMobilityStressTest.py | 22 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/controllers/ |
D | arduino_wifi_dongle.py | 22 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 …]
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | jaybird_x3.py | 18 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 …]
|
D | earstudio_receiver.py | 18 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/tests/google/wifi/ |
D | WifiStressTest.py | 20 import time 164 time.sleep(secs) 202 time.sleep(self.pno_interval) 207 time.sleep(20) 243 startTime = time.time() 245 startup_time = time.time() - startTime 264 startTime = time.time() 266 startup_time = time.time() - startTime 301 time.sleep(WAIT_BEFORE_CONNECTION) 325 start_time = time.time() [all …]
|
D | WifiIFSTwTest.py | 19 import time 135 time.sleep(10) 139 time.sleep(5) 148 time.sleep(1) 152 time.sleep(5) 161 time.sleep(1) 168 file_name = time.strftime("%Y-%m-%d_%H:%M:%S", time.localtime()) 210 time.sleep(1) 217 time.sleep(10) 257 start_time = time.time() [all …]
|
D | WifiPreFlightTest.py | 19 import time 93 start_time = time.time() 94 while(time.time() < start_time + SCAN_TIME): 97 time.sleep(WAIT_TIME) 121 start_time = time.time() 122 while(time.time() < start_time + SCAN_TIME): 123 time.sleep(WAIT_TIME)
|
D | WifiWakeTest.py | 17 import time 168 time.sleep(PRESCAN_DELAY_SEC) 185 time.sleep(LAST_DISCONNECT_TIMEOUT_SEC * 1.2) 187 time.sleep(PRESCAN_DELAY_SEC) 218 time.sleep(LAST_DISCONNECT_TIMEOUT_SEC * 1.2) 220 time.sleep(PRESCAN_DELAY_SEC) 237 time.sleep(PRESCAN_DELAY_SEC) 259 time.sleep(LAST_DISCONNECT_TIMEOUT_SEC * 0.4) 261 time.sleep(PRESCAN_DELAY_SEC) 281 time.sleep(LAST_DISCONNECT_TIMEOUT_SEC * 1.2) [all …]
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
D | tf_runner.py | 19 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/google/bt/test_tools/ |
D | ToolsTest.py | 20 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/google/bt/headphone_automation/ |
D | HeadphoneTest.py | 25 import time 51 time.sleep(10) 57 end_time = time.time() + 20 60 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 …]
|
/tools/tradefederation/core/atest/metrics/ |
D | clearcut_client.py | 28 import time 97 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_now 145 if self._min_next_request_time > time.time(): 168 / 1000 + time.time())
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | SmartMonkeyLogItem.java | 106 public void setStartTime(Date time) { in setStartTime() argument 107 setAttribute(START_TIME, time); in setStartTime() 113 public void setIntermediateTime(Date time) { in setIntermediateTime() argument 114 setAttribute(INTERMEDIATE_TIME, time); in setIntermediateTime() 134 public void setStopTime(Date time) { in setStopTime() argument 135 setAttribute(STOP_TIME, time); in setStopTime() 213 public void setTotalDuration(long time) { in setTotalDuration() argument 214 setAttribute(TOTAL_DURATION, time); in setTotalDuration() 307 public void addAnrTime(Date time) { in addAnrTime() argument 308 ((DateSet) getAttribute(ANR_TIMES)).add(time); in addAnrTime() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/car/ |
D | car_telecom_utils.py | 30 import time 114 end_time = time.time() + 10 115 while True and time.time() < end_time: 201 start_time = time.time() 202 while time.time() < start_time + timeout: 207 time.sleep(1) 446 start_time = time.time() 447 while time.time() < start_time + timeout: 451 time.sleep(1)
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | hostapd.py | 19 import time 128 start_time = time.time() 129 while time.time() - start_time < timeout and not self.is_alive(): 131 time.sleep(0.1) 141 start_time = time.time() 142 while time.time() - start_time < timeout:
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TimeUtil.java | 42 StringBuilder time = new StringBuilder(); in formatElapsedTime() local 44 time.append(hours); in formatElapsedTime() 45 time.append("h "); in formatElapsedTime() 48 time.append(minutes); in formatElapsedTime() 49 time.append("m "); in formatElapsedTime() 51 time.append(seconds); in formatElapsedTime() 52 time.append("s"); in formatElapsedTime() 54 return time.toString(); in formatElapsedTime()
|