/system/connectivity/shill/test-scripts/ |
D | connect-disconnect | 20 import logging 21 import logging.handlers 34 syslog_handler = logging.handlers.SysLogHandler(address='/dev/log') 35 formatter = logging.Formatter('%(pathname)s: %(message)s') 38 logging.getLogger().addHandler(syslog_handler) 39 logging.getLogger().addHandler(logging.StreamHandler()) 46 logging.error('Could not find service %s' % service_name) 67 logging.error('Failure at iteration %d: Connect:%-6s ' 73 logging.error('Unexpected DBus exception: %s' % e) 121 logging.warning(message) [all …]
|
/system/extras/perfprofd/quipper/base/ |
D | logging.h | 114 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) 194 logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream() 218 true ? (void) 0 : ::logging::LogMessageVoidify() & LOG_STREAM(FATAL) [all …]
|
/system/connectivity/shill/mobile_operator_db/ |
D | serviceproviders_converter.py | 18 import logging 86 logging.info('Dumping parsed XML') 92 logging.info('Dumping transformed XML.') 120 logger = logging.info if result else logging.error 131 logging.warning('Following nodes were dropped:') 133 logging.info(self._PPrintXML(node).encode(FILE_ENCODING)) 135 logging.info('######################') 136 logging.info('Conversion diagnostics') 137 logging.info('######################') 139 logging.info('Total number of XML CDMA nodes read [xml_cdma_nodes]: %d', [all …]
|
/system/update_engine/ |
D | main.cc | 81 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()
|
/system/sepolicy/tools/ |
D | insertkeys.py | 6 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/connectivity/shill/ |
D | json_store_unittest.cc | 278 Log(logging::LOG_ERROR, _, in TEST_F() 292 Log(logging::LOG_ERROR, _, in TEST_F() 305 Log(logging::LOG_ERROR, _, in TEST_F() 318 Log(logging::LOG_ERROR, _, in TEST_F() 331 Log(logging::LOG_ERROR, _, in TEST_F() 345 Log(logging::LOG_ERROR, _, in TEST_F() 538 Log(logging::LOG_ERROR, _, in TEST_F() 547 Log(logging::LOG_ERROR, _, in TEST_F() 556 Log(logging::LOG_WARNING, _, HasSubstr("|description| is not a string"))); in TEST_F() 563 Log(logging::LOG_ERROR, _, in TEST_F() [all …]
|
D | mock_log.cc | 32 previous_handler_ = ::logging::GetLogMessageHandler(); in ScopedMockLog() 33 ::logging::SetLogMessageHandler(HandleLogMessages); in ScopedMockLog() 38 ::logging::SetLogMessageHandler(previous_handler_); in ~ScopedMockLog()
|
D | arp_packet_unittest.cc | 100 Log(logging::LOG_ERROR, _, in TEST_F() 111 Log(logging::LOG_ERROR, _, in TEST_F() 122 Log(logging::LOG_ERROR, _, in TEST_F() 133 Log(logging::LOG_ERROR, _, in TEST_F() 144 Log(logging::LOG_ERROR, _, in TEST_F() 155 Log(logging::LOG_ERROR, _, in TEST_F() 167 Log(logging::LOG_ERROR, _, in TEST_F() 228 Log(logging::LOG_ERROR, _, in TEST_F() 243 Log(logging::LOG_ERROR, _, in TEST_F() 255 Log(logging::LOG_ERROR, _, in TEST_F()
|
D | logging.h | 49 ::logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream() 71 ::logging::ErrnoLogMessage(__FILE__, __LINE__, -verbose_level, \ 72 ::logging::GetLastSystemErrorCode()).stream()
|
D | arp_client_unittest.cc | 158 Log(logging::LOG_ERROR, _, in TEST_F() 169 Log(logging::LOG_ERROR, _, in TEST_F() 180 Log(logging::LOG_ERROR, _, in TEST_F() 192 Log(logging::LOG_ERROR, _, in TEST_F() 229 Log(logging::LOG_ERROR, _, in TEST_F() 235 Log(logging::LOG_ERROR, _, in TEST_F() 283 Log(logging::LOG_ERROR, _, in TEST_F() 286 Log(logging::LOG_ERROR, _, in TEST_F()
|
D | eap_listener_unittest.cc | 143 Log(logging::LOG_ERROR, _, in TEST_F() 154 Log(logging::LOG_ERROR, _, in TEST_F() 165 Log(logging::LOG_ERROR, _, in TEST_F() 205 Log(logging::LOG_ERROR, _, in TEST_F() 229 Log(logging::LOG_INFO, _, in TEST_F() 248 Log(logging::LOG_INFO, _, in TEST_F()
|
D | logging.cc | 41 level < logging::LOG_NUM_SEVERITIES) { in SetLogLevelFromCommandLine() 42 logging::SetMinLogLevel(level); in SetLogLevelFromCommandLine()
|
D | mock_log_unittest.cc | 61 EXPECT_CALL(log, Log(logging::LOG_INFO, _, kMessage)); in TEST_F() 68 EXPECT_CALL(log, Log(logging::LOG_INFO, in TEST_F() 106 EXPECT_CALL(log, Log(::testing::Lt(::logging::LOG_ERROR), in TEST_F()
|
D | icmp_unittest.cc | 111 Log(logging::LOG_ERROR, _, in TEST_F() 123 Log(logging::LOG_ERROR, _, in TEST_F() 190 Log(logging::LOG_ERROR, _, in TEST_F() 193 Log(logging::LOG_ERROR, _, in TEST_F()
|
/system/tpm/tpm_manager/ |
D | tpm_manager_testrunner.cc | 27 logging::SetMinLogLevel(logging::LOG_VERBOSE); in main()
|
/system/tpm/attestation/ |
D | attestation_testrunner.cc | 27 logging::SetMinLogLevel(logging::LOG_VERBOSE); in main()
|
/system/tpm/trunks/ |
D | trunks_testrunner.cc | 27 logging::SetMinLogLevel(logging::LOG_VERBOSE); in main()
|
/system/bt/service/test/ |
D | main.cpp | 30 logging::LoggingSettings log_settings; in main() 31 logging::InitLogging(log_settings); in main()
|
/system/connectivity/shill/supplicant/ |
D | wpa_supplicant_unittest.cc | 43 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter."))); in TEST_F() 57 Log(logging::LOG_ERROR, _, EndsWith("no subject parameter."))); in TEST_F() 71 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter."))); in TEST_F()
|
D | supplicant_eap_state_handler_unittest.cc | 39 EXPECT_CALL(log_, Log(logging::LOG_INFO, _, in StartEAP() 68 EXPECT_CALL(log_, Log(logging::LOG_INFO, _, in TEST_F() 141 EXPECT_CALL(log_, Log(logging::LOG_ERROR, _, EndsWith( in TEST_F() 157 EXPECT_CALL(log_, Log(logging::LOG_ERROR, _, EndsWith( in TEST_F()
|
/system/nativepower/daemon/ |
D | main.cc | 63 logging::InitLogging(logging::LoggingSettings()); in main()
|
/system/bt/service/ |
D | main.cpp | 47 logging::LoggingSettings log_settings; in main() 48 if (!logging::InitLogging(log_settings)) { in main()
|
/system/nativepower/example/ |
D | power_example.cc | 44 logging::InitLogging(logging::LoggingSettings()); in main()
|
/system/core/init/ |
D | perfboot.py | 45 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/core/base/ |
D | logging_test.cpp | 96 TEST(logging, CHECK) { in TEST() argument 133 TEST(logging, LOG) { in TEST() argument 243 TEST(logging, PLOG) { in TEST() argument 262 TEST(logging, UNIMPLEMENTED) { in TEST() argument
|