/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 …]
|
/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/tradefederation/core/common_util/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()
|
/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 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/asuite/atest/metrics/ |
D | clearcut_client.py | 28 import time 90 log_request.request_time_ms = int(time.time() * 1000) 109 and self._scheduled_flush_time > time.time()): 119 min_wait_sec = self._min_next_request_time - time.time() 125 self._scheduled_flush_time = time.time() + time_from_now 139 if self._min_next_request_time > time.time(): 162 / 1000 + time.time())
|
/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/test/connectivity/acts/framework/acts/test_utils/fuchsia/ |
D | bt_test_utils.py | 17 import time 39 end_time = time.time() + timeout 41 while time.time() < end_time and not found_device: 42 time.sleep(1)
|
/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/tests/google/wifi/ |
D | WifiPreFlightTest.py | 19 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)
|
D | WifiIFSTwTest.py | 19 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/google/bt/ |
D | AkXB10PairingTest.py | 20 import time 36 time.sleep(3) 44 time.sleep(0.25) 54 time.sleep(scan_time) 123 time.sleep(5) 154 end_time = time.time() + 20 156 while (time.time() < end_time):
|
D | SonyXB2PairingTest.py | 20 import time 36 time.sleep(3) 44 time.sleep(0.25) 54 time.sleep(scan_time) 123 time.sleep(5) 154 end_time = time.time() + 20 156 while (time.time() < end_time):
|
/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/framework/acts/test_utils/wifi/ |
D | RttPostFlightTest.py | 17 import time 41 curr_time = time.time() 42 while time.time() < curr_time + TIMEOUT: 43 time.sleep(WAIT_TIME)
|
/tools/test/connectivity/acts/tests/google/nfc/ |
D | NfcBasicFunctionalityTest.py | 17 import time 44 end_time = time.time() + 10 45 while end_time > time.time(): 56 end_time = time.time() + 10 57 while end_time > time.time():
|
/tools/test/connectivity/acts/framework/acts/test_utils/users/ |
D | users.py | 21 import time 61 start_time = time.time() 62 while (start_time + timeout) > time.time(): 63 time.sleep(1)
|
/tools/test/connectivity/acts/framework/acts/libs/utils/ |
D | timer.py | 3 import time 47 start_time = time.time() 74 stop_time = time.time() 107 curr_time = time.time()
|
/tools/test/connectivity/acts/tests/google/net/ |
D | SocketKeepaliveTest.py | 18 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 …]
|
/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/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/controllers/pdu_lib/synaccess/ |
D | np02b.py | 22 import time 116 end_time = time.time() + timeout 117 while time.time() < end_time: 121 time.sleep(.1) 154 time.sleep(.1) 159 time.sleep(.1) 179 time.sleep(0.5)
|
/tools/test/connectivity/acts/tests/google/wifi/p2p/functional/ |
D | WifiP2pLocalServiceTest.py | 17 import time 55 time.sleep(p2pconsts.DEFAULT_FUNCTION_SWITCH_TIME) 59 time.sleep(p2pconsts.DEFAULT_FUNCTION_SWITCH_TIME) 63 time.sleep(p2pconsts.DEFAULT_FUNCTION_SWITCH_TIME) 87 time.sleep(p2pconsts.DEFAULT_FUNCTION_SWITCH_TIME) 91 time.sleep(p2pconsts.DEFAULT_FUNCTION_SWITCH_TIME) 95 time.sleep(p2pconsts.DEFAULT_FUNCTION_SWITCH_TIME)
|
/tools/test/connectivity/acts/tests/google/fuchsia/bt/ |
D | FuchsiaBtScanTest.py | 24 import time 69 time.sleep(self.scan_timeout_seconds) 106 end_time = time.time() + self.scan_timeout_seconds 108 while time.time() < end_time: 116 time.sleep(poll_timeout)
|
/tools/test/connectivity/acts/tests/google/bt/car_bt/ |
D | BtCarToggleTest.py | 25 import time 46 start_time = time.time() 47 while (start_time + 0.01 * delay_interval) > time.time(): 48 time.sleep(0.1)
|