Home
last modified time | relevance | path

Searched refs:time_utils (Results 1 – 25 of 28) sorted by relevance

12

/external/autotest/site_utils/
Ddut_status_unittest.py12 from autotest_lib.client.common_lib import time_utils
60 start_time_string = time_utils.epoch_time_to_date_string(start_time)
72 end_time_string = time_utils.epoch_time_to_date_string(end_time)
94 start_time_string = time_utils.epoch_time_to_date_string(start_time)
96 end_time_string = time_utils.epoch_time_to_date_string(end_time)
105 start_time_string = time_utils.epoch_time_to_date_string(start_time)
116 end_time_string = time_utils.epoch_time_to_date_string(end_time)
127 start_time_string = time_utils.epoch_time_to_date_string(start_time)
131 end_time_string = time_utils.epoch_time_to_date_string(end_time)
Ddiagnosis_utils.py14 from autotest_lib.client.common_lib import time_utils
235 time_utils.to_epoch_time(start_time),
236 time_utils.to_epoch_time(end_time),
253 time_utils.epoch_time_to_date_string(job.start_time))
Djob_directories.py11 from autotest_lib.client.common_lib import time_utils
36 job_time = time_utils.time_string_to_datetime(timestamp)
274 return time_utils.epoch_time_to_date_string(ts)
Ddut_status.py114 from autotest_lib.client.common_lib import time_utils
180 datestr = time_utils.epoch_time_to_date_string(
192 start_time = time_utils.epoch_time_to_date_string(
Dlxc_cleanup.py27 from autotest_lib.client.common_lib import time_utils
79 (time_utils.time_string_to_datetime(hqe.finished_on) >
Drun_suite.py74 from autotest_lib.client.common_lib import time_utils
767 start_candidate = time_utils.time_string_to_datetime(
770 end_candidate = time_utils.time_string_to_datetime(
780 self.download_start_time = time_utils.time_string_to_datetime(
784 self.payload_end_time = time_utils.time_string_to_datetime(
788 self.artifact_end_time = time_utils.time_string_to_datetime(
1011 self.view['job_started_time'], time_utils.TIME_FMT)
1014 self.view['job_finished_time'], time_utils.TIME_FMT)
1747 job_created_on = time_utils.date_string_to_epoch_time(
Djob_directories_unittest.py17 from autotest_lib.client.common_lib import time_utils
326 return reference_time.strftime(time_utils.TIME_FMT)
/external/autotest/client/common_lib/
Dtime_utils_unittest.py13 from autotest_lib.client.common_lib import time_utils
46 parsed_seconds = time_utils.date_string_to_epoch_time(
54 time_string = time_utils.epoch_time_to_date_string(
63 time_utils.to_epoch_time(self.TIME_STRING))
66 time_utils.to_epoch_time(self.TIME_OBJ))
/external/autotest/server/lib/
Dstatus_history.py44 from autotest_lib.client.common_lib import time_utils
79 return int(time_utils.to_epoch_time(time_string))
239 query_start = time_utils.epoch_time_to_date_string(start_time)
240 query_end = time_utils.epoch_time_to_date_string(end_time)
265 query_end = time_utils.epoch_time_to_date_string(end_time)
348 query_start = time_utils.epoch_time_to_date_string(start_time)
349 query_end = time_utils.epoch_time_to_date_string(end_time)
561 query_end = time_utils.epoch_time_to_date_string(self.end_time)
670 return [task0.time_started.strftime(time_utils.TIME_FMT),
671 task1.time_finished.strftime(time_utils.TIME_FMT)]
Dsuite_report.py13 from autotest_lib.client.common_lib import time_utils
42 return int(time_utils.to_epoch_time(value))
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Datrace_process_dump.cc34 snapshot_timer_ = std::unique_ptr<time_utils::PeriodicTimer>( in SetDumpInterval()
35 new time_utils::PeriodicTimer(tick_interval_ms)); in SetDumpInterval()
42 time_utils::GetTimestamp()); in RunAndPrintJson()
80 snapshot_timestamp_ = time_utils::GetTimestamp(); in TakeGlobalSnapshot()
242 time_utils::GetTimestamp()); in TakeAndSerializeMemInfo()
Dtime_utils.h10 namespace time_utils {
DAndroid.mk22 time_utils.cc
Dtime_utils.cc14 namespace time_utils { namespace
Datrace_process_dump.h78 std::unique_ptr<time_utils::PeriodicTimer> snapshot_timer_;
Dmain.cc49 printf("%" PRIu64 "\n", time_utils::GetTimestamp()); in main()
/external/autotest/site_utils/sponge_lib/
Dautotest_job_info.py12 from autotest_lib.client.common_lib import time_utils
150 return time_utils.to_utc_timestamp(self._test.started_time)
155 return time_utils.to_utc_timestamp(self._test.finished_time)
/external/autotest/contrib/
Dfind_suite_tasks.py8 from autotest_lib.client.common_lib import time_utils
65 start_time = min(int(time_utils.to_epoch_time(s.test_started_time))
67 finish_time = max(int(time_utils.to_epoch_time(
/external/autotest/server/
Dresults_mocker.py14 from autotest_lib.client.common_lib import time_utils
146 'date': time_utils.epoch_time_to_date_string(
/external/autotest/server/cros/dynamic_suite/
Djob_status.py12 from autotest_lib.client.common_lib import time_utils
282 begin_time_str, time_utils.TIME_FMT).timetuple()))
289 end_time_str, time_utils.TIME_FMT).timetuple()))
Dsuite_common.py20 from autotest_lib.client.common_lib import time_utils
43 return datetime.datetime.now().strftime(time_utils.TIME_FMT)
Ddynamic_suite.py15 from autotest_lib.client.common_lib import time_utils
592 timestamp = datetime.datetime.now().strftime(time_utils.TIME_FMT)
/external/autotest/utils/
Dloadtest.py52 from autotest_lib.client.common_lib import time_utils
133 'start_time': time_utils.to_epoch_time(start_time),
136 entry['finish_time'] = time_utils.to_epoch_time(finish_time)
274 int(time_utils.to_epoch_time(datetime.datetime.now())))
/external/autotest/frontend/afe/
Drpc_utils.py23 from autotest_lib.client.common_lib import time_utils
618 time_utils.time_string_to_datetime(task['time_requested']))
685 t1 = time_utils.time_string_to_datetime(
687 t2 = time_utils.time_string_to_datetime(task['time_started'])
/external/autotest/site_utils/deployment/
Dinstall.py69 from autotest_lib.client.common_lib import time_utils
709 formatter = logging.Formatter(_LOG_FORMAT, time_utils.TIME_FMT)

12