Home
last modified time | relevance | path

Searched refs:metrics_utils (Results 1 – 22 of 22) sorted by relevance

/tools/asuite/aidegen/lib/
Daidegen_metrics.py54 from asuite.metrics import metrics_utils
57 metrics_utils = None variable
73 metrics_utils.get_start_time()
94 if not metrics_utils:
96 metrics_utils.send_exit_event(
Daidegen_metrics_unittest.py29 from asuite.metrics import metrics_utils
32 metrics_utils = None variable
46 with mock.patch.object(metrics_utils, 'get_start_time') as mk_get:
56 if metrics_utils:
57 with mock.patch.object(metrics_utils, 'send_exit_event') as mk_send:
/tools/tradefederation/core/atest/
Datest.py51 from metrics import metrics_utils
255 metrics_utils.send_exit_event(constants.EXIT_CODE_ERROR, logs=err_msg)
579 metrics_utils.get_start_time()
666 duration=metrics_utils.convert_duration(time.time() - build_start),
694 duration=metrics_utils.convert_duration(time.time() - test_start))
699 duration=metrics_utils.convert_duration(preparation_time),
Datest_utils.py38 from metrics import metrics_utils
205 metrics_utils.handle_exc_and_send_exit_event(
544 metrics_utils.handle_exc_and_send_exit_event(
569 metrics_utils.handle_exc_and_send_exit_event(
588 metrics_utils.handle_exc_and_send_exit_event(
Dbug_detector.py26 from metrics import metrics_utils
92 metrics_utils.handle_exc_and_send_exit_event(
139 metrics_utils.handle_exc_and_send_exit_event(
Datest_execution_info.py29 from metrics import metrics_utils
260 metrics_utils.send_exit_event(main_exit_code)
262 metrics_utils.handle_exc_and_send_exit_event(main_exit_code)
Dcli_translator.py37 from metrics import metrics_utils
135 duration=metrics_utils.convert_duration(
482 metrics_utils.send_exit_event(constants.EXIT_CODE_TEST_NOT_FOUND)
Dtest_runner_handler.py28 from metrics import metrics_utils
138 duration=metrics_utils.convert_duration(time.time() - test_start),
Datest_unittest.py30 from metrics import metrics_utils
221 @mock.patch.object(metrics_utils, 'send_exit_event')
/tools/asuite/atest/
Datest.py53 from metrics import metrics_utils
256 metrics_utils.send_exit_event(constants.EXIT_CODE_ERROR, logs=err_msg)
692 metrics_utils.get_start_time()
749 duration=metrics_utils.convert_duration(build_duration),
799 duration=metrics_utils.convert_duration(time.time() - test_start))
804 duration=metrics_utils.convert_duration(preparation_time),
Datest_utils.py52 from metrics import metrics_utils
551 metrics_utils.handle_exc_and_send_exit_event(
580 metrics_utils.handle_exc_and_send_exit_event(
599 metrics_utils.handle_exc_and_send_exit_event(
Dbug_detector.py26 from metrics import metrics_utils
92 metrics_utils.handle_exc_and_send_exit_event(
139 metrics_utils.handle_exc_and_send_exit_event(
Datest_execution_info.py30 from metrics import metrics_utils
261 metrics_utils.send_exit_event(main_exit_code)
263 metrics_utils.handle_exc_and_send_exit_event(main_exit_code)
Dcli_translator.py36 from metrics import metrics_utils
134 duration=metrics_utils.convert_duration(
466 metrics_utils.send_exit_event(constants.EXIT_CODE_TEST_NOT_FOUND)
Dtest_runner_handler.py31 from metrics import metrics_utils
141 duration=metrics_utils.convert_duration(time.time() - test_start),
Datest_unittest.py35 from metrics import metrics_utils
221 @mock.patch.object(metrics_utils, 'send_exit_event')
/tools/acloud/metrics/
Dmetrics.py50 from asuite.metrics import metrics_utils
52 metrics_utils.send_start_event(tool_name=constants.TOOL_NAME,
76 from asuite.metrics import metrics_utils
77 metrics_utils.send_exit_event(exit_code, stacktrace=stacktrace,
/tools/tradefederation/core/atest/tools/
Datest_tools.py32 from metrics import metrics_utils
344 metrics_utils.handle_exc_and_send_exit_event(
/tools/asuite/atest/tools/
Datest_tools.py34 from metrics import metrics_utils
372 metrics_utils.handle_exc_and_send_exit_event(
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py37 from metrics import metrics_utils
435 metrics_utils.handle_exc_and_send_exit_event(
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py35 from metrics import metrics_utils
427 metrics_utils.handle_exc_and_send_exit_event(
/tools/tradefederation/core/atest/asuite_lib_test/
Dasuite_cc_client_test.py30 from asuite.metrics import metrics_utils