| /external/syzkaller/tools/syz-headerparser/headerlib/ |
| header_preprocessor.py | 8 import logging 88 def __init__(self, filenames, include_lines='', loglvl=logging.INFO): 105 self.logger = logging.getLogger(self.__class__.__name__) 106 formatter = logging.Formatter('DEBUG:%(name)s:%(message)s') 107 sh = logging.StreamHandler()
|
| /external/tensorflow/tensorflow/python/tpu/ |
| error_handling.py | 29 from tensorflow.python.platform import tf_logging as logging 70 logging.info('Error recorded from %s: %s', source, value) 93 logging.info('%s marked as finished', source) 127 logging.warn('Reraising captured error') 131 logging.warn('Reraising captured error')
|
| tpu_system_metadata.py | 30 from tensorflow.python.platform import tf_logging as logging 77 logging.info('Querying Tensorflow master (%s) for TPU system metadata.', 97 logging.warning('%s', msg) 98 logging.warning('Retrying (%d/%d).', retry_count, _RETRY_TIMES) 148 logging.info('Found TPU system:') 149 logging.info('*** Num TPU Cores: %d', metadata.num_cores) 150 logging.info('*** Num TPU Workers: %d', metadata.num_hosts) 151 logging.info('*** Num TPU Cores Per Worker: %d', 154 logging.info('*** Available Device: %s', device) 156 logging.info('Failed to find TPU: %s', metadata [all...] |
| /external/toolchain-utils/automation/clients/ |
| crosstool.py | 7 import logging 86 logging.error('Exactly one target required as a command line argument!') 87 logging.info('List of valid targets:') 89 logging.info('%d) %s', pair) 101 logger.SetUpRootLogger(level=logging.DEBUG, display_flags={'name': False})
|
| /external/toolchain-utils/automation/clients/report/dejagnu/ |
| report.py | 5 import logging 72 logging.info('Generating report for: %s.', test_run) 97 logging.info('Rendering report in HTML format.') 104 logging.error('Django framework not installed!') 105 logging.error('Failed to generate report in HTML format!')
|
| /frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
| buildStrategiesStructureFile.py | 24 import logging 74 logging.info("Importing strategyStructureInFile {}".format(strategyStructureInFile)) 100 logging.info("Checking Audio Policy Engine Configuration file {}".format(audiopolicyengineconfigurationfile)) 128 logging.root.setLevel(logging.INFO)
|
| /external/autotest/client/bin/ |
| setup_job.py | 5 import logging, os, pickle, re, sys 83 logging.exception('%s import error: %s. Skipping %s' % 87 logging.exception("%s: %s", test_name, e) 141 logging.info('setup %s.' % test_name) 151 logging.error(err) 195 logging.error('### No test setup candidates ###') 203 logging.info('############################# SUMMARY ' 208 logging.info('Finished setup -- The following tests failed') 210 logging.info(failed_test) 212 logging.info('Finished setup -- All tests built successfully' [all...] |
| /external/autotest/client/cros/audio/ |
| cmd_utils.py | 8 import logging 92 logging.log(logger._level, '%s%s', logger._prefix, line) 95 def create_logger(self, level=logging.DEBUG, prefix=''): 98 @param level: the desired logging level 115 def create_logger(level=logging.DEBUG, prefix=''): 118 @param level: the desired logging level 138 logging.warning('failed to kill %d, %s', p.pid, e) 140 logging.warning('command exit (pid=%d, rc=%d): %s', 156 logging.error(error_message) 215 stdout = create_logger(level=logging.DEBUG, prefix=prefix [all...] |
| /external/autotest/contrib/ |
| generate_rpm_mapping.py | 28 import logging 194 logging.error('Could not determine hydra for %s', 303 logging.warn('Rule not implemented for row 13 in chromeos4') 343 logging.error('Could not determine outlet for device %s', 370 logging.error('Could not determine hydra hostname for %s', 393 logging.error('Could not parse %s', device_hostname) 420 logging.error( 428 logging.info( 451 logging.basicConfig(level=logging.DEBUG [all...] |
| /external/autotest/server/site_tests/audio_AudioAfterReboot/ |
| audio_AudioAfterReboot.py | 7 import logging 40 logging.debug('Plugging' if plug_state else 'Unplugging') 43 logging.debug('Jack plugger is NOT present!') 64 logging.debug('Start playing %s', self.golden_file.path) 69 logging.debug('Start recording.') 75 logging.debug('Stopped recording.') 95 logging.debug('Saving recorded data to %s', recorded_file) 106 logging.debug('Saving filtered data to %s', recorded_file) 135 logging.info('Disconnecting audio bus before reboot') 141 logging.debug('After reboot' [all...] |
| /external/autotest/server/site_tests/firmware_FWupdate/ |
| firmware_FWupdate.py | 5 import logging 55 logging.info('EC=%s BIOS=%s PD=%s', 73 logging.info('Execute %s', command) 75 logging.info('Output %s', output) 84 logging.info('Execute %s', command) 86 logging.info('Output %s', output) 181 logging.info('crossystem BEFORE: %s', crossystem_before) 182 logging.info('crossystem AFTER: %s', crossystem_after) 183 logging.info('Expects bios %s', bios_version) 184 logging.info('Expects ec %s', ec_version [all...] |
| /external/autotest/site_utils/ |
| diagnosis_utils.py | 8 import logging 107 logging.error('Bad interval %s', self.interval_hours) 186 logging.info('Suite timed out. Started on %s, timed out on %s', 240 logging.error('No hosts found for labels %r', labels) 260 logging.error('host: %s, status: %s, locked: %s ' 299 logging.debug('skip_duts_check is on, do not enforce minimum ' 304 logging.debug('The total number of DUTs for %r is %d, ' 313 logging.debug('%d of %d DUTs are available for %r.', 337 logging.info('\n%s printing summary of incomplete jobs (%s):\n', 341 logging.info('%s: %s', job.testname[job.testname.rfind('/')+1:] [all...] |
| /external/autotest/site_utils/stable_images/ |
| assign_stable_images.py | 29 import logging 113 logging.debug('Default %s -> %s', old_default, new_default) 126 logging.debug(' %-22s %s -> %s', board, old_version, new_version) 148 logging.info('DRYRUN: Would have set %s version to %s', 160 logging.info('DRYRUN: Would have deleted version for %s', board) 279 logging.info('Applying stable version changes:') 296 logging.info('%d boards now use the default mapping', default_count) 336 logging.info('%d boards have no firmware mapping', no_version) 337 logging.info('%d boards are unchanged', unchanged) 352 logging.info('Applying firmware updates.' [all...] |
| /external/bcc/tools/ |
| tcpsubnet.py | 31 import logging 71 level = logging.INFO 73 level = logging.DEBUG 75 logging.basicConfig(level=level) 77 logging.debug("Starting with the following args:") 78 logging.debug(args) 82 logging.error("Invalid interval, must be > 0. Exiting.") 197 logging.debug("Packets are going to be categorized in the following subnets:") 198 logging.debug(subnets) 205 logging.debug("Done preprocessing the BPF program, " [all...] |
| /external/clang/tools/scan-build-py/libscanbuild/ |
| runner.py | 14 import logging 93 logging.debug("Run analyzer against '%s'", command) 98 logging.error("Problem occured during analyzis.", exc_info=1) 133 logging.debug('exec command in %s: %s', cwd, ' '.join(cmd)) 175 logging.debug('exec command in %s: %s', cwd, ' '.join(cmd)) 193 # return the output for logging and exit code for testing 237 logging.debug('skip analysis, language not known') 240 logging.debug('skip analysis, language not supported') 243 logging.debug('analysis, language: %s', language) 265 logging.debug('analysis, on arch: %s', current [all...] |
| /external/perfetto/infra/git_mirror_bot/ |
| mirror_aosp_to_ghub_repo.py | 54 import logging 148 logging.warning('Skipping CL %s because its too big (%d bytes)', 163 logging.info('Fetching git remotes') 205 logging.info('Forging per-CL branches') 215 logging.info('current_heads: %d, future_heads: %d, deleted_heads: %d', 230 logging.info('Pushing updates') 238 logging.info('Setting up git repo one-off') 241 logging.info('------- BEGINNING OF SYNC CYCLE -------') 243 logging.info('------- END OF SYNC CYCLE -------') 248 logging.basicConfig [all...] |
| /external/webrtc/tools/network_emulator/ |
| emulate.py | 13 import logging 22 _DEFAULT_LOG_LEVEL = logging.INFO 131 """Setup logging.""" 134 log_level = logging.DEBUG 135 logging.basicConfig(level=log_level, format='%(message)s') 159 logging.error('Error: %s\n\nCause: %s', e.fail_msg, e.error) 167 logging.info('Constraining traffic to/from IP: %s', external_ip) 170 logging.info('Started network emulation with the following configuration:\n' 183 logging.info('Affected traffic: IP traffic on ports %s-%s', 186 logging.info('Flushing all Dummynet rules...' [all...] |
| /external/autotest/server/cros/faft/ |
| firmware_test.py | 7 import logging 117 logging.info('FirmwareTest initialize begin (id=%s)', self.run_id) 165 logging.info('vboot version: %d', 2 if self.fw_vboot2 else 1) 169 logging.info('mainfw_act is B. rebooting to set it A') 177 logging.info('FirmwareTest initialize done (id=%s)', self.run_id) 182 logging.info('FirmwareTest cleaning up (id=%s)', self.run_id) 200 logging.info('FirmwareTest cleanup done (id=%s)', self.run_id) 229 logging.info('System info:\n%s', pprint.pformat(system_info)) 247 logging.info('Try to retrieve recovery reason...') 258 logging.info('Got the recovery reason %d.', recovery_reason [all...] |
| /development/gsi/gsi_util/gsi_util/mounters/ |
| image_mounter.py | 21 import logging 52 logging.info('_ImageFileAccessor: Prepare file %s -> %s', 58 logging.info(' File does not exist: %s', filename_in_storage) 78 logging.debug('Checking system-as-root in %s...', raw_image_file) 95 logging.debug( 118 logging.debug('Created temp dir: %s', temp_dir) 129 logging.debug('Removing temp dir: %s', self._temp_dir)
|
| /external/autotest/client/cros/chameleon/ |
| chameleon_screen_test.py | 5 import logging 68 logging.info('Hide cursor and do screen comparison again...') 85 logging.info('Compare the calibration image directly...') 96 """Loads calibration image on the CrOS with logging 111 logging.info('Waiting for calibration image to stabilize...') 155 logging.info('Warning: %s', error) 171 logging.info('Retry screen comparison again...') 195 logging.error(error)
|
| chameleon_video_capturer.py | 5 import logging 105 logging.debug("***# of frames received %s", count) 106 logging.debug("Checksums before chopping repeated ones") 108 logging.debug(c) 118 logging.debug("*** First interesting frame at index = %s", first_index) 145 logging.debug("Image the same as previous image, copy it.") 147 logging.debug("Read frame %d, store as %s.", i, path)
|
| /external/autotest/client/cros/ |
| kernel_trace.py | 5 import logging, os, re 123 logging.debug("event_onoff: event:%s val:%d", event, val) 128 logging.warning("Unable to locate tracing event %s", fname) 136 logging.debug("set_event ln:%s", ln) 142 logging.warning("Event %s not enabled", event) 146 logging.warning("Event %s not disabled", event) 188 logging.debug(ln)
|
| /external/autotest/client/cros/multimedia/ |
| audio_extension_handler.py | 7 import logging 135 logging.error( 152 logging.debug('output_id: %s', output_id) 225 logging.error('Node info contains multiple active nodes: %s', nodes) 255 logging.error('Node %s not found.', node_id) 259 logging.debug('Node %s is already active.', node_id) 262 logging.debug('Setting active id to %s', node_id)
|
| /external/autotest/client/site_tests/graphics_HwOverlays/ |
| graphics_HwOverlays.py | 5 import logging 48 logging.info("Internal display ID is %s", internal_display_id) 53 logging.info('Skipping test: platform does not support DRM atomic') 57 logging.info('Skipping test: platform supports 2 or less planes') 60 logging.info('Starting test, navigating to %s', html_file) 93 logging.debug('Found %s overlays', num_overlays) 95 logging.error(e)
|
| /external/autotest/client/site_tests/hardware_TPMTakeOwnership/ |
| hardware_TPMTakeOwnership.py | 5 import logging 67 logging.debug('Slept for %0.2f second', amount) 69 logging.debug('Slept for %0.2f millisecond', (amount * 1000)) 71 logging.debug('Slept for %0.2f microsecond', (amount * 1000000)) 88 logging.info('TPM hardware Reset signal activated') 97 logging.info('TPM hardware Reset signal DEactivated') 142 logging.debug('Actual value (%0.2f) exceeds max (%0.2f)',
|