Home
last modified time | relevance | path

Searched refs:GetLogger (Results 1 – 25 of 39) sorted by relevance

12

/external/toolchain-utils/
Dsetup_chromeos.py82 logger.GetLogger().LogFatal(err_msg)
96 logger.GetLogger().LogFatal('No common version for timestamp')
150 logger.GetLogger().LogFatal('No version specified.')
160 logger.GetLogger().LogFatal('timestamp option only applies for '
165 logger.GetLogger().LogFatal('No directory specified.')
185 logger.GetLogger().LogOutput(
193 logger.GetLogger().LogFatal('No timestamp specified for version=lkgm')
197 logger.GetLogger().LogOutput('found version %s.%s for LKGM at timestamp %s'
205 logger.GetLogger().LogOutput(
212 logger.GetLogger().LogFatal('No timestamp specified for version=lkgm')
[all …]
Dtc_enter_chroot.py57 logger.GetLogger().LogFatalIf(retv, 'Cannot create mount_dir!')
59 logger.GetLogger().LogFatalIf(retv, 'Cannot create external_dir!')
61 logger.GetLogger().LogFatalIf(retv, 'Cannot mount!')
147 logger.GetLogger().LogWarning(m)
156 logger.GetLogger().LogError('toolchain path ' + tc_dir +
162 logger.GetLogger().LogError('chromeos_root ' + options.chromeos_root +
168 logger.GetLogger().LogError(options.chromeos_root +
190 logger.GetLogger().LogFatalIf(not os.path.isdir(third_party_dir),
237 logger.GetLogger().LogError(str(e))
255 logger.GetLogger().LogCmd(inner_command)
[all …]
Dbuild_chromeos.py135 logger.GetLogger().LogFatal(
176 logger.GetLogger().LogFatalIf(ret, 'setup_board failed')
178 logger.GetLogger().LogOutput('Did not setup_board '
188 logger.GetLogger().LogWarning(
209 logger.GetLogger().LogFatalIf(\
230 logger.GetLogger().LogFatalIf(
255 logger.GetLogger().LogFatalIf(ret, 'build_packages failed')
262 logger.GetLogger().LogFatalIf(ret, 'build_image failed')
281 logger.GetLogger().LogFatalIf(
Dimage_chromeos.py51 logger.GetLogger().LogFatalIf(
53 logger.GetLogger().LogFatalIf(
63 logger.GetLogger().LogOutput('Trying to disable beeping.')
68 logger.GetLogger().LogOutput(o)
69 logger.GetLogger().LogOutput('Failed to disable beeps.')
160 l = logger.GetLogger()
232 logger.GetLogger().LogFatal('Have to pass --force to image a '
282 logger.GetLogger().LogFatalIf(ret, 'Image command failed')
305 logger.GetLogger().LogFatalIf(ret, 'Writing checksum failed.')
309 logger.GetLogger().LogFatalIf(not successfully_imaged,
[all …]
Dchromiumos_image_diff.py47 self.logger = logger.GetLogger()
144 self.logger = logger.GetLogger()
153 logger.GetLogger('Removed "{0}" and "{1}".'.format(
310 logger.GetLogger().LogError(
321 logger.GetLogger().LogError('"{0}" is not a file.'.format(image_path))
338 logger.GetLogger().LogError(
Dfile_lock_machine.py45 logger.GetLogger().LogError(e)
157 logger.GetLogger().LogOutput('\n%s' % cls.AsString(file_locks))
192 logger.GetLogger().LogError(ex)
210 self._logger = logger.GetLogger()
365 logger.GetLogger().LogError(
/external/toolchain-utils/cros_utils/
Dbuildbot_utils.py126 logger.GetLogger().LogFatal('Error occurred while launching trybot job: '
175 logger.GetLogger().LogFatal(
179 logger.GetLogger().LogOutput(wait_msg)
180 logger.GetLogger().LogOutput('{0} minutes elapsed.'.format(elapsed / 60))
181 logger.GetLogger().LogOutput('Sleeping {0} seconds.'.format(SLEEP_TIME))
197 logger.GetLogger().LogError('Trybot job (buildbucket id: %s) failed with'
207 logger.GetLogger().LogOutput("image is '%s'" % image)
208 logger.GetLogger().LogOutput('status is %s' % status)
229 logger.GetLogger().LogOutput('Image %s not ready, waiting for 10 minutes' %
234 logger.GetLogger().LogOutput('Image %s not found, waited for %d hours' %
Dmanifest_versions.py62 logger.GetLogger().LogFatal('Failed to clone manifest-versions.')
73 logger.GetLogger().LogFatal('The time you specify is too early.')
82 logger.GetLogger().LogFatal('Failed to checkout manifest at '
93 logger.GetLogger().LogOutput('LKGM path is %s' % path)
94 logger.GetLogger().LogOutput('Cannot find path %s' % chrome_path)
122 logger.GetLogger().LogFatal('The time you specify is too early.')
131 logger.GetLogger().LogFatal('Failed to checkout manifest at '
Dmisc.py293 logger.GetLogger().LogCmd('rm -rf %s' % out_dir)
299 logger.GetLogger().LogCmd('rm -rf %s' % out_dir)
308 logger.GetLogger().LogCmd(msg)
313 logger.GetLogger().LogCmd(msg)
374 logger.GetLogger().LogWarning('Git tree has staged changes.')
377 logger.GetLogger().LogWarning('Git tree has unstaged changes.')
380 logger.GetLogger().LogWarning('Git tree has un-tracked changes.')
426 logger.GetLogger().LogWarning(
475 logger.GetLogger().LogOutput('Retrieving patch information from server ...')
480 logger.GetLogger().LogError(
[all …]
Dlocks.py31 logger.GetLogger().LogWarning(
47 logger.GetLogger().LogWarning(
Dlogger.py349 def GetLogger(log_dir='', mock=False): function
362 GetLogger().LogFatal('Uncaught exception:\n%s' % traceback.format_exc())
/external/toolchain-utils/crosperf/
Dimage_checksummer.py32 logger.GetLogger().LogOutput(
41 logger.GetLogger().LogOutput('Computed checksum is '
45 logger.GetLogger().LogOutput('Checksum is: %s' % self._checksum)
71 logger.GetLogger().LogError('Could not compute checksum of image in label'
Dexperiment.py60 self.l = logger.GetLogger(log_dir)
85 self.l = logger.GetLogger(log_dir)
Dsettings.py76 l = logger.GetLogger()
Dcrosperf.py104 logger.GetLogger(log_dir)
Dschedv2.py35 self._logger = logger.GetLogger(self._sched.get_experiment().log_dir)
235 self._logger = logger.GetLogger(experiment.log_dir)
Dexperiment_factory.py152 l = logger.GetLogger()
476 l = logger.GetLogger()
Dbenchmark_run_unittest.py70 self.mock_logger = logger.GetLogger(log_dir='', mock=True)
110 logger.GetLogger(), logging_level, '',
/external/toolchain-utils/binary_search_tool/
Dbinary_search_state.py88 self.l = logger.GetLogger()
486 logger.GetLogger().LogOutput('Starting to bisect bad pass for bad item.')
493 logger.GetLogger().LogOutput(
500 logger.GetLogger().LogOutput('Bad pass found: %s.' % pass_name)
503 logger.GetLogger().LogOutput('Starting to bisect at transformation level.')
510 logger.GetLogger().LogOutput(
520 logger.GetLogger().LogOutput(
647 bss.l = logger.GetLogger()
833 logger.GetLogger().LogOutput('Resuming from %s' % STATE_FILE)
836 logger.GetLogger().LogOutput(
[all …]
Dbinary_search_perforce.py83 self.logger = logger.GetLogger()
147 self.logger = logger.GetLogger()
496 logger.GetLogger().LogOutput(message, print_to_console=verbose)
499 logger.GetLogger().LogOutput(str(p4gccbs), print_to_console=verbose)
502 logger.GetLogger().LogOutput(
504 logger.GetLogger().LogOutput(str(p4gccbs.bs), print_to_console=verbose)
506 logger.GetLogger().LogOutput('Cleaning up...')
508 logger.GetLogger().LogOutput(str(p4gccbs.bs), print_to_console=verbose)
Drun_bisect.py38 self.logger = logger.GetLogger()
287 log = logger.GetLogger()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_logger.cc60 Logger* Logger::GetLogger() { in GetLogger() function in tensorflow::tensorrt::Logger
65 REGISTER_TENSORRT_LOGGER("DefaultLogger", Logger::GetLogger());
Dtrt_logger.h33 static Logger* GetLogger();
Dtrt_lru_cache.cc54 Logger& TRTEngineCacheResource::GetLogger() { in GetLogger() function in tensorflow::tensorrt::TRTEngineCacheResource
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator.cc74 Logger* GetLogger() const { return logger_.get(); } in GetLogger() function in tflite::optimize::calibration::__anon229e64070111::Calibrator
206 auto logger = calibrator->GetLogger(); in LoggingEval()
222 context, node, calibrator->GetLogger(), error_reporter)); in LoggingEval()
419 new Reader(context, calibrator->GetLogger())); in BuildLoggingInterpreter()

12