Home
last modified time | relevance | path

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

1234

/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/
DBtFunhausMetricsTest.py58 start_time = time.time()
63 bt_duration = time.time() - start_time
111 start_time = time.time()
114 a2dp_duration += (time.time() - start_time)
116 bt_duration += (time.time() - start_time)
157 start_time = time.time()
161 bt_duration = time.time() - start_time
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_monitor.py56 def _write_raw_data_in_standard_format(raw_data, path, start_time): argument
70 (timestamp + start_time, amps))
147 def measure(self, measurement_args=None, start_time=None, argument
156 if monsoon_output_path and start_time is not None:
159 monsoon_output_path, start_time)
183 def get_metrics(self, start_time=None, voltage=None, monsoon_file_path=None, argument
200 if start_time is None:
/tools/test/connectivity/acts_tests/tests/google/bt/sar/
DBtSarSanityTest.py86 start_time = self.dut.adb.shell('date +%s.%m')
94 device_state = self.get_current_device_state(self.dut, start_time)
146 start_time = self.dut.adb.shell('date +%s.%m')
154 self.dut, start_time)
202 start_time = self.dut.adb.shell('date +%s.%m')
205 read_reg_domain = self.get_country_code(self.dut, start_time)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dbt_utils.py102 start_time = time.time()
129 return end_time - start_time
142 start_time = end_time = time.time()
163 return True, end_time - start_time
201 start_time = end_time = time.time()
221 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/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dwmm_transceiver.py286 def start_asynchronous_streams(self, start_time=None): argument
315 'start_time': start_time
397 start_time=None): argument
441 if not start_time:
442 start_time = time.time()
443 time_str = datetime.fromtimestamp(start_time).strftime('%H:%M:%S.%f')
450 if start_time:
452 while current_time < start_time:
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/
DWlanWmmTest.py408 start_time = 0
448 x for x in range(start_time, start_time + stream_time)
465 start_time = start_time + longest_stream_time
492 max_bw_label = Label(x=(0.5 * start_time),
604 start_time = time.time() + 5
606 transmitter.start_asynchronous_streams(start_time=start_time)
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py87 self.start_time = None
111 self.start_time = time.time()
130 and self.sampling_duration < time.time() - self.start_time):
197 self.start_time = 0
205 if buffer and not self.start_time and i == 0:
206 self.start_time = buffer[0].time_of_read
208 if (buffer[i].time_of_read - self.start_time >
/tools/acloud/list/
Dinstance_test.py175 start_time = "error time"
177 instance._GetElapsedTime(start_time))
181 start_time = "2019-01-14T03:00:00.000-07:00"
185 datetime.timedelta(hours=10), instance._GetElapsedTime(start_time))
189 start_time = "Mon Jan 14 08:10:10 2019"
193 datetime.timedelta(hours=2), instance._GetElapsedTime(start_time))
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/
Dcommon.py110 start_time = None
115 if start_time is None:
116 start_time = sample_time
118 sample_time - start_time,
/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.py69 start_time = get_current_epoch_time()
79 time_bonds.append((start_time, end_time))
103 asserts.assert_true(start_time <= t <= end_time,
105 (t, start_time, end_time))
/tools/test/connectivity/acts_tests/tests/google/wifi/
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):
DWifiStressTest.py324 start_time = time.time()
331 total_time = time.time() - start_time
360 start_time = time.time()
364 total_time = time.time() - start_time
368 total_time = time.time() - start_time
/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_tests/tests/google/gnss/
DGnssConcurrencyTest.py126 start_time = utils.epoch_to_human_time(begin_time)
127 start_time = datetime.datetime.strptime(start_time,
130 (search_results[0]["datetime_obj"] - start_time).total_seconds())
/tools/asuite/atest-py2/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/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/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
DBluetoothBaseTest.py45 start_time = 0 variable in BluetoothBaseTest
181 self.start_time = self._get_time_in_milliseconds()
184 total_time = self._get_time_in_milliseconds() - self.start_time
186 self.start_time = 0
DBtSarBaseTest.py264 start_time = self.dut.adb.shell('date +%s.%m')
272 self.dut, start_time, type=type)
335 start_time = self.dut.adb.shell('date +%s.%m')
343 self.dut, start_time, type='BLE')
355 self.dut, start_time)
/tools/test/connectivity/acts_tests/acts_contrib/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_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
D__init__.py142 start_time = time.time()
143 while time.time() < start_time + self.timeout:
489 start_time = time.time()
491 while time.time() < start_time + self.lock_timeout:
/tools/asuite/atest-py2/
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)
/tools/asuite/atest/
Datest_execution_info_unittest.py115 start_time = time.time()
117 self.assertTrue(aei.preparation_time(start_time) is None)
119 self.assertFalse(aei.preparation_time(start_time) is None)

1234