Home
last modified time | relevance | path

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

/test/testfwk/xdevice/src/xdevice/_core/environment/
Ddevice_monitor.py83 start_time = int(time.time() * 1000)
86 while int(time.time() * 1000) - start_time < wait_time:
102 start_time = int(time.time() * 1000)
105 elapsed_time = int(time.time() * 1000) - start_time
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddmlib_lite.py131 start_time = time.time()
140 while time.time() - start_time < timeout:
153 while time.time() - start_time < timeout:
185 start_time = time.time()
189 while time.time() - start_time < timeout:
Ddmlib.py939 start_time = time.time()
941 if time.time() - start_time > timeout:
956 start_time = time.time()
959 if time.time() - start_time > timeout:
/test/testfwk/xdevice/src/xdevice/_core/executor/
Drequest.py77 start_time = get_cst_time()
78 LOG.debug("StartTime=%s" % start_time.strftime("%Y-%m-%d %H:%M:%S"))
82 Variables.task_name = start_time.strftime('%Y-%m-%d-%H-%M-%S')
106 self.config.start_time = start_time.strftime("%Y-%m-%d %H:%M:%S")
Dscheduler.py338 task_info.test_time = task.config.start_time
946 case_id, result, error, start_time, end_time, report_path = \
952 case_id, result, error, start_time, end_time, report_path))
954 Scheduler.proxy.upload_result(case_id, result, error, start_time,
981 case_id, result, error, start_time, end_time, report_path = \
984 "start": start_time, "end": end_time,
998 start_time, end_time = cls._get_time(testsuites_element)
1010 (case_id, case_result, error, start_time, end_time, report,))
1032 (case_id, case_result, error, start_time, end_time, report,))
1033 return upload_params, start_time, end_time
[all …]
Dconcurrent.py111 start_time = time.time()
146 self._handle_finally(driver, execute_message, start_time, test)
173 def _handle_finally(self, driver, execute_message, start_time, test): argument
178 source_content, calculate_elapsed_time(start_time, time.time())))
569 start_time = time.time()
603 self._handle_finally(driver, execute_message, start_time, test)
611 def _handle_finally(self, driver, execute_message, start_time, test): argument
616 source_content, calculate_elapsed_time(start_time, time.time())))
/test/xts/tools/sample/ServerSampleE/java/db/
Doh-sample.sql72 …`start_time` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMEN…
158 …`start_time` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMME…
217 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
218 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
219 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
220 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
229 …ime`, `name`, `cover`, `is_open`, `address`, `longitude`, `latitude`, `start_time`, `end_time`, `n…
230 …ime`, `name`, `cover`, `is_open`, `address`, `longitude`, `latitude`, `start_time`, `end_time`, `n…
231 …ime`, `name`, `cover`, `is_open`, `address`, `longitude`, `latitude`, `start_time`, `end_time`, `n…
/test/xts/tools/sample/ServerSampleD/java/db/
Doh-sample.sql72 …`start_time` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMEN…
158 …`start_time` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMME…
217 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
218 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
219 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
220 …over`, `is_open`, `address`, `longitude`, `latitude`, `phone_number`, `start_time`, `end_time`, `n…
229 …ime`, `name`, `cover`, `is_open`, `address`, `longitude`, `latitude`, `start_time`, `end_time`, `n…
230 …ime`, `name`, `cover`, `is_open`, `address`, `longitude`, `latitude`, `start_time`, `end_time`, `n…
231 …ime`, `name`, `cover`, `is_open`, `address`, `longitude`, `latitude`, `start_time`, `end_time`, `n…
/test/xts/acts/arkui/ace_standard/src/main/js/test/
Dbasicabilityapi.test.js419 let start_time = new Date().getTime();
423 console.info("[settimeout] start_time: " + start_time);
425 console.info('[settimeout] delay: ' + (end_time - start_time));
430 expect(end_time - start_time >= delay).assertTrue();
/test/xts/acts/arkui/ace_standard/src/main/js/default/test/
Dbasicabilityapi.test.js419 let start_time = new Date().getTime();
423 console.info("[settimeout] start_time: " + start_time);
425 console.info('[settimeout] delay: ' + (end_time - start_time));
430 expect(end_time - start_time >= delay).assertTrue();
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
Dparser_lite.py651 start_time = re.match(self.pattern,
654 time.strptime(start_time, "%Y-%m-%d %H:%M:%S.%f"))) * 1000 + int(
655 start_time.split(".")[-1])
677 start_time = re.match(self.pattern,
680 time.strptime(start_time, "%Y-%m-%d %H:%M:%S.%f"))) * 1000 + int(
681 start_time.split(".")[-1])
797 self.start_time = None
806 if not self.start_time:
807 self.start_time = get_cst_time()
829 if self.start_time:
[all …]
Dparser.py86 self.start_time = get_cst_time()
201 self.start_time = get_cst_time()
221 test_result.run_time = get_delta_time_ms(self.start_time)
432 self.start_time = get_cst_time()
535 self.start_time = get_cst_time()
543 run_time = (end_time - self.start_time).total_seconds()
553 run_time = (end_time - self.start_time).total_seconds()
563 run_time = (end_time - self.start_time).total_seconds()
571 run_time = (end_time - self.start_time).total_seconds()
580 run_time = (end_time - self.start_time).total_seconds()
[all …]
/test/testfwk/developer_test/src/core/command/
Ddistribute_utils.py70 def make_reports(result_rootpath, start_time): argument
75 exec_info.test_time = start_time
Drun.py232 start_time = time.strftime('%Y-%m-%d %H:%M:%S', local_time)
261 make_reports(result_rootpath, start_time)
/test/testfwk/xdevice/src/xdevice/_core/report/
Dreporter_helper.py114 start_time = "starttime" variable in ReportConstant
485 start_time = self.summary_element.get(ReportConstant.start_time, "")
486 if not start_time:
487 start_time = self.summary_element.get("start_time", "")
491 exec_info.test_time = "%s/ %s" % (start_time, end_time)
492 start_time = time.mktime(time.strptime(
493 start_time, ReportConstant.time_format))
497 end_time - start_time, 3))
Dresult_reporter.py199 start_time = self.task_info.test_time
201 test_time = "%s/ %s" % (start_time, end_time)
203 time.mktime(time.strptime(start_time, ReportConstant.time_format)),
224 "test_start": start_time,
541 ReportConstant.start_time: self.task_info.test_time,
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Ddrivers.py564 self.start_time = None
687 while time.time() - self.start_time <= timeout:
835 self.start_time = time.time()
896 self.start_time = None
Ddrivers_lite.py498 start_time = time.time()
499 while time.time() - start_time < timeout:
Dopenharmony.py261 self.start_time = None
/test/testfwk/developer_test/src/core/driver/
Dlite_driver.py280 start_time = time.time()
281 while time.time() - start_time < timeout:
Ddrivers.py825 self.start_time = None
940 start_time = int(time.time())
947 if int(time.time()) - start_time > 5:
1027 self.start_time = time.time()
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py723 def get_delta_time_ms(start_time): argument
725 delta = (end_time - start_time).total_seconds() * 1000
/test/testfwk/developer_test/localCoverage/keyword_registration/
Dkeyword_filter.py935 start_time = time.time()
938 times = round(end_time - start_time, 3)