/tools/test/connectivity/acts/framework/tests/metrics/ |
D | logger_test.py | 21 from acts.metrics.logger import LoggerProxy 22 from acts.metrics.logger import MetricLogger 43 logger = MetricLogger.for_test_case(*args, **kwargs) 51 logger = MetricLogger.for_test_class(*args, **kwargs) 61 logger = TestLogger.for_test_case(*args, **kwargs) 71 logger = TestLogger.for_test_class(*args, **kwargs) 76 logger = MetricLogger() 78 self.assertIsNone(logger.context) 79 self.assertIsNone(logger.publisher) 85 logger = MetricLogger(context=context, publisher=publisher) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/ |
D | apollo_acts.py | 75 def __init__(self, apollo_dev, logger=None): argument 80 super(ApolloTestActions, self).__init__(logger) 87 self.logger.info(status) 99 self.logger.info('Waiting for the disconnection.') 106 self.logger.warning('Timeout waiting for the disconnection.') 126 self.logger.info('Already paired and connected, skipping pairing.') 129 self.logger.info( 134 self.logger.info('DEVICE PAIRED') 140 self.logger.info(profiles) 161 self.logger.info('Device is already unpaired, skipping unpairing.') [all …]
|
D | agsa_acts.py | 40 def __init__(self, android_dev, logger=None): argument 46 super(AgsaTestActions, self).__init__(logger) 70 self.logger.info('Agsa broadcast successful!') 73 self.logger.error('Agsa broadcast failed') 94 self.logger.info('Waiting for OTA transfer to complete....') 106 self.logger.info('Transfer completed!') 112 self.logger.error('Timed out waiting for OTA to complete.') 146 self.logger.info('Current AGSA version is %s' % current_version) 147 self.logger.info('Installing AGSA version %s...' % version) 149 self.logger.info('Install success!') [all …]
|
D | bt_utils.py | 73 self.logger = tako_trace_logger.TakoTraceLogger(Logger(__file__)) 121 self.logger.info('Verifying devices are bonded') 151 self.logger.error('Not paired to %s', sec_device.device_name) 154 self.logger.info('Attempting to connect.') 157 self.logger.info('Verifying devices are connected') 170 self.logger.info('Successfully bonded to device') 179 self.logger.info('Successfully connected to device') 198 self.logger.debug('Already unpaired.') 200 self.logger.debug('Unpairing from %s' % target_address) 207 self.logger.debug('Verifying devices are unpaired') [all …]
|
D | base_test_actions.py | 136 def __init__(self, logger=None): argument 137 if logger is None: 138 self.logger = tako_trace_logger.TakoTraceLogger() 139 self.log_step = self.logger.step 141 self.logger = logger 142 self.log_step = self.logger.info 178 self.logger.info('I can do %d action%s:' % 181 self.logger.info(' - %s' % act) 186 self.logger.info('%s seconds' % seconds)
|
D | audio_utils.py | 39 self.logger = tako_trace_logger.TakoTraceLogger() 55 self.logger.error('DUT open_mic did not return True') 59 self.logger.error('DUT close_mic did not return True.')
|
/tools/test/connectivity/acts/framework/tests/metrics/loggers/ |
D | blackbox_test.py | 49 logger = BlackboxMetricLogger(metric_name) 51 self.assertEqual(logger.metric_name, metric_name) 52 self.assertIsNone(logger.metric_key) 58 logger = BlackboxMetricLogger(metric_name, metric_key=metric_key) 60 self.assertEqual(logger.metric_key, metric_key) 67 logger = BlackboxMetricLogger(metric_name, event=self.event) 69 self.assertIsNotNone(logger.context) 70 self.assertIsNotNone(logger.publisher) 81 logger = BlackboxMetricLogger(self.TEST_METRIC_NAME) 82 logger.context = self.context [all …]
|
D | bounded_metrics_test.py | 44 logger = BoundedMetricsLogger(event=self.event) 46 self.assertIsNotNone(logger.context) 47 self.assertIsNotNone(logger.publisher) 55 logger = BoundedMetricsLogger(event=self.event) 56 logger.context = self.context 57 logger.publisher = self.publisher 58 logger.context.identifier = 'Class.test' 60 logger.add('towels_metric', 123, lower_limit=1, upper_limit=2, 79 logger = BoundedMetricsLogger(event=self.event) 80 logger.context = self.context [all …]
|
/tools/acloud/internal/lib/ |
D | gcompute_client.py | 45 logger = logging.getLogger(__name__) variable 252 logger.info("Can't get %s quota info from zone(%s)", metric, zone) 270 logger.debug( 274 logger.debug( 309 logger.debug("CheckDiskExists: disk_name: %s, result: %s", disk_name, 335 logger.info("Creating disk %s, size_gb: %d, source_image: %s", 355 logger.error("Creating disk failed, cleaning up: %s", disk_name) 359 logger.info("Disk %s has been created.", disk_name) 368 logger.info("Deleting disk %s", disk_name) 376 logger.info("Deleted disk %s", disk_name) [all …]
|
D | utils.py | 48 logger = logging.getLogger(__name__) variable 123 logger.debug("Created temporary dir %s", self.path) 146 logger.debug("Deleted temporary dir %s", self.path) 155 logger.error( 317 logger.info("Compressing %s into %s.", src_dict.keys(), dest) 346 logger.debug( 361 logger.info( 369 logger.info( 392 logger.info("Created ssh private key (%s) and public key (%s)", 443 logger.info("Start to decompress %s!", sourcefile) [all …]
|
D | ssh.py | 26 logger = logging.getLogger(__name__) variable 50 logger.info("Running command \"%s\"", cmd) 77 logger.info("Running command \"%s\"", cmd) 110 logger.info("Running command \"%s\"", cmd) 124 logger.debug(stdout.strip()) 259 logger.info("Running command \"%s\"", ssh_cmd) 297 logger.debug("Retry with interval time: %s secs", str(sleep_multiplier))
|
D | android_build_client.py | 34 logger = logging.getLogger(__name__) variable 99 logger.info("Downloading artifact: target: %s, build_id: %s, " 109 logger.info("Downloaded artifact: %s", local_dest) 111 logger.error("Downloading artifact failed: %s", str(e)) 282 logger.info(copy_msg, build_target, build_id, artifact_name, 294 logger.info(finish_msg, build_target, build_id, artifact_name, 344 logger.info("GetLKGB build API response: %s", build)
|
D | ota_tools.py | 28 logger = logging.getLogger(__name__) variable 143 logger.info("Execute %s", command) 157 logger.info("%s stdout: %s", command[0], stdout) 158 logger.info("%s stderr: %s", command[0], stderr) 165 logger.info("Kill %s", command[0]) 210 logger.w("No dynamic partition list in misc info.")
|
D | android_compute_client.py | 47 logger = logging.getLogger(__name__) variable 113 logger.info("ssh_public_key_path is specified in config: %s, " 120 logger.warning( 361 logger.debug("CheckBoot: Instance is not ready yet %s", str(e)) 374 logger.info("Waiting for instance to boot up %s for %s secs", 386 logger.info("Instance boot completed: %s", instance)
|
/tools/acloud/setup/ |
D | setup_common.py | 27 logger = logging.getLogger(__name__) variable 53 logger.debug("Run command: %s", cmd) 71 logger.error("Package install for %s failed: %s", pkg, cpe.output) 106 logger.debug("Check package install status") 107 logger.debug(pkg_info) 128 logger.debug("Package is not installed, status is (none)") 132 logger.debug("Version info not found [installed: %s ,candidate: %s]", 139 logger.warning("Package %s version at %s, expected %s",
|
D | base_task_runner.py | 30 logger = logging.getLogger(__name__) variable 64 logger.debug("No welcome message for %s", self.__class__.__name__) 101 logger.info("Skipping setup step: %s", self.__class__.__name__)
|
/tools/test/connectivity/acts/framework/acts/libs/logging/ |
D | log_stream.py | 136 return log_stream.logger 232 self.logger = logging.getLogger(log_name) 234 self.logger = logging.getLogger(name) 236 self.logger.addHandler(_null_handler) 237 self.logger.propagate = False 241 context.TestContext.add_base_output_path(self.logger.name, self.base_path) 242 context.TestContext.add_subcontext(self.logger.name, self.subcontext) 352 return curr_context.get_full_output_path(self.logger.name) 390 self.logger.addHandler(handler) 400 self.logger.addHandler(handler) [all …]
|
/tools/test/connectivity/acts/framework/acts/metrics/ |
D | logger.py | 271 logger = getattr(self, '_logger', None) 272 if not logger: 274 return getattr(logger, attr) 290 logger = getattr(self, '_logger', None) 291 if not logger: 293 return setattr(logger, attr, value)
|
/tools/acloud/public/ |
D | report.py | 66 logger = logging.getLogger(__name__) variable 166 logger.debug( 244 logger.info("Report: %s", json.dumps(result, indent=2, sort_keys=True)) 250 logger.info("Report file generated at %s", 253 logger.error("Failed to dump report to file: %s", str(e))
|
/tools/treble/split/ |
D | manifest_split.py | 93 logger = logging.getLogger(os.path.basename(__file__)) variable 366 logger.warning("Unknown kati makefile: %s" % makefile) 492 logger.info( 502 logger.info("%s projects after including Kati makefiles projects.", 505 logger.info("Kati makefiles projects skipped.") 512 logger.info("%s projects after including manual additions.", 525 logger.info("Checking module-info dependencies for direct and adjacent modules...") 557 logger.info( 568 logger.info( 574 logger.info("%s projects - complete", len(input_projects)) [all …]
|
/tools/acloud/metrics/ |
D | metrics.py | 22 logger = logging.getLogger(__name__) variable 57 logger.debug("Failed to send start event:%s", str(e)) 80 logger.debug("Failed to send exit event:%s", str(e))
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | contest.py | 52 def __init__(self, logger, remote_ip, remote_port, automation_listen_ip, argument 69 self.log = logger 292 def __init__(self, logger, port, listen_ip, dut_on_func, dut_off_func, argument 309 self.log = logger 315 return self.AutomationProtocol(logger, dut_on_func, dut_off_func) 341 def __init__(self, logger, dut_on_func, dut_off_func): argument 350 self.log = logger
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 55 logger = logging.getLogger(__name__) variable 158 logger.info("Selected instance id: %d", ins_id) 194 logger.info("Instance directory: %s", instance_dir) 365 logger.info("Goldfish AVD is already running.") 392 logger.info("Copy %s to %s", _BUILD_PROP_FILE_NAME, build_prop_path) 413 logger.info("Rename %s to %s%s.", 424 logger.info("Link %s to %s.", system_qemu_img, new_image) 427 logger.info("Fail to link. Copy %s to %s", 517 logger.debug("Execute %s", emulator_cmd)
|
D | create_common.py | 30 logger = logging.getLogger(__name__) variable 92 logger.debug("cvd host package: %s", cvd_host_package) 153 logger.debug("Deleted temporary file %s", temp_file) 155 logger.error("Failed to delete temporary file: %s", str(e))
|
/tools/acloud/list/ |
D | instance.py | 49 logger = logging.getLogger(__name__) variable 224 logger.debug(("Can't parse datetime string(%s)."), start_time) 424 logger.debug("No cvd tools path found from config:%s", 438 logger.warning("Cvd tools path doesn't exist:%s", cvd_status_cmd) 442 logger.warning( 448 logger.debug("Running cmd[%s] to check cvd status.", cvd_status_cmd) 457 logger.debug("Local instance[%s] is not active: %s", 462 logger.error("Failed to run cvd_status: %s", cpe.output) 477 logger.debug("Running cmd[%s] to delete local cvd", stop_cvd_cmd) 485 logger.error("instance_dir is null!! instance[%d] might not be" [all …]
|