| /external/python/cpython2/Lib/test/ |
| test_logging.py | 17 """Test harness for the logging module. Run all tests. 22 import logging 23 import logging.handlers 24 import logging.config 53 """Base class for logging tests.""" 60 """Setup the default logging stream to an internal StringIO instance, 62 logger_dict = logging.getLogger().manager.loggerDict 63 logging._acquireLock() 65 self.saved_handlers = logging._handlers.copy() 66 self.saved_handler_list = logging._handlerList[: [all...] |
| /art/runtime/gc/ |
| racing_check.h | 21 #include <android-base/logging.h>
|
| /device/google/cuttlefish_common/guest/vsoc/lib/ |
| e2e_test_common.h | 19 #include <android-base/logging.h>
|
| /external/autotest/client/common_lib/ |
| 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/cros/audio/ |
| 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/cellular/pseudomodem/ |
| register_machine.py | 5 import logging 28 logging.info('RegisterMachine: Canceling register.') 33 logging.info('RegisterMachine: Setting state to ENABLED.') 46 logging.info('RegisterMachine: Modem is ENABLED.') 47 logging.info('RegisterMachine: Setting registration state ' 51 logging.info('RegisterMachine: Setting state to SEARCHING.') 54 logging.info('RegisterMachine: Starting network scan.') 59 logging.error('An error occurred during network scan: ' + str(e)) 68 logging.info('RegisterMachine: Found networks: ' + str(self._networks)) 73 logging.info('RegisterMachine: Modem is SEARCHING.' [all...] |
| /external/autotest/client/profilers/top/ |
| top.py | 4 import logging 22 logging.debug("Starting top") 38 logging.debug("Stopping top") 45 logging.debug("Stopped top")
|
| /external/autotest/client/profilers/turbostat/ |
| turbostat.py | 6 import logging 24 logging.debug("Starting turbostat: %s", cmd) 36 logging.debug("Stopping turbostat") 42 logging.debug("Stopped turbostat")
|
| /external/autotest/client/site_tests/cellular_GobiPorts/ |
| cellular_GobiPorts.py | 5 import logging, os, stat 22 logging.error('Port %s does not exist.' % port) 26 logging.error('Port %s is not a character device. mode = %s' % ( 30 logging.info('Port %s is a character device.' % port)
|
| /external/autotest/client/site_tests/platform_TempFS/ |
| platform_TempFS.py | 9 import logging, os 36 logging.error('Not enough available space on %s', dir) 37 logging.error('%d bytes is minimum, found %d bytes', 41 logging.error('%s does not exist!' % dir)
|
| /external/autotest/server/site_tests/firmware_ClearTPMOwnerAndReset/ |
| firmware_ClearTPMOwnerAndReset.py | 5 import logging 25 logging.info(tpm_utils.TPMStatus(host)) 34 logging.info('DUT is still down (no response to ping)') 36 logging.info('DUT is up')
|
| /external/autotest/client/site_tests/platform_MemCheck/ |
| platform_MemCheck.py | 9 import logging, re 67 logging.info('board: %s, phy_size: %d memref: %d', 77 logging.warning('%s is %d', k, value) 78 logging.warning('%s should be at least %d', k, ref[k]) 83 logging.warning('%s is %d', k, value) 84 logging.warning('%s should be within 10%% of %d', k, ref[k]) 103 logging.warning('Error parsing timings for dimm #%d (%s)', 107 logging.info('dimm #%d timings: %s', dimm, max_timing) 111 logging.warning('ram speed is %s', max_timing) 112 logging.warning('ram speed should be at least %d', speedref [all...] |
| /external/autotest/client/site_tests/security_SysVIPC/ |
| security_SysVIPC.py | 5 import logging 82 logging.error('Expected shm(s) not found:') 83 logging.error(missing) 86 logging.error('Unexpected shm(s) found:') 87 logging.error(extra) 94 logging.error('Expected semaphore(s) not found:') 95 logging.error(missing) 98 logging.error('Unexpected semaphore(s) found:') 99 logging.error(extra) 106 logging.error('Unexpected message queues found:' [all...] |
| /external/autotest/server/site_tests/audiovideo_AVSyncInternalDisplayAudioJack/ |
| audiovideo_AVSyncInternalDisplayAudioJack.py | 5 import logging 65 logging.info('Video frame stats:') 66 logging.info('average: %f', parser.video_duration_average) 67 logging.info('standard deviation: %f', parser.video_duration_std) 68 logging.info('Sync stats:') 69 logging.info('average: %f', parser.sync_duration_average) 70 logging.info('standard deviation: %f', parser.sync_duration_std) 71 logging.info('Number of total frames: %d', 73 logging.info('Number of corrupted frames: %d', 75 logging.info('Number of dropoped frames: %d' [all...] |
| /external/autotest/server/site_tests/debugd_DevTools/ |
| debugd_DevTools.py | 5 import logging 38 logging.debug('Creating dev tools.') 44 logging.debug('Initializing dev tools.') 59 logging.debug('Cleaning up tools.') 64 logging.warning('Could not restore %s - device state may be ' 85 logging.debug('Disabling %s.', tool) 92 logging.warning('Skipping %s - cannot disable (%s).', tool, e) 98 logging.debug('Enabling %s.', tool) 102 logging.warning('Skipping %s - cannot enable (%s).', tool, e) 108 logging.debug('Disabling %s.', tool [all...] |
| /external/autotest/server/site_tests/display_HDCPScreen/ |
| display_HDCPScreen.py | 7 import logging 57 logging.info('See the display on Chameleon: port %d (%s)', 61 logging.info('Set mirrored: %s', test_mirrored) 65 logging.info('Detected resolution on CrOS: %r', resolution) 76 logging.info('Set Chameleon HDCP: %r', enable_chameleon) 82 logging.info('Request CrOS HDCP: %s', request_cros) 88 logging.info('Got CrOS state: %s', state) 92 logging.error(error_message) 96 logging.info('Got Chameleon state: %r', encrypted) 101 logging.error(error_message [all...] |
| /external/autotest/server/site_tests/firmware_ConsecutiveBoot/ |
| firmware_ConsecutiveBoot.py | 5 import logging 46 logging.info('wait_for_client %d start.', self.faft_waitup_time) 61 logging.info("Sending /sbin/shutdown -P now") 63 logging.info('Wait for client to go offline') 69 logging.info("sleep %d, tap power key to boot.", 76 logging.error('wait_for_client exception %d.', i) 78 logging.info('wait_for_client online done %d.', i) 87 logging.error("Caught exception: %s", str(e)) 92 logging.info('======== Running FAFT ITERATION %d/%s ========', 94 logging.info("Expected boot fine, full power off DUT and on." [all...] |
| /external/autotest/server/site_tests/firmware_ECBattery/ |
| firmware_ECBattery.py | 5 import logging 53 logging.error("Caught exception: %s", str(e)) 63 logging.info("Battery name is %s", name) 81 logging.info("Voltage reading from servo: %dmV", servo_reading) 82 logging.info("Voltage reading from kernel: %dmV", kernel_reading) 104 logging.info("Current reading from servo: %dmA", servo_reading) 105 logging.info("Current reading from kernel: %dmA", kernel_reading) 121 logging.info("Battery temperature is %f C", battery_temp) 136 logging.info("Checking battery current reading...") 139 logging.info("Checking battery voltage reading..." [all...] |
| /external/autotest/server/site_tests/firmware_TPMExtend/ |
| firmware_TPMExtend.py | 5 import hashlib, logging 25 logging.debug('Dumping PCRs read from device: \n%s', pcrs) 28 logging.debug('PCR %d should contain hash: %s', num, spaced) 32 logging.info('Verifying HWID digest in PCR1') 35 logging.debug('HWID reported by device is: %s', hwid) 39 logging.info('Verifying bootmode digest in PCR0 in normal mode') 48 logging.info('Verifying bootmode digest in PCR0 in recovery mode') 58 logging.info('Transitioning to dev mode for next test') 61 logging.info('Verifying bootmode digest in PCR0 in developer mode') 70 logging.info('Verifying bootmode digest in PCR0 in dev-recovery mode' [all...] |
| /external/python/google-api-python-client/samples/maps_engine/ |
| maps_engine.py | 46 import logging 53 logging.basicConfig(level=logging.INFO) 74 logging.info(json.dumps(projects, indent=2)) 86 logging.info(json.dumps(tables, indent=2)) 118 logging.info("Uploading metadata for %s", shapefile_prefix) 127 logging.info("uploading %s", shapefile) 143 logging.info("Asset Status: %s", status) 145 logging.info("asset successfully processed; the id is %s", asset_id) 147 logging.info("Asset %s; will check again in 5 seconds", status [all...] |
| /external/autotest/client/cros/chameleon/ |
| chameleon_measurer_base.py | 5 import logging 48 logging.info('Used Chameleon port: %s', 51 logging.info('Setting to mirrored mode') 62 logging.info('Detected the resolution: %dx%d', *resolution) 93 logging.info('Used Chameleon port: %s', 96 logging.info('Close lid to switch into dock mode...') 108 logging.info('Detected the resolution: %dx%d', *resolution) 118 logging.info('Open lid again...')
|
| screen_capture.py | 7 import logging 48 logging.info('Capturing the screen on Chameleon...') 54 logging.info(' (TV level: %d %d)', pmin, pmax) 77 logging.info('Capturing the screen on a VGA port of Chameleon...') 83 logging.info('Boundary: %r', boundary) 106 logging.info('Capturing the external screen on CrOS...') 128 logging.info('Capturing the internal screen on CrOS...') 150 logging.info('Capturing the calibration image on CrOS...')
|
| /external/autotest/client/cros/update_engine/ |
| update_engine_test.py | 5 import logging 44 logging.debug('Before reconnect: %s', utils.run('ifconfig')) 50 logging.debug('After reconnect: %s', utils.run('ifconfig')) 67 logging.debug('Before disconnect: %s', utils.run('ifconfig')) 75 logging.debug(result) 78 logging.debug('After disconnect: %s', utils.run('ifconfig')) 88 logging.exception('Failed to disconnect one or more interfaces.') 89 logging.debug(utils.run('ifconfig', ignore_status=True))
|
| /external/autotest/client/site_tests/hardware_MemoryTotalSize/ |
| hardware_MemoryTotalSize.py | 5 import logging 19 logging.info("MemTotal: %.3f GB" % gb)
|
| /external/autotest/client/site_tests/hardware_MultiReader/ |
| hardware_MultiReader.py | 5 import glob, logging, os 18 logging.info("Found removable block device %s",
|