/external/python/cpython2/Lib/test/ |
D | test_logging.py | 22 import logging 23 import logging.handlers 24 import logging.config 62 logger_dict = logging.getLogger().manager.loggerDict 63 logging._acquireLock() 65 self.saved_handlers = logging._handlers.copy() 66 self.saved_handler_list = logging._handlerList[:] 68 self.saved_level_names = logging._levelNames.copy() 70 logging._releaseLock() 75 logging.getLogger("\xab\xd7\xbb") [all …]
|
/external/autotest/client/tests/iozone/ |
D | postprocessing.py | 11 import os, sys, optparse, logging, math, time 117 logging.info("Results will be stored in %s", output_dir) 200 logger = logging.getLogger() 201 formatter = logging.Formatter("") 203 logging.info("") 204 …logging.info("TABLE: SUMMARY of ALL FILE and RECORD SIZES Results in MB/se… 205 logging.info("") 206 …logging.info("FILE & RECORD INIT RE RE RANDOM RANDOM BACKWD RECRE STRIDE … 207 …logging.info("SIZES (KB) WRITE WRITE READ READ READ WRITE READ WRITE READ … 208 …logging.info("------------------------------------------------------------------------------------… [all …]
|
/external/mesa3d/src/egl/main/ |
D | egllog.c | 58 } logging = { variable 86 mtx_lock(&logging.mutex); in _eglSetLogProc() 88 if (logging.logger != logger) { in _eglSetLogProc() 89 logging.logger = logger; in _eglSetLogProc() 91 num_messages = logging.num_messages; in _eglSetLogProc() 92 logging.num_messages = 0; in _eglSetLogProc() 95 mtx_unlock(&logging.mutex); in _eglSetLogProc() 115 mtx_lock(&logging.mutex); in _eglSetLogLevel() 116 logging.level = level; in _eglSetLogLevel() 117 mtx_unlock(&logging.mutex); in _eglSetLogLevel() [all …]
|
/external/autotest/client/common_lib/cros/ |
D | cfm_hangouts_api.py | 5 import logging 27 logging.info('Hotrod telemetry commands available for testing.') 47 logging.info('Reached oobe start page') 59 logging.info('Skipped oobe screen.') 66 logging.info('Is on oobe start page.') 68 logging.info('Is not on oobe start page.') 97 logging.info('Started hangout session: %s', hangout_name) 110 logging.info('Ended hangout session.') 117 logging.info('Is in hangout session.') 119 logging.info('Is not in hangout session.') [all …]
|
D | cfm_meetings_api.py | 5 import logging 32 logging.info('Reached meetings landing page.') 40 logging.info('Reached meetings in-call page.') 67 logging.info('Started meeting session.') 79 logging.info('Started meeting session: %s', meeting_name) 85 logging.info('Ended meeting session.') 90 logging.info('Is in meeting session.') 92 logging.info('Is not in meeting session.') 135 logging.info('Mic is muted.') 137 logging.info('Mic is not muted.') [all …]
|
/external/autotest/client/common_lib/ |
D | logging_config.py | 1 import logging 10 logging.basicConfig(level=logging.DEBUG) 13 class AllowBelowSeverity(logging.Filter): 26 class VarLogMessageFormatter(logging.Formatter): 45 global_level = logging.DEBUG 46 stdout_level = logging.INFO 47 stderr_level = logging.ERROR 56 file_formatter = logging.Formatter(fmt=FILE_FORMAT, datefmt=DATE_FORMAT) 60 console_formatter = logging.Formatter(fmt=CONSOLE_FORMAT, 67 self.logger = logging.getLogger() [all …]
|
D | barrier.py | 1 import sys, socket, errno, logging 166 logging.info("tag=%s port=%d timeout=%r", 188 logging.error(error) 194 logging.info("seconds remaining: %d", timeout) 210 logging.warning("Ignoring invalid data from %s: %r", 216 logging.info("new client tag=%s, name=%s", tag, name) 224 logging.warning("client arriving for the wrong barrier: %s != %s", 231 logging.warning("duplicate client") 245 logging.warning("client handshake timeout: (%s:%d)", 250 logging.info("client now waiting: %s (%s:%d)", [all …]
|
D | smogcheck_tpm.py | 23 import datetime, logging 117 logging.info(' TPM 1.2 Version Info:\n') 118 logging.info(' Chip Version: %d.%d.%d.%d.', vi.version.major, 120 logging.info(' Spec Level: %d', vi.specLevel) 121 logging.info(' Errata Revision: %d', vi.errataRev) 123 logging.info(' TPM Vendor ID: %s', ''.join(vendorId)) 125 logging.info(' Vendor Specific data (first 4 bytes in Hex): ' 146 logging.info(' TPM Test Results: %s', ''.join(out)) 170 logging.info('Attempt to load shared library %s', TSPI_C_LIB) 176 logging.info('Successfully loaded shared library %s', TSPI_C_LIB) [all …]
|
D | i2c_slave.py | 11 import ctypes, logging 64 logging.info('Attempt to load shared library %s', self.load_lib) 70 logging.info('Successfully loaded shared library %s', self.load_lib) 81 logging.info('Attempt to get device file for adapter %s', 88 logging.info('Got device file for adapter %s', self.adapter_nr) 108 logging.info('Slave address already set, noop: %s', addr) 114 logging.info('Attempt to set slave address: %s', addr) 123 logging.info('Slave address set to: %s', addr) 137 logging.info('Attempt to write byte %r to reg %r', byte, reg) 141 logging.info('Successfully wrote byte 0x%x to reg %r', byte, reg) [all …]
|
/external/autotest/client/site_tests/hardware_Badblocks/ |
D | hardware_Badblocks.py | 5 import logging, re, subprocess, threading 57 logging.info('badblocks taking too long---sending SIGKILL') 60 logging.info('%s', e) 67 logging.info('badblocks is waiting on %s', waiton) 84 logging.info(msg) 107 logging.info('badblocks output:') 110 logging.info(lines[0]) 111 logging.info(lines[1]) 118 logging.info('%s', pattern_info) 121 logging.info('%s', subline) [all …]
|
/external/autotest/client/cros/audio/ |
D | cras_dbus_utils.py | 7 import logging 23 logging.exception( 41 logging.exception( 99 logging.debug('Got NodesChanged signal when loop is running.') 101 logging.debug('count = %d', self._count) 103 logging.debug('Quit main loop') 106 logging.debug('Got NodesChanged signal when loop is not running.' 117 logging.error('Quit main loop because of timeout') 120 logging.debug( 204 logging.debug('Before starting the counter') [all …]
|
/external/autotest/client/cros/bluetooth/ |
D | bluetooth_device_xmlrpc_server.py | 13 import logging 14 import logging.handlers 70 logging.info('RequestPinCode for %s; return %s', device_path, self._pin) 191 logging.error('Error starting bluetoothd: %s', e) 194 logging.debug('waiting for bluez start') 201 logging.error('timeout: error starting bluetoothd: %s', e) 206 logging.debug('waiting for bluez to obtain adapter information') 213 logging.error('timeout: error starting adapter: %s', e) 217 logging.debug('waiting for bluez to obtain interface manager.') 224 logging.error('timeout: error getting advertising interface') [all …]
|
D | bluetooth_tester_xmlrpc_server.py | 9 import logging 10 import logging.handlers 86 logging.warning('Bluetooth Controller missing on tester') 94 logging.warning('Controller does not support requested settings') 95 logging.debug('Supported: %b; Requested: %b', supported_settings, 103 logging.warning('Failed to power off adapter to accept settings') 114 logging.warning('Failed to enable BR/EDR') 118 logging.warning('Failed to enable LE') 124 logging.warning('Failed to disable BR/EDR') 128 logging.warning('Failed to disable LE') [all …]
|
/external/autotest/client/site_tests/desktopui_FlashSanityCheck/ |
D | desktopui_FlashSanityCheck.py | 5 import logging 84 logging.error(output) 87 logging.error(output) 90 logging.info('get_arch_userspace = %s', arch) 92 logging.error(output) 95 logging.error(output) 98 logging.error(output) 100 logging.info('Verified file %s', name) 117 logging.info('Getting tab from telemetry...') 120 logging.warning('Unexpected exception getting tab: %s', [all …]
|
/external/autotest/site_utils/sponge_lib/ |
D | sponge_utils.py | 8 import logging 16 logging.debug('Module failed to be imported: sponge') 21 class SpongeLogHandler(logging.Handler): 34 def upload_results(job, log=logging.debug): 42 start_level = logging.getLogger().level 45 logging.getLogger().addHandler(log_handler) 46 logging.getLogger().setLevel(logging.DEBUG) 48 logging.info("added log handler") 51 logging.info('Starting sponge upload.') 55 logging.exception('Failed to upload to sponge.') [all …]
|
/external/autotest/client/cros/video/ |
D | method_logger.py | 5 import logging 26 logging.debug('+ ' + log_str) 32 logging.debug('*** Begin arguments:') 33 logging.debug(args) 34 logging.debug('=== End arguments.') 37 logging.debug('*** Begin keyword arguments:') 38 logging.debug(kwargs) 39 logging.debug('=== End keyword arguments.') 44 logging.debug('### Begin results :') 45 logging.debug(result) [all …]
|
/external/skia/infra/bots/recipe_modules/swarming/resources/ |
D | collect_task.py | 8 import logging 54 logging.debug('Using task_output_dir: %r', task_output_dir) 56 logging.warn('task_output_dir %r already exists!', task_output_dir) 62 logging.error('Error while examining existing task_output_dir: %s', e) 64 logging.warn('task_output_dir existing content: %r', existing_contents) 68 logging.info('collect_cmd: %s', ' '.join(collect_cmd)) 71 logging.warn('collect_cmd had non-zero return code: %s', collect_result) 79 logging.error('Error while processing task_output_dir: %s', e) 81 logging.debug('Contents of task_output_dir: %r', task_output_dir_contents) 83 logging.warn( [all …]
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | connect_machine.py | 5 import logging 30 logging.info('ConnectMachine: Canceling connect.') 35 logging.info('ConnectMachine: Setting state to REGISTERED.') 44 logging.info('ConnectMachine: Modem is DISABLED.') 48 logging.error(message) 55 logging.info('ConnectMachine: Initiating Enable.') 65 logging.info('ConnectMachine: Modem is ENABLING.') 67 logging.info('ConnectMachine: Waiting for enable.') 72 logging.info('ConnectMachine: Modem is ENABLED.') 78 logging.error(message) [all …]
|
D | disable_machine.py | 5 import logging 25 logging.info('DisableMachine: Modem is CONNECTED.') 29 logging.info('DisableMachine: Starting Disconnect.') 36 logging.info('DisableMachine: Modem is CONNECTING.') 38 logging.info('DisableMachine: Canceling connect.') 44 logging.info('DisableMachine: Modem is DISCONNECTING.') 46 logging.info('DisableMachine: Waiting for disconnect.') 52 logging.info('DisableMachine: Modem is REGISTERED.') 58 logging.info('DisableMachine: Setting state to DISABLING.') 65 logging.info('DisableMachine: Modem is SEARCHING.') [all …]
|
/external/autotest/client/tests/cgroup/ |
D | cgroup.py | 1 import os, logging 24 logging.info('Starting cgroup testing') 29 logging.info("---< 'test_%s' START >---", i) 35 logging.info("---< 'test_%s' PASSED >---", i) 38 logging.error("test_%s: Test doesn't exist", i) 39 logging.info("---< 'test_%s' FAILED >---", i) 42 logging.error("test_%s: %s", i, inst) 43 logging.info("---< 'test_%s' FAILED >---", i) 46 logging.error('Some subtests failed (%s)' % err[:-2]) 54 logging.debug('Setting up cgroups modules') [all …]
|
/external/autotest/client/tests/dma_memtest/ |
D | dma_memtest.py | 1 import os, time, re, subprocess, shutil, logging 39 logging.info('Downloading linux kernel tarball') 47 logging.info('Source file: %s' % tarball_base) 48 logging.info('Megabytes per copy: %s' % size_tarball) 49 logging.info('Compress ratio: %s' % compress_ratio) 50 logging.info('Estimated size after uncompression: %s' % est_size) 51 logging.info('Number of copies: %s' % self.sim_cps) 52 logging.info('Parallel: %s' % parallel) 95 logging.info('Unpacking base copy') 98 logging.info('Unpacking test copies') [all …]
|
/external/autotest/client/site_tests/hardware_GobiGPS/ |
D | hardware_GobiGPS.py | 16 import logging, re 37 logging.debug(nmea) 63 logging.debug('Got fix:') 64 logging.debug('Time = %s', match.group(1)) 65 logging.debug('Status = %s', match.group(2)) 66 logging.debug('Latitude = %s %s', match.group(3), 68 logging.debug('Longitude = %s %s', match.group(5), 70 logging.debug('Speed = %s', match.group(7)) 71 logging.debug('Track Angle = %s', match.group(8)) 72 logging.debug('Date = %s', match.group(9)) [all …]
|
/external/autotest/site_utils/ |
D | lxc_cleanup.py | 21 import logging 69 logging.debug('Checking if container is orphaned: %s', container.name) 72 logging.debug('Container %s is not created for test.', container.name) 76 logging.debug('Process with PID %s is not alive, container %s is ' 83 logging.error('Failed to get hqe for job %s. Error: %s.', job_id, e) 91 logging.debug('Test job %s is not completed yet, container %s is ' 97 logging.debug('Test job %s was completed less than an hour ago.', 101 logging.debug('Test job %s was completed, container %s is orphaned.', 116 logging.info('dryrun: Cleanup container %s', container.name) 123 logging.info('Stopping process %s...', pid) [all …]
|
/external/autotest/server/cros/faft/utils/ |
D | mode_switcher.py | 5 import logging 78 logging.info('Enabled dut_sees_usb') 81 logging.info('ping timed out, try REC_ON') 107 logging.info('RECOVERY button pressed to switch to dev mode') 110 logging.info('ENTER pressed to switch to dev mode') 175 logging.info(info) 211 logging.info('Enabled dut_sees_usb') 214 logging.info('ping timed out, try REC_ON') 242 logging.info('Selecting power as enter key to select ' 301 logging.info('Transitioning from REC to TO_DEV screen.') [all …]
|
/external/autotest/client/tests/wb_kupdate/ |
D | wb_kupdate.py | 1 import datetime, logging, os, time 22 logging.info('%s does not exist. Creating directory.', mount_point) 24 logging.info('Removing previous mount_point directory') 26 logging.info('Creating new mount_point.') 46 logging.debug('Cleanup - unmounting loopback device.') 50 logging.debug('Cleanup - removing sparse file.') 54 logging.debug('Cleanup - removing the mount_point.') 152 logging.debug('current_size: %s' % current_size) 153 logging.debug('flushed_size: %s' % flushed_size) 159 logging.debug('flushed_size: %s' % flushed_size) [all …]
|