Searched refs:metrics_utils (Results 1 – 15 of 15) sorted by relevance
/tools/asuite/aidegen/lib/ |
D | aidegen_metrics_unittest.py | 28 from atest.metrics import metrics_utils 31 metrics_utils = None variable 37 @mock.patch.object(metrics_utils, 'print_data_collection_notice') 45 with mock.patch.object(metrics_utils, 'get_start_time') as mk_get: 55 if metrics_utils: 56 with mock.patch.object(metrics_utils, 'send_exit_event') as mk_send:
|
D | aidegen_metrics.py | 53 from atest.metrics import metrics_utils 56 metrics_utils = None variable 70 metrics_utils.print_data_collection_notice() 72 metrics_utils.get_start_time() 93 if not metrics_utils: 95 metrics_utils.send_exit_event(
|
/tools/acloud/metrics/ |
D | metrics.py | 52 from asuite.metrics import metrics_utils 53 metrics_utils.print_data_collection_notice() 54 metrics_utils.send_start_event(tool_name=constants.TOOL_NAME, 78 from asuite.metrics import metrics_utils 79 metrics_utils.send_exit_event(exit_code, stacktrace=stacktrace,
|
D | metrics_test.py | 24 from asuite.metrics import metrics_utils 33 self.Patch(metrics_utils, "print_data_collection_notice") 34 self.Patch(metrics_utils, "send_start_event") 49 self.Patch(metrics_utils, "send_exit_event") 51 metrics_utils.send_exit_event.assert_called_once_with(
|
/tools/asuite/atest/metrics/ |
D | metrics_utils_unittest.py | 26 from atest.metrics import metrics_utils 43 metrics_utils.print_data_collection_notice(colorful=False) 65 metrics_utils.print_data_collection_notice()
|
/tools/asuite/atest/asuite_lib_test/ |
D | asuite_cc_client_test.py | 33 from atest.metrics import metrics_utils 38 metrics_utils.get_start_time()
|
/tools/asuite/atest/ |
D | bug_detector.py | 24 from atest.metrics import metrics_utils 135 metrics_utils.handle_exc_and_send_exit_event(
|
D | atest_main.py | 60 from atest.metrics import metrics_utils 425 metrics_utils.send_exit_event(ExitCode.INVALID_EXEC_MODE, logs=err_msg) 475 metrics_utils.send_exit_event(ExitCode.DEVICE_NOT_FOUND, logs=err_msg) 961 metrics_utils.print_data_collection_notice() 1009 metrics_utils.get_start_time() 1118 duration=metrics_utils.convert_duration(build_duration), 1175 duration=metrics_utils.convert_duration(time.time() - test_start) 1181 duration=metrics_utils.convert_duration(preparation_time),
|
D | test_runner_invocation.py | 27 from atest.metrics import metrics_utils 99 run_time = metrics_utils.convert_duration(time.time() - test_start)
|
D | atest_execution_info.py | 35 from atest.metrics import metrics_utils 337 metrics_utils.send_exit_event(main_exit_code) 340 metrics_utils.handle_exc_and_send_exit_event(main_exit_code)
|
D | atest_main_unittest.py | 36 from atest.metrics import metrics_utils 103 @mock.patch.object(metrics_utils, 'send_exit_event')
|
D | cli_translator.py | 40 from atest.metrics import metrics_utils 217 duration=metrics_utils.convert_duration(time.time() - test_find_starts), 661 metrics_utils.send_exit_event(ExitCode.TEST_NOT_FOUND)
|
D | atest_utils.py | 53 from atest.metrics import metrics_utils 837 metrics_utils.handle_exc_and_send_exit_event(constants.ACCESS_CACHE_FAILURE) 871 metrics_utils.handle_exc_and_send_exit_event( 894 metrics_utils.handle_exc_and_send_exit_event( 987 duration=metrics_utils.convert_duration(0),
|
/tools/asuite/atest/tools/ |
D | indexing.py | 38 from atest.metrics import metrics, metrics_utils 138 metrics_utils.handle_exc_and_send_exit_event(constants.PLOCATEDB_LOCKED)
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 41 from atest.metrics import metrics, metrics_utils 448 metrics_utils.handle_exc_and_send_exit_event(
|