/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 | 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 …]
|
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 …]
|
/tools/test/openhst/ |
D | stress_test.py | 31 import logging 119 logging.exception("Exception in worker queue - task remains uncompleted.") 134 logging.info("Email with subject '%s' has been suppressed", subject) 163 logging.info("Email with subject '%s' has been sent", subject) 165 logging.exception("Failed to send notification email") 196 logging.info("Event '%s' detected on %s", self.name, 234 logging.info("Logging device info to %s", output) 257 logging.info("Restarting process %s", "".join(str(self.command))) 261 logging.info("Delaying for %.2f seconds", needed_delay) 295 logging.exception("Exception encountered running process") [all …]
|
/tools/asuite/atest/tools/ |
D | atest_tools.py | 23 import logging 143 logging.error('Error installing updatedb: %s', e) 147 logging.debug('Running updatedb... ') 150 logging.debug('Executing: %s', updatedb_cmd) 153 logging.error('Process interrupted or failure.') 183 logging.debug('Done') 186 logging.error('Failed in dumping %s', dump_file) 204 logging.debug('Probing CC classes:\n %s', find_cc_cmd) 221 logging.debug('Probing Java classes:\n %s', find_java_cmd) 230 logging.debug('indexing testable modules.') [all …]
|
/tools/tradefederation/core/atest/tools/ |
D | atest_tools.py | 22 import logging 125 logging.error('Error installing updatedb: %s', e) 129 logging.debug('Running updatedb... ') 132 logging.debug('Executing: %s', updatedb_cmd) 135 logging.error('Process interrupted or failure.') 163 logging.error('Failed in dumping %s', dump_file) 181 logging.debug('Probing CC classes:\n %s', find_cc_cmd) 198 logging.debug('Probing Java classes:\n %s', find_java_cmd) 207 logging.debug('indexing testable modules.') 214 logging.error('Failed in dumping %s', cache) [all …]
|
/tools/asuite/atest/ |
D | atest_utils.py | 29 import logging 189 logging.debug('No build targets, skipping build.') 196 logging.debug('Building Dependencies: %s', ' '.join(build_targets)) 198 logging.debug('Executing command: %s', cmd) 206 logging.info('Build successful') 209 logging.error('Error building: %s', build_targets) 211 logging.error(err.output) 226 logging.debug('Talking to result server raised exception: %s', err) 304 logging.debug('Checking colorful raised exception: %s', err) 545 logging.debug('Saving cache %s.', cache_path) [all …]
|
D | atest.py | 31 import logging 128 logging.basicConfig(level=logging.DEBUG, 131 logging.basicConfig(level=logging.INFO, 143 logging.error('Local environment doesn\'t appear to have been ' 255 logging.error(err_msg) 313 logging.error('Cannot collect both baseline and new metrics' 318 logging.error('Need to specify at least 1 arg for' 324 logging.error('Need to specify --generate-baseline or' 329 logging.error('Specified 2 metric paths and --generate-baseline' 333 logging.error('Specified 2 metric paths and --generate-new-metrics, ' [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | coex_test_utils.py | 18 import logging 457 flag &= wait_for_dialing(logging, pri_ad) 458 flag &= wait_for_ringing(logging, sec_ad) 463 if not wait_and_answer_call(logging, sec_ad): 466 if not wait_for_active(logging, pri_ad): 469 if not wait_for_active(logging, sec_ad): 473 if not hangup_call(logging, pri_ad): 477 flag &= wait_for_not_in_call(logging, pri_ad) 478 flag &= wait_for_not_in_call(logging, sec_ad) 503 if not initiate_call(logging, pri_ad, callee_number): [all …]
|
/tools/acloud/public/ |
D | acloud_main.py | 72 import logging 110 DEFAULT_STREAM_HANDLER = logging.StreamHandler() 111 DEFAULT_STREAM_HANDLER.setLevel(logging.CRITICAL) 112 logging.getLogger().addHandler(DEFAULT_STREAM_HANDLER) 138 _LOGGER = logging.getLogger(ACLOUD_LOGGER) 332 shandler_level = logging.CRITICAL 333 logger = logging.getLogger(ACLOUD_LOGGER) 335 shandler_level = logging.INFO 336 logger = logging.getLogger(ACLOUD_LOGGER) 338 shandler_level = logging.DEBUG [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/ |
D | utils.py | 24 import logging 240 logging.error("Exception error to load %s: %s", f, e) 465 logging.debug("Start standing subprocess with cmd: %s", cmd) 484 logging.debug("Stop standing subprocess %d", pid) 868 logging.debug("No error during default bypass call.") 873 logging.error("ADB_CMD_OUTPUT:0, but error is %s " % 876 logging.debug("Bypass wizard call received harmless error 3: " 881 logging.debug("Need root access to bypass setup wizard.") 885 logging.debug("No error during rooted bypass call.") 890 logging.error("Rooted ADB_CMD_OUTPUT:0, but error is " [all …]
|
D | logger.py | 20 import logging 27 from acts.libs.logging import log_stream 28 from acts.libs.logging.log_stream import LogStyles 85 class ColoredLogFormatter(logging.Formatter): 203 logging.log_path = log_path 213 file_formatter = logging.Formatter(log_line_format, log_line_time_format) 219 log.setLevel(logging.DEBUG) 226 logging.addLevelName(log_data['level'], log_type) 237 if isinstance(h, logging.FileHandler): 283 class LoggerAdapter(logging.LoggerAdapter): [all …]
|
/tools/tradefederation/core/atest/ |
D | atest_utils.py | 25 import logging 170 logging.debug('No build targets, skipping build.') 177 logging.debug('Building Dependencies: %s', ' '.join(build_targets)) 179 logging.debug('Executing command: %s', cmd) 187 logging.info('Build successful') 190 logging.error('Error building: %s', build_targets) 192 logging.error(err.output) 213 logging.debug('Talking to result server raised exception: %s', err) 292 logging.debug('Checking colorful raised exception: %s', err) 538 logging.debug('Saving cache %s.', cache_path) [all …]
|
D | atest.py | 28 import logging 130 logging.basicConfig(level=logging.DEBUG, format=log_format, datefmt=datefmt) 132 logging.basicConfig(level=logging.INFO, format=log_format, datefmt=datefmt) 143 logging.error('Local environment doesn\'t appear to have been ' 254 logging.error(err_msg) 309 logging.error('Cannot collect both baseline and new metrics at the same time.') 313 logging.error('Need to specify at least 1 arg for regression detection.') 318 logging.error('Need to specify --generate-baseline or --generate-new-metrics.') 322 logging.error('Specified 2 metric paths and --generate-baseline, ' 326 logging.error('Specified 2 metric paths and --generate-new-metrics, ' [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/asuite/aidegen/lib/ |
D | ide_common_util.py | 24 import logging 48 logging.debug('The script%s for %s %s found.', 52 logging.error('There is not any script of %s found.', ide_name) 64 logging.debug('Run command: "%s" to launch project.', run_sh_cmd) 68 logging.error('Launch project path %s failed with error: %s.', 83 logging.info('Searching IDE script %s in path: %s.', ide_script_name, top) 85 logging.debug('Search all files under %s to get %s, %s.', top, root, 90 logging.debug('Use file name filter to find %s in path %s.', 141 logging.debug('Call get_scripts_from_dir_path with %s, and %s', input_path, 160 logging.info( [all …]
|
D | module_info_util_unittest.py | 20 import logging 80 @mock.patch.object(logging, 'info') 102 @mock.patch.object(logging, 'warning') 136 @mock.patch.object(logging, 'warning') 169 @mock.patch.object(logging, 'warning') 200 @mock.patch.object(logging, 'warning') 400 @mock.patch.object(logging, 'warning') 404 @mock.patch.object(logging, 'info') 429 @mock.patch.object(logging, 'warning') 433 @mock.patch.object(logging, 'info') [all …]
|
D | common_util.py | 25 import logging 92 logging.debug('{}.{} takes: {:.2f}s'.format( 276 logging.error(err) 280 logging.error(err) 285 logging.error(err) 287 logging.debug(_REBUILD_MODULE_INFO, err) 293 logging.error(err) 295 logging.debug(_REBUILD_MODULE_INFO, err) 453 level = logging.DEBUG if verbose else logging.INFO 455 logging.getLogger().handlers = [] [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 22 import logging 741 logging.warning('WIFI DISCONNECT DETECTED!') 895 logging.info('Searching attenuation for RSSI = {}dB'.format(target_rssi)) 916 logging.debug("RSSI @ {0:.2f}dB attenuation = {1:.2f}".format( 941 logging.info("RSSI @ {0:.2f}dB attenuation = {1:.2f}".format( 945 logging.info( 985 logging.warning('RSSI might be too low to get reliable chain map.') 1006 logging.debug('Chain Map: {}'.format(chain_map)) 1049 logging.debug("RF Map (by Network): {}".format(rf_map_by_network)) 1050 logging.debug("RF Map (by Atten): {}".format(rf_map_by_atten)) [all …]
|
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 …]
|
D | wifi_test_utils.py | 17 import logging 675 logging.warning("Could not confirm the removal of network %s.", n) 1076 logging.debug("Connection result on %s: %s.", ad.serial, 1083 logging.info("Connected to Wi-Fi network %s on %s", actual_ssid, 1962 logging.info("Set attenuation values to %s", roaming_attn[attn_val_name]) 1969 logging.exception("Failed to set attenuation values %s.", 1985 logging.info("Set attenuation values to %s in %d step(s)", 2011 logging.info("Wait %ss for roaming to finish.", ROAMING_TIMEOUT) 2016 logging.info("Roamed to %s successfully", expected_bssid) 2025 logging.info("softap setup: %s %s", ap_ssid, ap_password) [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/bt/ |
D | ble_performance_test_utils.py | 17 import logging 55 logging.error(err) 71 logging.info("Reading BLE RSSI for {} sec".format(rssi_read_duration)) 81 logging.error( 86 logging.debug("First & Last reading of RSSI :{:03d} & {:03d}".format( 118 logging.info( 132 logging.info("Failed to esatablish COC connection".format(err)) 164 logging.info( 188 logging.info("BLE RSSI is:{} dBm with data rate={} bites per sec ".format( 203 logging.info("Disconnecting from peripheral device.") [all …]
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 23 import logging 340 logging.debug('%s', err) 424 logging.debug('\'%s\' does not exist!', search_dir) 434 logging.debug('Exception raised: %s', err) 439 logging.debug('Found %s in %s', target, FIND_INDEXES[ref_type]) 446 logging.debug('Executing %s find cmd: %s', ref_name, find_cmd) 450 logging.debug('%s find cmd out: %s', ref_name, out) 451 logging.debug('%s find completed in %ss', ref_name, time.time() - start) 626 logging.warning('Build target (%s) not present in module info, ' 636 logging.debug('Targets found in config file: %s', targets) [all …]
|