/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveStressTest.py | 171 def on_fail(self, test_name, begin_time): argument 174 def _take_bug_report(self, test_name, begin_time): argument 186 super()._take_bug_report(test_name, begin_time) 188 def _ad_take_extra_logs(self, ad, test_name, begin_time): argument 194 return super()._ad_take_extra_logs(ad, test_name, begin_time) 303 begin_time = get_device_epoch_time(self.dut) 362 self._take_bug_report(test_name, begin_time) 392 begin_time = get_device_epoch_time(ads[0]) 419 self._cbrs_data_check_test(begin_time, expected_cbrs=True, 447 begin_time) [all …]
|
D | TelLiveDSDSVoiceTest.py | 141 def on_fail(self, test_name, begin_time): argument 144 super().on_fail(test_name, begin_time) 1386 begin_time = get_current_epoch_time() 1388 start_qxdm_loggers(self.log, self.android_devices, begin_time) 1418 begin_time) 1535 begin_time = get_current_epoch_time() 1537 start_qxdm_loggers(self.log, self.android_devices, begin_time) 1565 begin_time) 1735 begin_time = get_current_epoch_time() 1736 start_qxdm_logger(ad, begin_time) [all …]
|
D | TelLiveNoQXDMLogTest.py | 150 begin_time = get_current_epoch_time() 151 ad.log.debug("Begin Time is %s", begin_time) 159 text_search_mapping['boot_complete'], begin_time=begin_time) 176 text_search_mapping[tel_state], begin_time=bootup_time) 257 begin_time = get_current_epoch_time() 258 ad.log.debug("Begin Time is %s", begin_time) 266 text_search_mapping['boot_complete'], begin_time=begin_time) 283 text_search_mapping[tel_state], begin_time=bootup_time) 389 begin_time = get_current_epoch_time() 392 ad.take_bug_report(self.test_name, begin_time)
|
D | TelLiveMobilityStressTest.py | 105 def on_fail(self, test_name, begin_time): argument 146 begin_time = get_current_epoch_time() 157 begin_time) 167 begin_time = get_current_epoch_time() 180 begin_time) 190 begin_time = get_current_epoch_time() 193 "checking_crash", begin_time, True) 345 begin_time = get_current_epoch_time() 359 begin_time)
|
D | TelLiveCBRSTest.py | 95 def on_fail(self, test_name, begin_time): argument 100 super().on_fail(test_name, begin_time) 571 begin_time = get_current_epoch_time() 573 start_qxdm_loggers(self.log, self.android_devices, begin_time) 593 begin_time) 792 begin_time = get_current_epoch_time() 794 start_qxdm_logger(ad, begin_time) 806 begin_time)
|
D | TelLiveStressCallTest.py | 75 def on_fail(self, test_name, begin_time): argument 199 begin_time = get_current_epoch_time() 212 last_call_drop_reason(self.caller, begin_time) 220 last_call_drop_reason(self.callee, begin_time) 239 begin_time)
|
D | TelLiveEmergencyBase.py | 177 begin_time = get_current_epoch_time() 188 last_call_drop_reason(self.dut, begin_time) 289 begin_time = get_current_epoch_time() 350 elapsed_time = (get_current_epoch_time() - begin_time) / 1000 367 begin_time = get_current_epoch_time()
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 398 begin_time = get_current_epoch_time() 410 logcat_results = ad.search_logcat("SSRObserver", begin_time) 448 def check_xtra_download(ad, begin_time): argument 461 "inject data into modem", begin_time) 646 begin_time = get_current_epoch_time() 653 logcat_results = ad.search_logcat("First fixed", begin_time) 680 begin_time = get_current_epoch_time() 692 begin_time): 712 begin_time = get_current_epoch_time() 713 while get_current_epoch_time() - begin_time < testtime * 60 * 1000 : [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | android_device.py | 319 def take_bug_reports(ads, test_name, begin_time): argument 333 def take_br(test_name, begin_time, ad): argument 334 ad.take_bug_report(test_name, begin_time) 336 args = [(test_name, begin_time, ad) for ad in ads] 704 begin_time, argument 716 log_begin_time = acts_logger.epoch_to_log_line_timestamp(begin_time) 755 def search_logcat(self, matching_string, begin_time=None): argument 779 if begin_time: 781 begin_time) 782 begin_time = datetime.strptime(log_begin_time, [all …]
|
/tools/test/connectivity/acts/framework/acts/ |
D | base_test.py | 397 self.on_fail(record.test_name, record.begin_time) 399 def on_fail(self, test_name, begin_time): argument 421 self.on_pass(record.test_name, record.begin_time) 423 def on_pass(self, test_name, begin_time): argument 442 self.on_skip(record.test_name, record.begin_time) 444 def on_skip(self, test_name, begin_time): argument 462 self.on_exception(record.test_name, record.begin_time) 464 def on_exception(self, test_name, begin_time): argument 518 self.begin_time = int(tr_record.begin_time) 834 def _ad_take_bugreport(self, ad, test_name, begin_time): argument [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | TelephonyBaseTest.py | 135 self.begin_time, True) 451 start_qxdm_loggers(self.log, self.android_devices, self.begin_time) 459 begin_time=self.begin_time, 480 def on_fail(self, test_name, begin_time): argument 481 self._take_bug_report(test_name, begin_time) 483 def on_pass(self, test_name, begin_time): argument 485 self._take_bug_report(test_name, begin_time) 487 def _ad_take_extra_logs(self, ad, test_name, begin_time): argument 493 get_tcpdump_log(ad, test_name, begin_time) 494 get_screen_shot_log(ad, test_name, begin_time) [all …]
|
D | tel_test_utils.py | 672 def check_network_validation_fail(ad, begin_time=None, argument 680 begin_time) 692 def check_data_stall_recovery(ad, begin_time=None, argument 700 begin_time) 1653 begin_time = get_device_epoch_time(ad) 1667 last_call_drop_reason(ad, begin_time=begin_time) 2373 begin_time = get_current_epoch_time() 2514 last_call_drop_reason(ad, begin_time) 2658 begin_time = get_current_epoch_time() 2968 last_call_drop_reason(ad, begin_time) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/gnss/ |
D | GnssFunctionTest.py | 150 def on_pass(self, test_name, begin_time): argument 152 self.ad.take_bug_report(test_name, begin_time) 154 get_tcpdump_log(self.ad, test_name, begin_time) 156 def on_fail(self, test_name, begin_time): argument 158 self.ad.take_bug_report(test_name, begin_time) 160 get_tcpdump_log(self.ad, test_name, begin_time) 245 begin_time = get_current_epoch_time() 249 self.ad, begin_time, self.pixel_lab_location) 636 begin_time = get_current_epoch_time() 647 ttff_data = process_ttff_by_gtw_gpstool(self.ad, begin_time, [all …]
|
D | FlpTtffTest.py | 92 def on_pass(self, test_name, begin_time): argument 94 self.ad.take_bug_report(test_name, begin_time) 96 get_tcpdump_log(self.ad, test_name, begin_time) 98 def on_fail(self, test_name, begin_time): argument 100 self.ad.take_bug_report(test_name, begin_time) 102 get_tcpdump_log(self.ad, test_name, begin_time) 110 begin_time = get_current_epoch_time() 116 self.ad, begin_time, location, type="flp")
|
D | LocationPlatinumTest.py | 62 self.begin_time = utils.get_current_epoch_time() 64 tutils.start_qxdm_logger(self.ad, self.begin_time) 84 tutils.get_tcpdump_log(self.ad, 'location_platinum', self.begin_time) 85 self.ad.take_bug_report('location_platinum', self.begin_time) 100 begin_time = gutils.get_current_epoch_time() 103 ttff_data = gutils.process_ttff_by_gtw_gpstool(self.ad, begin_time,
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | SocketKeepaliveTest.py | 140 def on_fail(self, test_name, begin_time): argument 141 self.dut.take_bug_report(test_name, begin_time) 463 begin_time = time.time() 507 begin_time, 547 begin_time = time.time() 561 expected_ka_count = self._get_expected_ka_count(end_time-begin_time, 566 begin_time, 612 begin_time = time.time() 633 end_time-begin_time, interval_list[_]) 637 begin_time,
|
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/ |
D | wlan_device.py | 76 def take_bug_report(self, test_name, begin_time): argument 83 def get_log(self, test_name, begin_time): argument 176 def take_bug_report(self, test_name, begin_time): argument 177 self.device.take_bug_report(test_name, begin_time) 179 def get_log(self, test_name, begin_time): argument 180 self.device.cat_adb_log(test_name, begin_time) 276 def take_bug_report(self, test_name, begin_time): argument 280 def get_log(self, test_name, begin_time): argument
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | BtSarBaseTest.py | 481 def parse_bt_logs(self, ad, begin_time, regex=''): argument 496 bt_adb_log = ad.adb.logcat('-b all -t %s' % begin_time) 517 def get_country_code(self, ad, begin_time): argument 532 reg_domain = self.parse_bt_logs(ad, begin_time, reg_domain_regex) 535 def get_current_power_cap(self, ad, begin_time, type='EDR'): argument 566 power_cap = self.parse_bt_logs(ad, begin_time, power_cap_regex) 572 def get_current_device_state(self, ad, begin_time): argument 589 device_state = self.parse_bt_logs(ad, begin_time, device_state_regex)
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_base_class_test.py | 160 def on_skip(self, test_name, begin_time): argument 390 def on_exception(self, test_name, begin_time): argument 420 def on_fail(self, test_name, begin_time): argument 450 def on_fail(self, test_name, begin_time): argument 480 def on_fail(self, test_name, begin_time): argument 534 def on_pass(self, test_name, begin_time): argument 612 def on_pass(self, test_name, begin_time): argument 637 def on_fail(self, test_name, begin_time): argument
|
/tools/test/connectivity/acts_tests/tests/google/tel/lab/ |
D | TelLabDataTest.py | 291 begin_time = get_device_epoch_time(self.ad) 302 if not check_network_validation_fail(self.ad, begin_time): 306 if not check_data_stall_recovery(self.ad, begin_time): 319 begin_time = get_device_epoch_time(self.ad) 325 if not check_network_validation_fail(self.ad, begin_time): 329 if check_data_stall_recovery(self.ad, begin_time):
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiCrashStressTest.py | 79 def on_fail(self, test_name, begin_time): argument 80 self.dut.take_bug_report(test_name, begin_time) 81 self.dut.cat_adb_log(test_name, begin_time) 82 self.dut_client.take_bug_report(test_name, begin_time) 83 self.dut_client.cat_adb_log(test_name, begin_time)
|
D | WifiChaosTest.py | 161 def on_pass(self, test_name, begin_time): argument 164 def on_fail(self, test_name, begin_time): argument 168 self.dut.take_bug_report(test_name, begin_time) 169 self.dut.cat_adb_log(test_name, begin_time) 267 begin_time = time.time()
|
D | WifiTetheringPowerTest.py | 76 def on_fail(self, test_name, begin_time): argument 77 self.hotspot_device.take_bug_report(test_name, begin_time) 79 def on_pass(self, test_name, begin_time): argument 80 self.hotspot_device.take_bug_report(test_name, begin_time)
|
D | WifiNetworkSelectorTest.py | 84 def on_pass(self, test_name, begin_time): argument 88 def on_fail(self, test_name, begin_time): argument 91 self.dut.take_bug_report(test_name, begin_time) 92 self.dut.cat_adb_log(test_name, begin_time)
|
/tools/test/connectivity/acts_tests/tests/google/power/wifi/ |
D | PowerWiFiroamingTest.py | 87 begin_time = utils.get_current_epoch_time() 110 self.dut.take_bug_report(self.test_name, begin_time) 134 begin_time = utils.get_current_epoch_time() 157 self.dut.take_bug_report(self.test_name, begin_time)
|