Home
last modified time | relevance | path

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

1234567891011

/tools/test/connectivity/acts/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 …]
DThreeButtonDongleTest.py19 import time
52 end_time = time.time() + 20
54 while time.time() < end_time:
120 time.sleep(2)
DBtChameleonTest.py27 import time
59 time.sleep(delay_after_binding_seconds)
71 time.sleep(bluetooth_bind_time_seconds)
73 time.sleep(delay_before_record_seconds)
75 time.sleep(record_seconds + silence_wait_seconds)
148 time.time())
209 time.time())
DBtFunhausTest.py19 import time
64 end_time = time.time() + one_min_in_sec
/tools/test/connectivity/acts/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)
DBtReconnectTest.py17 import time
57 time.sleep(sleep_time_ms)
60 start_time = time.time()
64 while time.time() < start_time + 10 and len(
/tools/tradefederation/core/src/com/android/tradefed/util/
DTimeUtil.java42 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/
Darduino_wifi_dongle.py23 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/
DWifiPreFlightTest.py19 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)
/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/google/nfc/
DNfcBasicFunctionalityTest.py17 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/tests/google/bt/
DSonyXB2PairingTest.py20 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):
DAkXB10PairingTest.py20 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/test/connectivity/acts/framework/acts/test_utils/bt/
Dnative_bt_test_utils.py20 import time
34 time.sleep(5) #temporary sleep statement
36 time.sleep(5) #temporary sleep statement
38 time.sleep(5) #temporary sleep statement
Dbt_power_test_utils.py17 import time
43 time.sleep(2)
50 time.sleep(2)
60 time.sleep(2)
69 time.sleep(2)
75 time.sleep(2)
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 …]
DBtFunhausBaseTest.py27 import time
54 end_time = time.time() + 20
56 while time.time() < end_time:
182 while time.time() < end_time:
190 time.sleep(sleep_interval)
206 start_time = time.time()
/tools/loganalysis/src/com/android/loganalysis/item/
DSmartMonkeyLogItem.java106 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/ap_lib/
Dbridge_interface.py18 import time
91 time.sleep(5)
96 time.sleep(2)
110 time.sleep(1)
116 time.sleep(2)
119 time.sleep(1)
/tools/test/connectivity/acts/tests/google/fugu/
DAndroidFuguRemotePairingTest.py19 import time
67 end_time = time.time() + 20
69 while time.time() < end_time:
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py23 import time
160 time.sleep(AP_START_TIME)
185 end_time = time.time() + 10
190 while (time.time() < end_time and
215 time.sleep(0.1)
219 time.sleep(10)
259 time.sleep(DISCOVERY_TIME)
358 time.sleep(2)
375 time.sleep(duration)
408 time.sleep(2)
[all …]
Dbluez_test_utils.py21 import time
188 time.sleep(DISCOVERY_TIME)
315 time.sleep(6)
332 time.sleep(WAIT_TIME)
336 time.sleep(WAIT_TIME)
353 time.sleep(WAIT_TIME)
392 time.sleep(WAIT_TIME)
411 time.sleep(WAIT_TIME)
418 time.sleep(WAIT_TIME)
434 time.sleep(WAIT_TIME)
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBTBaseTest.py17 import time
42 time.sleep(2)
79 time.sleep(2)
89 time.sleep(2)
98 time.sleep(2)
104 time.sleep(2)
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/
DMsDosDateTimeUtilsTest.java33 long time = c.getTime().getTime(); in packDate() local
35 int packed = MsDosDateTimeUtils.packDate(time); in packDate()
56 long time = c.getTime().getTime(); in packTime() local
58 int packed = MsDosDateTimeUtils.packTime(time); in packTime()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DMsDosDateTimeUtils.java39 public static int packTime(long time) { in packTime() argument
41 c.setTime(new Date(time)); in packTime()
73 public static int packDate(long time) { in packDate() argument
75 c.setTime(new Date(time)); in packDate()

1234567891011