Searched refs:time_utils (Results 1 – 25 of 28) sorted by relevance
12
/external/autotest/site_utils/ |
D | dut_status_unittest.py | 12 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)
|
D | diagnosis_utils.py | 14 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))
|
D | job_directories.py | 11 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)
|
D | dut_status.py | 114 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(
|
D | lxc_cleanup.py | 27 from autotest_lib.client.common_lib import time_utils 79 (time_utils.time_string_to_datetime(hqe.finished_on) >
|
D | run_suite.py | 74 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(
|
D | job_directories_unittest.py | 17 from autotest_lib.client.common_lib import time_utils 326 return reference_time.strftime(time_utils.TIME_FMT)
|
/external/autotest/client/common_lib/ |
D | time_utils_unittest.py | 13 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/ |
D | status_history.py | 44 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)]
|
D | suite_report.py | 13 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/ |
D | atrace_process_dump.cc | 34 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()
|
D | time_utils.h | 10 namespace time_utils {
|
D | Android.mk | 22 time_utils.cc
|
D | time_utils.cc | 14 namespace time_utils { namespace
|
D | atrace_process_dump.h | 78 std::unique_ptr<time_utils::PeriodicTimer> snapshot_timer_;
|
D | main.cc | 49 printf("%" PRIu64 "\n", time_utils::GetTimestamp()); in main()
|
/external/autotest/site_utils/sponge_lib/ |
D | autotest_job_info.py | 12 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/ |
D | find_suite_tasks.py | 8 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/ |
D | results_mocker.py | 14 from autotest_lib.client.common_lib import time_utils 146 'date': time_utils.epoch_time_to_date_string(
|
/external/autotest/server/cros/dynamic_suite/ |
D | job_status.py | 12 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()))
|
D | suite_common.py | 20 from autotest_lib.client.common_lib import time_utils 43 return datetime.datetime.now().strftime(time_utils.TIME_FMT)
|
D | dynamic_suite.py | 15 from autotest_lib.client.common_lib import time_utils 592 timestamp = datetime.datetime.now().strftime(time_utils.TIME_FMT)
|
/external/autotest/utils/ |
D | loadtest.py | 52 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/ |
D | rpc_utils.py | 23 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/ |
D | install.py | 69 from autotest_lib.client.common_lib import time_utils 709 formatter = logging.Formatter(_LOG_FORMAT, time_utils.TIME_FMT)
|
12