/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | apollo_lib.py | 55 from logging import Logger 58 logging = tracelogger.TakoTraceLogger(Logger('apollo')) variable 170 serial_logger=logging) 173 logging.error( 181 global logging 182 logging = serial_logger 221 logging.debug(cmd) 292 logging.info('Command rejected') 309 logging.info(res) 334 logging.warning('Error reading PDL mask @ 0x2637') [all …]
|
D | b29_lib.py | 34 from logging import Logger 36 logging = tracelogger.TakoTraceLogger(Logger(__file__)) variable 93 logging.error("unable to find b29 with serial number %s" % 169 logging.info('Restoring golden image...') 175 logging.info('Golden image restored successfully') 178 logging.warning('Failed to restore golden image') 191 logging.info('Pinging %s via B29...' % component) 197 logging.info('Ping passes') 201 logging.warning('Ping failed') 212 logging.info('Resetting B29') [all …]
|
D | logserial.py | 30 from logging import Logger 32 logging = tracelogger.TakoTraceLogger(Logger(__file__)) variable 109 logging.error(error) 213 logging.error(e) 219 global logging 220 logging = serial_logger 221 self.set_output_path(getattr(logging, 'output_path', '/tmp')) 271 logging.info('Connection Open') 279 logging.flush_log() 281 logging.info('Connection Closed') [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | check_quality.py | 21 import logging 87 logging.warning( 115 logging.debug('Convert the file using sox: %s', command) 138 logging.exception('Unsupported wave format') 153 logging.debug('Wave header: %s', header) 221 logging.debug('Channel %d max abs signal: %f', channel_idx, 224 logging.info('No data on channel %d, skip this channel', 232 logging.debug('saturate_value: %f', saturate_value) 233 logging.debug('max signal after normalized: %f', 238 logging.debug('Channel %d spectral:\n%s', channel_idx, [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/proto/ |
D | proto_utils.py | 14 import logging 34 logging.error( 38 logging.error(" prebuilts/tools/linux-x86_64/protoc/bin/protoc") 39 logging.error("If prebuilts are not available, use apt-get:") 40 logging.error(" sudo apt-get install protobuf-compiler") 44 logging.error('Can\'t find required file: %s\n' % proto_path) 50 logging.error("Output path is not a valid directory: %s" % 57 logging.debug('Generating %s' % output_path) 62 logging.debug('Running command %s' % protoc_command) 64 logging.error("Fail to compile proto") [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_datastore_utils.py | 18 import logging 57 logging.debug("Request = %s" % request) 64 logging.info("Added device %s to datastore" % name) 77 logging.debug("Request = %s" % request) 83 logging.info("Removed device %s from datastore" % name) 97 logging.debug("Request = %s" % request) 102 logging.info("Locked device %s in datastore" % name) 115 logging.debug("Request = %s" % request) 120 logging.info("Finished un-locking AP %s in datastore" % name) 133 logging.debug("Request = %s" % request) [all …]
|
/tools/acloud/public/ |
D | acloud_main.py | 51 import logging 81 DEFAULT_STREAM_HANDLER = logging.StreamHandler() 82 DEFAULT_STREAM_HANDLER.setLevel(logging.CRITICAL) 83 logging.getLogger().addHandler(DEFAULT_STREAM_HANDLER) 313 shandler_level = logging.CRITICAL 314 logger = logging.getLogger(ACLOUD_LOGGER) 316 shandler_level = logging.INFO 317 logger = logging.getLogger(ACLOUD_LOGGER) 319 shandler_level = logging.DEBUG 320 logger = logging.getLogger() [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/logging/ |
D | log_stream.py | 16 import logging 19 from logging import FileHandler 20 from logging import Handler 21 from logging import StreamHandler 22 from logging.handlers import RotatingFileHandler 76 LOG_DEBUG: logging.DEBUG, 77 LOG_INFO: logging.INFO, 78 LOG_WARNING: logging.WARNING, 79 LOG_ERROR: logging.ERROR, 80 LOG_CRITICAL: logging.CRITICAL, [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/ |
D | _tnhelper.py | 21 import logging 54 logging.debug("Telnet Server IP = %s" % host) 79 logging.debug('Diagnosing telnet connection') 83 logging.error("Unable to ping telnet server.") 87 logging.error('Ping Packets Lost. Result: {}'.format(ping_output)) 92 logging.error('Cannot close telnet connection.') 97 logging.error('Cannot reopen telnet connection.') 99 logging.debug('Telnet connection likely recovered') 121 logging.debug('Telnet Command: {}'.format(cmd_str)) 122 logging.debug('Telnet Reply: ({},{},{})'.format(
|
/tools/asuite/aidegen/lib/ |
D | ide_util.py | 32 import logging 67 logging.debug('IdeUtil with OS name: %s%s', platform.system(), 280 logging.warning(err) 318 logging.debug('IDE internal installed path: %s.', found) 405 logging.info('The config path list: %s.\n', _config_folders) 566 logging.debug('Result for checking %s after sort: %s.', 569 logging.error('No %s installed.', self._ide_name) 634 logging.debug('Result for checking %s after sort: %s.', ide_name, 637 logging.error('No %s installed.', ide_name) 649 logging.debug('Run command: "%s" to launch project.', run_sh_cmd) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/ |
D | logcat.py | 17 import logging 21 from acts.libs.logging import log_stream 22 from acts.libs.logging.log_stream import LogStyles 47 return logging.ERROR 51 return logging.DEBUG 53 return logging.INFO 55 return logging.WARNING 57 return logging.ERROR 58 return logging.NOTSET
|
/tools/tradefederation/core/atest/ |
D | atest.py | 28 import logging 101 logging.basicConfig(level=logging.DEBUG, format=log_format, datefmt=datefmt) 103 logging.basicConfig(level=logging.INFO, format=log_format, datefmt=datefmt) 114 logging.error('Local environment doesn\'t appear to have been ' 214 logging.error(err_msg) 269 logging.error('Cannot collect both baseline and new metrics at the same time.') 273 logging.error('Need to specify at least 1 arg for regression detection.') 278 logging.error('Need to specify --generate-baseline or --generate-new-metrics.') 282 logging.error('Specified 2 metric paths and --generate-baseline, ' 286 logging.error('Specified 2 metric paths and --generate-new-metrics, ' [all …]
|
D | atest_utils.py | 22 import logging 137 logging.debug('No build targets, skipping build.') 144 logging.debug('Building Dependencies: %s', ' '.join(build_targets)) 146 logging.debug('Executing command: %s', cmd) 154 logging.info('Build successful') 157 logging.error('Error building: %s', build_targets) 159 logging.error(err.output) 173 logging.debug('Talking to result server raised exception: %s', err) 235 logging.debug('Checking colorful raised exception: %s', err)
|
/tools/test/connectivity/acts/framework/acts/ |
D | logger.py | 20 import logging 27 from acts.libs.logging import log_stream 28 from acts.libs.logging.log_stream import LogStyles 87 class ColoredLogFormatter(logging.Formatter): 205 logging.log_path = log_path 213 file_formatter = logging.Formatter(log_line_format, log_line_time_format) 217 log.setLevel(logging.DEBUG) 224 logging.addLevelName(log_data['level'], log_type) 235 if isinstance(h, logging.FileHandler): 281 class LoggerAdapter(logging.LoggerAdapter): [all …]
|
D | utils.py | 22 import logging 219 logging.error("Exception error to load %s: %s", f, e) 443 logging.debug("Start standing subprocess with cmd: %s", cmd) 462 logging.debug("Stop standing subprocess %d", pid) 834 logging.debug("No error during default bypass call.") 839 logging.error( 842 logging.debug("Bypass wizard call received harmless error 3: " 847 logging.debug("Need root access to bypass setup wizard.") 851 logging.debug("No error during rooted bypass call.") 856 logging.error("Rooted ADB_CMD_OUTPUT:0, but error is " [all …]
|
/tools/test/connectivity/acts/framework/tests/controllers/android_lib/ |
D | logcat_test.py | 16 import logging 66 self.assertEqual(level, logging.DEBUG) 72 self.assertEqual(level, logging.DEBUG) 78 self.assertEqual(level, logging.INFO) 84 self.assertEqual(level, logging.WARNING) 90 self.assertEqual(level, logging.ERROR) 96 self.assertEqual(level, logging.ERROR) 101 logcat._get_log_level = lambda message: logging.INFO 109 log.log.assert_called_once_with(logging.INFO, message) 112 logcat._get_log_level = lambda message: logging.INFO
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner.py | 21 import logging 69 self.is_verbose = logging.getLogger().isEnabledFor(logging.DEBUG) 84 logging.debug('APE_API_KEY is set by developer.') 89 logging.debug('Set APE_API_KEY: %s', ape_api_key) 92 logging.debug('APE_API_KEY not set, some GTS tests may fail' 169 logging.debug('Accepted connection from %s', addr) 180 logging.debug('Socket server started on port %s', 195 logging.debug('Polling TF subproc for early exit.') 197 logging.debug('TF subproc exited early') 215 logging.debug('Waiting to receive data') [all …]
|
D | test_runner_base.py | 23 import logging 66 logging.debug('ignoring the following args: %s', kwargs) 87 logging.debug('Executing command: %s', cmd) 105 logging.debug('Caught exception:', exc_info=1) 114 logging.debug('Killing subproc: %s', subproc.pid) 119 logging.debug('Subproc already terminated, skipping') 141 logging.debug('Runner Name: %s, Process ID: %s', self.NAME, proc.pid) 167 logging.info('Ctrl-C received. Killing subprocess group')
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | coex_test_utils.py | 18 import logging 461 flag &= wait_for_dialing(logging, pri_ad) 462 flag &= wait_for_ringing(logging, sec_ad) 467 if not wait_and_answer_call(logging, sec_ad): 470 if not wait_for_active(logging, pri_ad): 473 if not wait_for_active(logging, sec_ad): 477 if not hangup_call(logging, pri_ad): 481 flag &= wait_for_not_in_call(logging, pri_ad) 482 flag &= wait_for_not_in_call(logging, sec_ad) 507 if not initiate_call(logging, pri_ad, callee_number): [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | bridge_interface.py | 17 import logging 66 logging.info('Create bridge interface between LAN and WLAN') 71 logging.warning( 80 logging.warning('4addr is already enabled on {}'.format( 89 logging.warning('{} has alrady been added to {}'.format( 99 logging.info('Bridge interface is up and running') 107 logging.info('Bringing down the bridge interface') 120 logging.info('Bridge interface is down')
|
/tools/test/connectivity/tools/lab/reporters/ |
D | logger_reporter.py | 17 import logging 31 logger = logging.getLogger(__name__) 32 logger.setLevel(logging.INFO) 36 handler = logging.FileHandler('lab_health.log') 37 handler.setLevel(logging.INFO) 39 formatter = logging.Formatter( 44 logger = logging.LoggerAdapter(logger, extra)
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/ |
D | adb_sideload_ota_tool.py | 17 import logging 35 logging.info('Rooting adb') 37 logging.info('Rebooting to sideload') 40 logging.info('Sideloading ota package') 42 logging.info('Running adb sideload with package "%s"' % package_path) 45 logging.info('Sideload complete. Waiting for device to come back up.') 48 logging.info('Device is up. Update complete.')
|
/tools/acloud/ |
D | acloud_test.py | 19 import logging 28 OAUTH2_LOGGER = logging.getLogger('oauth2client.contrib.multistore_file') 29 OAUTH2_LOGGER.setLevel(logging.CRITICAL) 30 OAUTH2_LOGGER.addHandler(logging.FileHandler("/dev/null")) 34 logger = logging.getLogger(ACLOUD_LOGGER) 35 logger.setLevel(logging.CRITICAL) 36 logger.addHandler(logging.FileHandler("/dev/null"))
|
/tools/test/connectivity/acts/framework/tests/libs/logging/ |
D | log_stream_test.py | 16 import logging 25 from acts.libs.logging import log_stream 26 from acts.libs.logging.log_stream import AlsoToLogHandler 27 from acts.libs.logging.log_stream import _LogStream 28 from acts.libs.logging.log_stream import InvalidStyleSetError 29 from acts.libs.logging.log_stream import LogStyles 54 logging.log_path = '/f/a/i/l/p/a/t/h' 72 self.assertTrue(isinstance(log.handlers[0], logging.NullHandler)) 202 self.assertEqual(log.handlers[1].level, logging.DEBUG) 212 self.assertTrue(isinstance(log.handlers[1], logging.StreamHandler)) [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | QuotationAwareTokenizer.java | 60 public static String[] tokenizeLine(String line, String delim, boolean logging) in tokenizeLine() argument 74 log(String.format("Trying to tokenize the line '%s'", line), logging); in tokenizeLine() 86 log(String.format("Finished token '%s'", token.toString()), logging); in tokenizeLine() 94 log("Flipped quotation state", logging); in tokenizeLine() 110 log(String.format("Finished final token '%s'", token.toString()), logging); in tokenizeLine() 139 public static String[] tokenizeLine(String line, boolean logging) in tokenizeLine() argument 141 return tokenizeLine(line, " ", logging); in tokenizeLine()
|