Home
last modified time | relevance | path

Searched refs:_logger (Results 1 – 25 of 36) sorted by relevance

12

/external/autotest/client/cros/
Ddhcp_test_server.py89 self._logger = logging.getLogger("dhcp.test_server")
127 self._logger.info("DhcpTestServer started; opening sockets.")
130 self._logger.info("Opening socket on '%s' port %d." %
135 self._logger.info("Binding to %s" % self._interface)
144 self._logger.error("Socket error: %s." % str(socket_error))
145 self._logger.error(traceback.format_exc())
149 self._logger.error("Failed to open server socket. Aborting.")
194 self._logger.info("Manually aborting test.")
206 self._logger.info("DHCP server says test passed.")
208 self._logger.info("DHCP server says test failed.")
[all …]
/external/python/cpython2/Lib/multiprocessing/
Dutil.py65 _logger = None variable
69 if _logger:
70 _logger.log(SUBDEBUG, msg, *args)
73 if _logger:
74 _logger.log(DEBUG, msg, *args)
77 if _logger:
78 _logger.log(INFO, msg, *args)
81 if _logger:
82 _logger.log(SUBWARNING, msg, *args)
88 global _logger
[all …]
Dforking.py394 from .util import _logger, _log_to_stderr
405 if _logger is not None:
406 d['log_level'] = _logger.getEffectiveLevel()
/external/toolchain-utils/crosperf/
Dbenchmark_run.py39 self._logger = logger_to_use
49 self.suite_runner = SuiteRunner(dut_config, self._logger, self.log_level)
59 self._logger, log_level=self.log_level)
75 self.label.board, self.cache_conditions, self._logger,
90 self._logger.LogOutput('%s: Cache hit.' % self.name)
91 self._logger.LogOutput(self.result.out, print_to_console=False)
92 self._logger.LogError(self.result.err, print_to_console=False)
95 self._logger.LogOutput('%s: No cache hit.' % self.name)
100 self._logger, self.log_level, self.label, self.machine, output, err,
105 self._logger.LogOutput('%s: No cache hit.' % self.name)
[all …]
Ddownload_images.py51 self._logger = logger_to_use
54 self._logger, log_level=self.log_level)
73 self._logger.LogOutput('Preparing to download %s image to local '
89 self._logger.LogOutput('CMD: %s' % command)
110 exception_handler = RunCommandExceptionHandler(self._logger, self.log_level,
113 self._logger.LogOutput('CMD: %s' % command)
120 self._logger.LogOutput('CMD: %s' % clean_cmd)
130 self._logger.LogOutput('CMD: %s' % command)
150 self._logger.LogOutput('Preparing to download %s package to local '
165 self._logger.LogOutput('CMD: %s' % command)
[all …]
Dschedv2.py35 self._logger = logger.GetLogger(self._sched.get_experiment().log_dir)
70 self._logger.LogOutput('{} started.'.format(self))
78 self._logger.LogOutput('ImageManager found no label '
85 self._logger.LogWarning('Re-image failed, dut '
112 self._logger.LogOutput('Skylab mode, do not image before testing.')
116 self._logger.LogOutput('Reimaging {} using {}'.format(self, label))
143 self._logger.LogOutput('{} started working on {}'.format(self, br))
177 self._logger.LogOutput("Dut '{}' is pre-installed with '{}'".format(
214 self._logger = self._schedv2.get_logger()
221 self._logger.LogOutput('Cache hit - {}'.format(br))
[all …]
Dresults_cache.py56 self._logger = logger
58 self._logger, log_level=log_level)
145 self._logger.LogOutput('Results files stored in %s.' % dest_dir)
157 self._logger.LogOutput('WARNING: No results dir matching %r found' %
164 self._logger.LogOutput('Results files compressed into %s.' % dest_dir)
434 self._logger.LogOutput('Generating perf report...\nCMD: %s' % command)
438 self._logger.LogOutput('Perf report generated successfully.')
547 self._logger.LogOutput('WARNING: Turbostat output file is empty.')
555 self._logger.LogOutput(
559 self._logger.LogOutput(
[all …]
/external/autotest/client/cros/power/
Dpower_dashboard.py101 self._logger = logger
417 powerlog_dict['timestamp'] = self._logger.times[0]
429 start_time = self._logger.times[0]
430 return self._logger._checkpoint_logger.convert_relative(start_time)
439 if len(self._logger.readings) == 0:
444 'sample_count': len(self._logger.readings),
450 total_duration = self._logger.times[-1] - self._logger.times[0]
455 for i, domain_readings in enumerate(zip(*self._logger.readings)):
459 domain = self._logger.domains[i]
548 'sample_duration': self._logger._duration_secs,
[all …]
/external/python/cpython3/Lib/multiprocessing/
Dutil.py41 _logger = None variable
45 if _logger:
46 _logger.log(SUBDEBUG, msg, *args)
49 if _logger:
50 _logger.log(DEBUG, msg, *args)
53 if _logger:
54 _logger.log(INFO, msg, *args)
57 if _logger:
58 _logger.log(SUBWARNING, msg, *args)
64 global _logger
[all …]
Dspawn.py160 if util._logger is not None:
161 d['log_level'] = util._logger.getEffectiveLevel()
/external/tensorflow/tensorflow/python/platform/
Dtf_logging.py41 _logger = None variable
96 global _logger
99 if _logger:
100 return _logger
105 if _logger:
106 return _logger
139 _logger = logger
140 return _logger
/external/autotest/client/tests/wb_kupdate/
Dwb_kupdate_unittest.py19 self._logger = logging.getLogger()
26 self._logger.info('Testing the "_needs_more_time" method.')
44 self._logger.info('Testing the "_wait_until_data_flushed" method - '
72 self._logger.info('Testing the "_wait_until_data_flushed" method - '
/external/walt/ios/WALT/
DTapLatencyController.m35 WALTLogger *_logger;
53 _logger = [WALTLogger sessionLogger];
60 [_logger appendString:@"TAPLATENCY\n"];
108 [_logger appendFormat:@"%@\tX\tno shock\n", actionString];
117 [_logger appendFormat:@"%@\tX\tbogus kernelTime\t%f\n", actionString, physicalToKernel];
123 [_logger appendFormat:@"%@\tO\t%f\t%f\t%f\n",
153 [_logger appendString:@"RESET\n"];
DScreenResponseController.m38 WALTLogger *_logger;
60 _logger = [WALTLogger sessionLogger];
66 [_logger appendString:@"SCREENRESPONSE\n"];
139 [_logger appendString:@"RESET\n"];
186 [_logger appendFormat:@"O\t%f\n", delta];
188 [_logger appendFormat:@"X\tbogus delta\t%f\t%f\n", lastFlash, response.t];
DDragLatencyController.mm167 WALTLogger *_logger;
184 _logger = [WALTLogger sessionLogger];
192 [_logger appendString:@"DRAGLATENCY\n"];
212 [_logger appendFormat:@"TOUCH\t%.3f\t%.2f\t%.2f\n",
264 [_logger appendString:@"RESET\n"];
296 [_logger appendFormat:@"LASER\t%.3f\t%d\n", event.t, event.value];
/external/parameter-framework/upstream/parameter/
DSubsystemObject.h94 core::log::details::Info info() const { return _logger.info(); } in info()
95 core::log::details::Warning warning() const { return _logger.warning(); } in warning()
118 core::log::Logger &_logger; variable
DSystemClass.cpp59 : _pSubsystemLibrary(new CSubsystemLibrary()), _logger(logger) in CSystemClass()
103 _pSubsystemLibrary->addElementBuilder("Virtual", new VirtualSubsystemBuilder(_logger)); in loadSubsystems()
107 utility::make_unique<VirtualSubsystemBuilder>(_logger)); in loadSubsystems()
202 subSystemBuilder(_pSubsystemLibrary, _logger); in loadPlugins()
DSelectionCriterion.cpp42 : base(strName), _pType(pType), _logger(logger) in CSelectionCriterion()
70 _logger.info() << "Selection criterion changed event: " in setCriterionState()
78 _logger.warning() << "Selection criterion '" << getName() << "' has been modified " in setCriterionState()
DSelectionCriterion.h91 core::log::Logger &_logger; variable
DSystemClass.h123 core::log::Logger &_logger; variable
/external/toolchain-utils/
Dfile_lock_machine.py210 self._logger = logger.GetLogger()
216 self._logger.LogError(
223 self._logger.LogError('Shared lock already acquired')
236 self._logger.LogOutput('Successfully locked: %s' % self._to_lock)
242 self._logger.LogWarning("Can't unlock unlocked machine!")
246 self._logger.LogError('shared locks must be unlocked with --shared')
251 self._logger.LogError("%s can't unlock lock owned by: %s" %
255 self._logger.LogError("Can't unlock lock with different -a"
/external/autotest/server/cros/power/
Dpower_dashboard.py106 self._tag_with_checkpoint(self._logger)
107 return self._logger
/external/autotest/client/cros/audio/
Dcmd_utils.py28 self._logger = logger
32 return self._logger._pipe[1]
35 self._logger.close()
/external/autotest/client/bin/
Djob.py71 if self._logger.global_filename == 'status':
184 return self._logger
225 if '.' in self._logger.global_filename:
226 msg_tag = self._logger.global_filename.split('.', 1)[1]
229 rendered_entry = self._logger.render_entry(entry)
236 self._logger = base_job.status_logger(
835 old_log_filename = self._logger.global_filename
838 self._logger.global_filename = old_log_filename + (".%d" % i)
871 self._logger.global_filename = old_log_filename
/external/parameter-framework/upstream/test/test-fixed-point-parameter/
DMain.py209 self._logger = PfwLogger()
210 self._instance.setLogger(self._logger)

12