Home
last modified time | relevance | path

Searched refs:logging (Results 1 – 25 of 1566) sorted by relevance

12345678910>>...63

/external/chromium_org/third_party/mesa/src/src/egl/main/
Degllog.c57 } logging = { variable
85 _eglLockMutex(&logging.mutex); in _eglSetLogProc()
87 if (logging.logger != logger) { in _eglSetLogProc()
88 logging.logger = logger; in _eglSetLogProc()
90 num_messages = logging.num_messages; in _eglSetLogProc()
91 logging.num_messages = 0; in _eglSetLogProc()
94 _eglUnlockMutex(&logging.mutex); in _eglSetLogProc()
114 _eglLockMutex(&logging.mutex); in _eglSetLogLevel()
115 logging.level = level; in _eglSetLogLevel()
116 _eglUnlockMutex(&logging.mutex); in _eglSetLogLevel()
[all …]
/external/mesa3d/src/egl/main/
Degllog.c57 } logging = { variable
85 _eglLockMutex(&logging.mutex); in _eglSetLogProc()
87 if (logging.logger != logger) { in _eglSetLogProc()
88 logging.logger = logger; in _eglSetLogProc()
90 num_messages = logging.num_messages; in _eglSetLogProc()
91 logging.num_messages = 0; in _eglSetLogProc()
94 _eglUnlockMutex(&logging.mutex); in _eglSetLogProc()
114 _eglLockMutex(&logging.mutex); in _eglSetLogLevel()
115 logging.level = level; in _eglSetLogLevel()
116 _eglUnlockMutex(&logging.mutex); in _eglSetLogLevel()
[all …]
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
Dcros_browser_finder.py6 import logging
80 logging.debug('No --remote specified, will not probe for CrOS.')
84 logging.debug('ssh not found. Cannot talk to CrOS devices.')
94 logging.warn('Could not ssh into %s. Your device must be configured',
96 logging.warn('to allow passwordless login as root.')
97 logging.warn('For a test-build device, pass this to your script:')
98 logging.warn(' --identity $(CHROMITE)/ssh_keys/testing_rsa')
99 logging.warn('')
100 logging.warn('For a developer-mode device, the steps are:')
101 logging.warn(' - Ensure you have an id_rsa.pub (etc) on this computer')
[all …]
/external/chromium_org/build/android/pylib/utils/
Dreport_results.py7 import logging
28 logging.info('Writing results to %s.' % full_file_name)
30 logging.info('Writing results to %s.' % full_file_name)
40 logging.info('Upload results for test type "%s", test package "%s" to %s' %
45 logging.warning('Invalid test type.')
62 logging.error(e)
86 logging.critical('*' * 80)
87 logging.critical('Detailed Logs')
88 logging.critical('*' * 80)
90 logging.critical(line)
[all …]
Drun_tests_helper.py7 import logging
12 class CustomFormatter(logging.Formatter):
19 logging.Formatter.__init__(self, fmt=fmt)
26 msg = logging.Formatter.format(self, record)
35 log_level = logging.WARNING # Default.
37 log_level = logging.INFO
39 log_level = logging.DEBUG
40 logger = logging.getLogger()
42 custom_handler = logging.StreamHandler(sys.stdout)
44 logging.getLogger().addHandler(custom_handler)
/external/chromium_org/tools/python/google/
Dlogging_utils.py8 import logging
11 class StdoutStderrHandler(logging.Handler):
16 def __init__(self, threshold=logging.WARNING, err=sys.stderr, out=sys.stdout):
25 logging.Handler.__init__(self)
26 self._err = logging.StreamHandler(err)
27 self._out = logging.StreamHandler(out)
32 logging.Handler.setLevel(self, lvl)
37 logging.Handler.setFormatter(self, formatter)
62 def config_root(level=logging.INFO, threshold=logging.WARNING, format=FORMAT,
76 root = logging.getLogger()
[all …]
/external/chromium_org/build/android/
Dinstall_emulator_deps.py13 import logging
76 logging.exception('Unable to execute \'android list\'')
105 logging.info('kvm-ok not installed')
111 logging.info('Download Android SDK.')
132 logging.critical('ERROR: Did not install KVM. Make sure hardware '
138 logging.critical('ERROR: Did not add KVM module to Linux Kernal. Make sure '
143 logging.critical('ERROR: Can not use KVM acceleration. Make sure hardware '
154 logging.info('Download x86 system image directory into sdk directory.')
168 logging.info('Deploying system image to %s' % sys_imgs)
199 logging.info('running update command: %s' % update_command_str)
[all …]
Davd.py13 import logging
41 logging.basicConfig(level=logging.INFO,
43 logging.root.setLevel(logging.INFO)
50 logging.critical('ERROR: KVM must be enabled in BIOS, and installed. '
54 logging.critical('ERROR: System image for x86 AVD not installed. Run '
59 logging.critical('ERROR: Emulator SDK not installed. Run '
64 logging.critical('ERROR: Emulator SDK missing required target for API %d. '
Dadb_logcat_monitor.py19 import logging
50 logging.info('Logcat for device %s has died', device_id)
54 logging.error(device_id + ': ' + line)
56 logging.info('Starting logcat %d for device %s', logcat_num,
85 logging.warning('adb device error %s', err.strip())
88 logging.warning('"adb devices" command timed out')
91 logging.exception('Exception from "adb devices"')
105 logging.basicConfig(filename=os.path.join(base_dir, 'eventlog'),
106 level=logging.INFO,
120 logging.info('Started with pid %d', os.getpid())
[all …]
/external/chromium/chrome/common/
Dlogging_chrome.cc110 logging::SetLogAssertHandler(SilentRuntimeAssertHandler); in SuppressDialogs()
111 logging::SetLogReportHandler(SilentRuntimeReportHandler); in SuppressDialogs()
128 namespace logging { namespace
135 const logging::LoggingDestination kDefaultLoggingMode = in DetermineLogMode()
136 logging::LOG_ONLY_TO_FILE; in DetermineLogMode()
140 const logging::LoggingDestination kDefaultLoggingMode = in DetermineLogMode()
141 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG; in DetermineLogMode()
147 logging::LoggingDestination log_mode; in DetermineLogMode()
152 log_mode = logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG; in DetermineLogMode()
156 log_mode = logging::LOG_NONE; in DetermineLogMode()
[all …]
/external/chromium_org/chrome/common/
Dlogging_chrome.cc99 logging::DumpWithoutCrashing(); in DumpProcessAssertHandler()
110 logging::SetLogAssertHandler(SilentRuntimeAssertHandler); in SuppressDialogs()
111 logging::SetLogReportHandler(SilentRuntimeReportHandler); in SuppressDialogs()
128 namespace logging { namespace
135 const logging::LoggingDestination kDefaultLoggingMode = logging::LOG_TO_FILE; in DetermineLogMode()
139 const logging::LoggingDestination kDefaultLoggingMode = logging::LOG_TO_ALL; in DetermineLogMode()
145 logging::LoggingDestination log_mode; in DetermineLogMode()
150 log_mode = logging::LOG_TO_SYSTEM_DEBUG_LOG; in DetermineLogMode()
154 log_mode = logging::LOG_NONE; in DetermineLogMode()
246 logging::DcheckState dcheck_state = in RedirectChromeLogging()
[all …]
/external/chromium_org/chrome/installer/tools/
Dvalidate_installation_main.cc41 static const logging::LogSeverity kViolationSeverity_;
42 static logging::LogMessageHandlerFunction old_message_handler_;
55 const logging::LogSeverity
56 ConsoleLogHelper::kViolationSeverity_ = logging::LOG_ERROR;
59 logging::LogMessageHandlerFunction
64 logging::LoggingSettings settings; in ConsoleLogHelper()
65 settings.logging_dest = logging::LOG_TO_FILE; in ConsoleLogHelper()
67 settings.lock_log = logging::DONT_LOCK_LOG_FILE; in ConsoleLogHelper()
68 settings.delete_old = logging::DELETE_OLD_LOG_FILE; in ConsoleLogHelper()
69 logging::InitLogging(settings); in ConsoleLogHelper()
[all …]
/external/chromium_org/tools/perf_expectations/
Dupdate_perf_expectations.py63 import logging
71 _DEFAULT_LOG_LEVEL = logging.INFO
94 logging.debug('Trying to match %s', test_case_filter)
115 logging.debug('%s will be updated', test_key)
116 logging.info('%s tests found matching reg-ex: %s', len(tests_list),
161 logging.warning('%s does not exist.', test_key)
162 logging.info('Done preparing tests for update.')
204 logging.error('At least one of input-file or test-filter must be provided.')
207 logging.error('Specify only one of input file or test-filter.')
210 logging.error('Start and end revision of range must be specified.')
[all …]
/external/chromium_org/tools/metrics/histograms/
Dfind_unmapped_histograms.py15 import logging
125 logging.warning('%s contains non-literal histogram name <%s>', filename,
138 logging.info('Scanning Chromium source for histograms...')
179 logging.info('Reading histograms from %s...' % histograms_file_location)
203 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
208 logging.error(e)
215 logging.info('')
216 logging.info('')
217 logging.info('Histograms in Chromium but not in %s:' %
219 logging.info('-------------------------------------------------')
[all …]
/external/chromium_org/chrome/installer/util/
Dinstallation_validation_helper.cc34 static const logging::LogSeverity kViolationSeverity_;
35 static logging::LogMessageHandlerFunction old_message_handler_;
41 const logging::LogSeverity
42 FailureLogHelper::kViolationSeverity_ = logging::LOG_ERROR;
45 logging::LogMessageHandlerFunction
57 old_min_log_level_ = logging::GetMinLogLevel(); in FailureLogHelper()
59 logging::SetMinLogLevel(kViolationSeverity_); in FailureLogHelper()
61 old_message_handler_ = logging::GetLogMessageHandler(); in FailureLogHelper()
62 logging::SetLogMessageHandler(&AddFailureForLogMessage); in FailureLogHelper()
66 logging::SetLogMessageHandler(old_message_handler_); in ~FailureLogHelper()
[all …]
/external/chromium/base/
Dlogging.h146 namespace logging {
302 logging::ClassName(__FILE__, __LINE__, logging::LOG_INFO , ##__VA_ARGS__)
304 logging::ClassName(__FILE__, __LINE__, logging::LOG_WARNING , ##__VA_ARGS__)
306 logging::ClassName(__FILE__, __LINE__, logging::LOG_ERROR , ##__VA_ARGS__)
308 logging::ClassName(__FILE__, __LINE__, \
309 logging::LOG_ERROR_REPORT , ##__VA_ARGS__)
311 logging::ClassName(__FILE__, __LINE__, logging::LOG_FATAL , ##__VA_ARGS__)
313 logging::ClassName(__FILE__, __LINE__, logging::LOG_DFATAL , ##__VA_ARGS__)
345 ((::logging::LOG_ ## severity) >= ::logging::GetMinLogLevel())
352 ((verboselevel) <= ::logging::GetVlogLevel(__FILE__))
[all …]
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/handlers/
Dbuildershandler.py31 import logging
69 logging.debug('Fetching %s' % url)
75 logging.warning('Error while fetching %s: %s', url, exc_info[1])
82 logging.warning('Unable to parse JSON response from %s: %s', url, exc_info[1])
102 logging.info('No cached or current builds for %s', basedir)
114logging.info('Starting a forced buildbot update. Failure to fetch a master\'s data will not abort …
126 logging.warning(msg)
130 logging.warning('Aborting fetch.')
138logging.info('Skipping builder %s because it lacked cached or current builds.', builder)
143logging.info('Skipping build %s on builder %s due to empty data', latest_build, builder)
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dlogutils.py28 import logging
35 _log = logging.getLogger(__name__)
125 return logging.getLogger(logger_name)
142 logging_filter = logging.Filter()
146 handler = logging.StreamHandler(stream)
147 if logging_level == logging.DEBUG:
148 formatter = logging.Formatter("%(name)s: [%(levelname)s] %(message)s")
150 formatter = logging.Formatter("%(message)s")
192 logging_level = logging.INFO
194 logger = logging.getLogger()
/external/chromium_org/tools/valgrind/
Dcommon.py5 import logging
24 logging.info("running %s in the background" % " ".join(proc))
37 logging.info("running %s, timeout %d sec" % (" ".join(proc), timeout))
52 logging.info("started subprocess")
69 logging.info("process timed out")
71 logging.info("process ended, did not time out")
79 logging.error("KILLED %d" % p.pid)
83 logging.error("TIMEOUT waiting for %s" % proc[0])
89 logging.info("flushing stdout")
92 logging.info("collecting result code")
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dlogger.cc20 const char* LogSeverityToString(logging::LogSeverity level) { in LogSeverityToString()
22 case logging::LOG_ERROR: in LogSeverityToString()
24 case logging::LOG_WARNING: in LogSeverityToString()
26 case logging::LOG_INFO: in LogSeverityToString()
28 case logging::LOG_VERBOSE: in LogSeverityToString()
42 void Log(logging::LogSeverity severity, in Log()
66 if (severity < logging::GetMinLogLevel() && !VLOG_IS_ON(1)) in Log()
68 logging::LogMessage(location.file_name(), location.line_number(), severity) in Log()
/external/chromium/googleurl/base/
Dlogging.h83 namespace logging {
162 logging::LogMessage(__FILE__, __LINE__)
164 logging::LogMessage(__FILE__, __LINE__, logging::LOG_WARNING)
166 logging::LogMessage(__FILE__, __LINE__, logging::LOG_ERROR)
168 logging::LogMessage(__FILE__, __LINE__, logging::LOG_FATAL)
170 logging::LogMessage(__FILE__, __LINE__, logging::LOG_DFATAL_LEVEL)
179 logging::LogMessage(__FILE__, __LINE__, logging::LOG_ERROR)
194 !(condition) ? (void) 0 : logging::LogMessageVoidify() & LOG(severity)
275 while (logging::CheckOpString _result = \
276 logging::Check##name##Impl((val1), (val2), #val1 " " #op " " #val2)) \
[all …]
/external/chromium_org/base/
Dlogging.h147 namespace logging {
329 logging::ClassName(__FILE__, __LINE__, logging::LOG_INFO , ##__VA_ARGS__)
331 logging::ClassName(__FILE__, __LINE__, logging::LOG_WARNING , ##__VA_ARGS__)
333 logging::ClassName(__FILE__, __LINE__, logging::LOG_ERROR , ##__VA_ARGS__)
335 logging::ClassName(__FILE__, __LINE__, \
336 logging::LOG_ERROR_REPORT , ##__VA_ARGS__)
338 logging::ClassName(__FILE__, __LINE__, logging::LOG_FATAL , ##__VA_ARGS__)
340 logging::ClassName(__FILE__, __LINE__, logging::LOG_DFATAL , ##__VA_ARGS__)
374 ((::logging::LOG_ ## severity) >= ::logging::GetMinLogLevel())
381 ((verboselevel) <= ::logging::GetVlogLevel(__FILE__))
[all …]
/external/chromium_org/remoting/tools/
Dme2me_virtual_host.py19 import logging
118 logging.error("Failed to save config: " + str(e))
240 logging.info("Failed to read %s, skipping." % env_filename)
252 logging.error("Audio will not be enabled because pulseaudio UNIX " +
265 logging.error("Failed to create pulseaudio pipe: " + str(e))
283 logging.error("Failed to write pulseaudio config: " + str(e))
330 logging.info("Starting %s on display :%d" % (xvfb, display))
361 logging.info("Xvfb is active.")
373 logging.error("Failed to set XKB to 'evdev'")
412 logging.info("Launching X session: %s" % xsession_command)
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dheaderparserhandler.py38 import logging
74 class ApacheLogHandler(logging.Handler):
78 logging.DEBUG: apache.APLOG_DEBUG,
79 logging.INFO: apache.APLOG_INFO,
80 logging.WARNING: apache.APLOG_WARNING,
81 logging.ERROR: apache.APLOG_ERR,
82 logging.CRITICAL: apache.APLOG_CRIT,
86 logging.Handler.__init__(self)
92 self._formatter = logging.Formatter('%(name)s: %(message)s')
125 logger = logging.getLogger()
[all …]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dheaderparserhandler.py38 import logging
73 class ApacheLogHandler(logging.Handler):
77 logging.DEBUG: apache.APLOG_DEBUG,
78 logging.INFO: apache.APLOG_INFO,
79 logging.WARNING: apache.APLOG_WARNING,
80 logging.ERROR: apache.APLOG_ERR,
81 logging.CRITICAL: apache.APLOG_CRIT,
85 logging.Handler.__init__(self)
91 self._formatter = logging.Formatter('%(name)s: %(message)s')
124 logger = logging.getLogger()
[all …]

12345678910>>...63