/tools/test/connectivity/acts_tests/tests/google/bt/audio_lab/ |
D | BtFunhausMetricsTest.py | 58 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/ |
D | power_monitor.py | 56 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/tel/lab/ |
D | TelLabPwsTest.py | 91 start_time = datetime.datetime.now() 92 while datetime.datetime.now() - start_time < timeout: 162 start_time = datetime.datetime.now() 164 if datetime.datetime.now() - start_time > SERVICE_RESTART_TIME_OUT: 242 start_time = datetime.datetime.now() - datetime.timedelta(seconds=1) 250 start_time), f'{msg} not received.') 252 self.ad.search_logcat('Failed to play alert sound', start_time), 257 self.ad.search_logcat('playAlertTone: alertType=INFO', start_time), 261 self.ad.search_logcat('playAlertTone: alertType=DEFAULT', start_time),
|
/tools/test/connectivity/acts_tests/tests/google/bt/sar/ |
D | BtSarSanityTest.py | 86 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/ |
D | bt_utils.py | 102 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
|
D | apollo_acts.py | 356 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/ |
D | wmm_transceiver.py | 286 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/ |
D | WlanWmmTest.py | 411 start_time = 0 451 x for x in range(start_time, start_time + stream_time) 468 start_time = start_time + longest_stream_time 495 max_bw_label = Label(x=(0.5 * start_time), 607 start_time = time.time() + 5 609 transmitter.start_asynchronous_streams(start_time=start_time)
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/ |
D | common.py | 110 start_time = None 115 if start_time is None: 116 start_time = sample_time 118 sample_time - start_time,
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/ |
D | transformers.py | 87 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/test/connectivity/acts_tests/tests/google/bt/test_tools/ |
D | ToolsTest.py | 52 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/ |
D | BtMetricsTest.py | 69 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/acts_contrib/test_utils/wifi/wifi_performance_test_utils/ |
D | ping_utils.py | 47 self.start_time = 0 54 if self.start_time == 0: 55 self.start_time = float(match.group('timestamp')) 58 float(match.group('timestamp')) - self.start_time,
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | dhcp_server.py | 150 start_time = time.time() 151 while time.time() - start_time < timeout and not self.is_alive(): 165 start_time = time.time() 166 while time.time() - start_time < timeout:
|
D | hostapd.py | 187 start_time = time.time() 188 while time.time() - start_time < timeout and not self.is_alive(): 200 start_time = time.time() 201 while time.time() - start_time < timeout:
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiPreFlightTest.py | 92 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):
|
D | WifiPasspointTest.py | 193 start_time = time.time() 194 while time.time() < start_time + OSU_TEST_TIMEOUT: 247 start_time = time.time() 248 while time.time() < start_time + OSU_TEST_TIMEOUT: 582 start_time = time.time() 583 while time.time() < start_time + OSU_TEST_TIMEOUT:
|
/tools/acloud/list/ |
D | instance_test.py | 230 start_time = "error time" 232 instance._GetElapsedTime(start_time)) 236 start_time = "2019-01-14T03:00:00.000-07:00" 240 datetime.timedelta(hours=10), instance._GetElapsedTime(start_time)) 244 start_time = "Mon Jan 14 08:10:10 2019" 248 datetime.timedelta(hours=2), instance._GetElapsedTime(start_time))
|
/tools/asuite/atest-py2/metrics/ |
D | metrics_utils.py | 46 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/ |
D | metrics_utils.py | 46 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/ |
D | BluetoothBaseTest.py | 45 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
|
D | BtSarBaseTest.py | 264 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/tests/google/gnss/ |
D | GnssConcurrencyTest.py | 119 start_time = utils.epoch_to_human_time(begin_time) 120 start_time = datetime.datetime.strptime(start_time, 126 (search_results[0]["datetime_obj"] - start_time).total_seconds())
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/car/ |
D | car_telecom_utils.py | 201 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__.py | 150 start_time = time.time() 151 while time.time() < start_time + self.timeout: 530 start_time = time.time() 532 while time.time() < start_time + self.lock_timeout:
|