Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 25 of 81) sorted by relevance

1234

/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/
DBtFunhausMetricsTest.py60 start_time = time.time()
65 bt_duration = time.time() - start_time
113 start_time = time.time()
116 a2dp_duration += (time.time() - start_time)
118 bt_duration += (time.time() - start_time)
159 start_time = time.time()
163 bt_duration = time.time() - start_time
/tools/test/connectivity/acts_tests/tests/google/bt/sar/
DBtSarSanityTest.py46 start_time = self.dut.adb.shell('date +%s.%m')
54 device_state = self.get_current_device_state(self.dut, start_time)
109 start_time = self.dut.adb.shell('date +%s.%m')
117 start_time,
152 start_time = self.dut.adb.shell('date +%s.%m')
159 self.dut, start_time)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dbt_utils.py101 start_time = time.time()
128 return end_time - start_time
141 start_time = end_time = time.time()
162 return True, end_time - start_time
200 start_time = end_time = time.time()
219 return True, end_time - start_time
Dapollo_acts.py356 start_time = time.time()
373 if time.time() - start_time > timeout:
466 start_time = time.time()
467 while time.time() - start_time < timeout:
520 start_time = time.time()
521 while time.time() < start_time + timeout:
/tools/acloud/list/
Dinstance_test.py165 start_time = "error time"
167 instance._GetElapsedTime(start_time))
171 start_time = "2019-01-14T03:00:00.000-07:00"
175 datetime.timedelta(hours=10), instance._GetElapsedTime(start_time))
179 start_time = "Mon Jan 14 08:10:10 2019"
183 datetime.timedelta(hours=2), instance._GetElapsedTime(start_time))
Dinstance.py166 def _GetElapsedTime(start_time): argument
176 match = _RE_TIMEZONE.match(start_time)
181 return _GetCurrentLocalTime() - dateutil.parser.parse(start_time)
184 start_time).replace(tzinfo=dateutil.tz.tzlocal())
186 logger.debug(("Can't parse datetime string(%s)."), start_time)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_performance_test_utils.py557 self.start_time = 0
564 if self.start_time == 0:
565 self.start_time = float(match.group('timestamp'))
568 float(match.group('timestamp')) - self.start_time,
1181 start_time = time.time()
1182 while time.time() - start_time < timeout:
1187 elapsed_time = time.time() - start_time
/tools/tradefederation/core/tests/res/testdata/
Dsubprocess2.txt2 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a…
4 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a…
5 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a…
8 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a…
Dsubprocess1.txt2 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"a…
4 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"a…
7 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957284,"className":"a…
10 03-22 14:04:02 E/SubprocessResultsReporter: TEST_STARTED {"start_time":1489160957285,"className":"a…
/tools/test/connectivity/acts/tests/google/wifi/
DWifiStressTest.py320 start_time = time.time()
327 total_time = time.time() - start_time
355 start_time = time.time()
359 total_time = time.time() - start_time
363 total_time = time.time() - start_time
DWifiPreFlightTest.py92 start_time = time.time()
93 while(time.time() < start_time + SCAN_TIME):
120 start_time = time.time()
121 while(time.time() < start_time + SCAN_TIME):
DWifiDppTest.py449 start_time = time.time()
450 while time.time() < start_time + self.DPP_TEST_TIMEOUT:
561 start_time = time.time()
562 while time.time() < start_time + self.DPP_TEST_TIMEOUT:
/tools/test/connectivity/acts_tests/tests/google/bt/test_tools/
DToolsTest.py52 start_time = time.time()
55 while time.time() < start_time + 10 and len(
88 start_time = time.time()
91 while time.time() < start_time + 10 and len(
/tools/test/connectivity/acts_tests/tests/google/bt/
DBtMetricsTest.py68 start_time = get_current_epoch_time()
78 time_bonds.append((start_time, end_time))
102 asserts.assert_true(start_time <= t <= end_time,
104 (t, start_time, end_time))
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py815 start_time = time.time()
816 while time.time() < start_time + duration:
875 start_time = time.time()
876 while time.time() < start_time + duration:
898 start_time = time.time()
899 while time.time() < start_time + duration:
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd.py130 start_time = time.time()
131 while time.time() - start_time < timeout and not self.is_alive():
143 start_time = time.time()
144 while time.time() - start_time < timeout:
Ddhcp_server.py131 start_time = time.time()
132 while time.time() - start_time < timeout and not self.is_alive():
146 start_time = time.time()
147 while time.time() - start_time < timeout:
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBluetoothBaseTest.py47 start_time = 0 variable in BluetoothBaseTest
204 self.start_time = self._get_time_in_milliseconds()
207 total_time = self._get_time_in_milliseconds() - self.start_time
209 self.start_time = 0
Dbt_test_utils.py228 start_time = time.time()
230 while not connected and (time.time() - start_time < timeout):
1348 start_time = time.time()
1349 while (start_time + bt_default_timeout) > time.time():
1705 start_time = time.time()
1706 while time.time() < start_time + timeout:
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dstock_transformers.py67 self.start_time = 0
76 self.start_time = time.time()
88 and self.sampling_duration < time.time() - self.start_time):
97 time_data = struct.pack('dd', time_after_read - self.start_time,
/tools/test/connectivity/acts/framework/acts/test_utils/car/
Dcar_telecom_utils.py201 start_time = time.time()
202 while time.time() < start_time + timeout:
446 start_time = time.time()
447 while time.time() < start_time + timeout:
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py87 self.start_time = None
111 self.start_time = time.time()
131 and self.sampling_duration < time.time() - self.start_time):
147 time_data = struct.pack('dd', time_after_read - self.start_time,
/tools/asuite/atest/metrics/
Dmetrics_utils.py46 if not get_start_time.start_time:
47 get_start_time.start_time = time.time()
48 return get_start_time.start_time
/tools/tradefederation/core/atest/metrics/
Dmetrics_utils.py46 if not get_start_time.start_time:
47 get_start_time.start_time = time.time()
48 return get_start_time.start_time
/tools/tradefederation/core/atest/
Datest_execution_info_unittest.py112 start_time = time.time()
114 self.assertTrue(aei.preparation_time(start_time) is None)
116 self.assertFalse(aei.preparation_time(start_time) is None)

1234