Home
last modified time | relevance | path

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

12

/system/core/base/
Dlogging_test.cpp60 TEST(logging, CHECK) { in TEST() argument
87 TEST(logging, DCHECK) { in TEST() argument
139 TEST(logging, WOULD_LOG_FATAL) { in TEST() argument
143 TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_disabled) { in TEST() argument
147 TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_enabled) { in TEST() argument
151 TEST(logging, WOULD_LOG_ERROR_disabled) { in TEST() argument
155 TEST(logging, WOULD_LOG_ERROR_enabled) { in TEST() argument
159 TEST(logging, WOULD_LOG_WARNING_disabled) { in TEST() argument
163 TEST(logging, WOULD_LOG_WARNING_enabled) { in TEST() argument
167 TEST(logging, WOULD_LOG_INFO_disabled) { in TEST() argument
[all …]
/system/extras/perfprofd/quipper/base/
Dlogging.h114 namespace logging {
144 logging::ClassName(__FILE__, __LINE__, logging::LOG_INFO , ##__VA_ARGS__)
146 logging::ClassName(__FILE__, __LINE__, logging::LOG_WARNING , ##__VA_ARGS__)
148 logging::ClassName(__FILE__, __LINE__, logging::LOG_ERROR , ##__VA_ARGS__)
150 logging::ClassName(__FILE__, __LINE__, logging::LOG_FATAL , ##__VA_ARGS__)
152 logging::ClassName(__FILE__, __LINE__, logging::LOG_DFATAL , ##__VA_ARGS__)
169 ((::logging::LOG_ ## severity) >= ::logging::GetMinLogLevel())
176 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream) /* NOLINT */
194 logging::LogMessage(__FILE__, __LINE__, -(verbose_level)).stream()
218 true ? (void) 0 : ::logging::LogMessageVoidify() & LOG_STREAM(FATAL) /* NOLINT */
[all …]
Dlogging.cc29 namespace logging { namespace
/system/update_engine/
Dmain.cc81 logging::LoggingSettings log_settings; in SetupLogging()
82 log_settings.lock_log = logging::DONT_LOCK_LOG_FILE; in SetupLogging()
83 log_settings.delete_old = logging::APPEND_TO_OLD_LOG_FILE; in SetupLogging()
88 log_settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; in SetupLogging()
92 log_settings.logging_dest = logging::LOG_TO_FILE; in SetupLogging()
95 logging::InitLogging(log_settings); in SetupLogging()
Dsideload_main.cc56 logging::LoggingSettings log_settings; in SetupLogging()
57 log_settings.lock_log = logging::DONT_LOCK_LOG_FILE; in SetupLogging()
58 log_settings.delete_old = logging::APPEND_TO_OLD_LOG_FILE; in SetupLogging()
60 log_settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; in SetupLogging()
62 logging::InitLogging(log_settings); in SetupLogging()
/system/bt/main/
Dbte_init_cpp_logging.cc48 logging::LoggingSettings log_settings; in init_cpp_logging()
49 if (!logging::InitLogging(log_settings)) { in init_cpp_logging()
54 logging::SetLogItems(false, false, false, false); in init_cpp_logging()
/system/sepolicy/tools/
Dinsertkeys.py6 import logging
129 logging.info("Skipping " + tag + " : " + option +
184 logging.info("Replacing " + name + " " + value + " with " + key)
247 logging.basicConfig(level=logging.INFO if options.verbose == True else logging.WARN)
256 logging.info("Setting output file to: " + options.output_file)
260 logging.info("Generate key map:")
262 logging.info(k + " : " + str(key_map[k]))
/system/extras/simpleperf/scripts/
Dutils.py22 import logging
36 logging.debug(msg)
40 logging.info(msg)
44 logging.warning(msg)
148 logging.getLogger().setLevel(logging.DEBUG)
Dupdate.py19 import logging
64 return logging.getLogger(__name__)
161 verbose_map = (logging.WARNING, logging.INFO, logging.DEBUG)
165 logging.basicConfig(level=verbose_map[verbosity])
/system/tpm/trunks/
Dtrunks_testrunner.cc27 logging::SetMinLogLevel(logging::LOG_VERBOSE); in main()
/system/tpm/tpm_manager/
Dtpm_manager_testrunner.cc27 logging::SetMinLogLevel(logging::LOG_VERBOSE); in main()
/system/tpm/attestation/
Dattestation_testrunner.cc27 logging::SetMinLogLevel(logging::LOG_VERBOSE); in main()
/system/bt/service/test/
Dmain.cc26 logging::LoggingSettings log_settings; in main()
27 logging::InitLogging(log_settings); in main()
/system/update_engine/scripts/
Dupdate_device.py22 import logging
146 logging.info('Serving request for %s from %s [%d, %d) length: %d',
180 logging.info('Server Terminated')
233 logging.info('Running: %s', ' '.join(str(x) for x in command))
252 logging.basicConfig(
253 level=logging.WARNING if args.no_verbose else logging.INFO)
/system/bt/service/
Dmain.cc38 logging::LoggingSettings log_settings; in main()
39 if (!logging::InitLogging(log_settings)) { in main()
/system/core/bootstat/
Dbootstat.rc15 # sys.logbootcomplete is a signal to enable the bootstat logging mechanism.
16 # This signaling is necessary to prevent logging boot metrics after a runtime
24 # Enable bootstat logging on boot.
28 # Disable further bootstat logging on a runtime restart. A runtime restart is
/system/core/init/
Dperfboot.py45 import logging
130 logging.info('Current CPU temperature %s' % temp)
217 logging.warning('dm-verity is not enabled for /%s. Did you run '
257 logging.warning('Unknown tag \'%s\'. Ignoring...', tag)
319 logging.error('Invalid record found: ' + line.getvalue())
430 logging.getLogger().setLevel(logging.INFO)
/system/bt/service/example/heart_rate/
Dserver_main.cc80 logging::LoggingSettings log_settings; in main()
84 if (!logging::InitLogging(log_settings)) { in main()
/system/extras/ANRdaemon/
DREADME1 ANRdaemon is a daemon to help analyze ANR due to CPU starvation by logging system
3 logging. Trace are configured ahead by setting different modules in /d/tracing.
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc372 logging::LoggingSettings log_settings; in Main()
374 log_settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; in Main()
375 log_settings.lock_log = logging::LOCK_LOG_FILE; in Main()
376 log_settings.delete_old = logging::APPEND_TO_OLD_LOG_FILE; in Main()
378 logging::InitLogging(log_settings); in Main()
/system/core/libmetricslogger/
DAndroid.bp24 // frameworks/base/core/java/com/android/internal/logging/EventLogTags.logtags
/system/sepolicy/public/
Dlogpersist.te1 # android debug logging, logpersist domains
Dotapreopt_slot.te11 # the directory afterwards. For logging of aggregate size, we need getattr.
/system/extras/perfprofd/
DAndroid.bp22 "quipper/base/logging.cc",
/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc113 : original_severity_(logging::GetMinLogLevel()) { in ScopedDisableVerboseLogging()
114 logging::SetMinLogLevel(logging::LOG_INFO); in ScopedDisableVerboseLogging()
117 logging::SetMinLogLevel(original_severity_); in ~ScopedDisableVerboseLogging()
121 logging::LogSeverity original_severity_;

12