/test/framework/harnesses/host_controller/command_processor/ |
D | command_fetch.py | 111 if args.type not in self.console._build_provider: 115 provider = self.console._build_provider[args.type] 130 self.console.fetch_info["fetch_signed_build"] = False 141 self.console.fetch_info["fetch_signed_build"] = True 143 self.console.fetch_info["build_id"] = fetch_environment["build_id"] 147 self.console.fetch_info["build_id"] = None 151 self.console.fetch_info["build_id"] = None 159 self.console.fetch_info["build_id"] = fetch_environment["build_id"] 178 self.console.fetch_info["branch"] = gcs_path 179 self.console.fetch_info["target"] = filename [all …]
|
D | command_device.py | 71 for serial in self.console.GetSerials(): 99 product = (self.console._vti_endpoint_client. 105 if self.console.file_lock.LockDevice( 107 self.console.device_status[ 121 self.console.file_lock.UnlockDevice(serial) 134 product = (self.console._vti_endpoint_client. 140 if self.console.file_lock.LockDevice( 142 self.console.device_status[ 162 self.console.device_status[ 166 self.console.device_status[ [all …]
|
D | command_repack.py | 57 device_zipfile_path = self.console.device_image_info[ 69 self.console.tools_info[_ANDROID_INFO_TXT_FILENAME] = os.path.join( 81 for img_path in self.console.device_image_info: 88 self.console.device_image_info[img_path], 103 self.console.tools_info[_ANDROID_INFO_TXT_FILENAME], 110 self.console.onecmd("upload --src=%s --dest=%s/%s" % 127 "git_", "", self.console.detailed_fetch_info["device"]["branch"]) 128 device_target = self.console.detailed_fetch_info["device"]["target"] 129 device_build_id = self.console.detailed_fetch_info["device"][ 136 if common.GSI_ZIPFILE in self.console.device_image_info: [all …]
|
D | command_upload.py | 100 if src_name in self.console.device_image_info: 101 src_paths = self.console.device_image_info[src_name] 108 src_paths = self.console.FormatString(args.src) 126 dest_path = self.console.FormatString(args.dest) 147 self.console.test_suite_info[args.result_from_suite]) 150 tools_path = os.path.dirname(self.console.test_suite_info[ 151 self.console.FormatString("{suite_name}")]) 153 if self.console.vti_endpoint_client.CheckBootUpStatus(): 163 report_path = self.console.FormatString(args.report_path) 189 suite_res_msg.branch = self.console.FormatString("{branch}") [all …]
|
D | command_flash.py | 109 if (self.console.tools_info is not None 110 and args.flasher_path in self.console.tools_info): 111 flasher_path = self.console.tools_info[args.flasher_path] 124 elif self.console._serials: 125 flasher_serials = self.console._serials 132 partition_image[args.image] = self.console.device_image_info[ 137 self.console.device_image_info[image]) 142 self.console.device_image_info[image]) 144 if image in self.console.device_image_info) 186 self.console.device_image_info, args.repackage) [all …]
|
D | base_command_processor.py | 41 def _SetUp(self, console): argument 47 self.console = console 93 if hasattr(self, 'arg_parser') and hasattr(self.console, '_out_file'): 94 self.arg_parser.print_help(self.console._out_file) 114 if var_name and var_name in self.console.device_image_info: 116 var, self.console.device_image_info[var_name]) 124 if var_name and var_name in self.console.tools_info: 126 var, self.console.tools_info[var_name]) 132 TMP_DIR_VAR, self.console.tmpdir_default)
|
D | command_list.py | 41 self.console._Print("index name") 43 self.console._Print("[%3d] %s" % (ind, host.hostname)) 53 self.console._PrintObjects(devices, attr_names) 70 hosts = enumerate(self.console._hosts) 72 hosts = [(args.host, self.console._hosts[args.host])] 74 self._PrintHosts(self.console._hosts) 78 self.console._Print("[%3d] %s" % (ind, host.hostname))
|
D | command_gsispl.py | 74 elif "system.img" in self.console.device_image_info: 75 gsi_path = self.console.device_image_info["system.img"] 94 elif args.version_from_path in self.console.device_image_info: 95 img_path = self.console.device_image_info[ 98 and "full-zipfile" in self.console.device_image_info): 105 self.console.device_image_info["full-zipfile"], 142 if self.console.password.value: 144 self.console.password.value, command) 150 self.console.device_image_info["system.img"] = output_path
|
D | command_info.py | 41 logging.info('device image: %s', self.console.device_image_info) 42 logging.info('test suite: %s', self.console.test_suite_info) 43 logging.info('test result: %s', self.console.test_results) 44 logging.info('fetch info: %s', self.console.fetch_info) 45 logging.info('detailed fetch info: %s', self.console.detailed_fetch_info)
|
D | command_test.py | 158 elif self.console.GetSerials(): 159 serials = self.console.GetSerials() 164 if args.suite not in self.console.test_suite_info: 166 args.suite, self.console.test_suite_info) 176 self.console.test_suite_info[args.suite], args.command, 194 self.console.test_result.clear() 217 self.console.test_result.update(result)
|
D | command_exit.py | 53 self.console.onecmd("device --update stop") 59 self.console.WaitForJobsToExit() 61 self.console.StopJobThreadAndProcessPool() 62 self.console.__exit__()
|
D | command_release.py | 163 self.console.build_provider["pab"].Authenticate() 164 fetched_path = self.console.build_provider[ 176 self.console.build_provider["gcs"].Fetch(additional_file) 181 additional_file_path = self.console.build_provider[ 189 self.console.build_provider["gcs"].Fetch(additional_bin) 194 additional_bin_path = self.console.build_provider[ 228 self.console.onecmd(upload_command)
|
D | command_reproduce_test.py | 206 self._command.console.test_suite_info = {} 216 self._command.console.test_suite_info = { 233 self._command.console.test_suite_info = { 250 self._command.console.test_suite_info = { 304 self._command.console.test_suite_info = { 317 self._command.console.onecmd.assert_called_with( 332 self._command.console.test_suite_info = { 347 self._command.console.onecmd.assert_called_with(
|
D | command_lease.py | 42 self.console._PrintObjects(tasks, attr_names) 55 if len(self.console._hosts) > 1: 58 tasks = self.console._hosts[args.host].LeaseCommandTasks()
|
D | command_reproduce.py | 113 self.console.onecmd(command) 121 if args.suite not in self.console.test_suite_info: 123 self.console.test_suite_info) 136 self.console.onecmd(retry_command) 138 subprocess.call(self.console.test_suite_info[args.suite]) 274 tools_path = os.path.dirname(self.console.test_suite_info[suite])
|
D | command_retry.py | 166 if args.suite not in self.console.test_suite_info: 168 self.console.test_suite_info) 171 tools_path = os.path.dirname(self.console.test_suite_info[args.suite]) 264 if not self.console.onecmd(command.format(serial=serial)): 268 self.console.device_status[ 272 self.console.onecmd(retry_test_command)
|
D | command_config.py | 96 self.console._build_provider["pab"].Authenticate() 98 listed_builds = self.console._build_provider["pab"].GetBuildList( 113 self.console._build_provider["pab"].GetArtifact( 161 ret = self.console.onecmd(command) 164 self.console._vti_endpoint_client.UploadScheduleInfo( 166 self.console._vti_endpoint_client.UploadLabInfo(lab_pbs, clear_labinfo)
|
D | command_sheet.py | 133 src_path = self.console.FormatString(args.src) 135 self.console.FormatString(args.ref)) 138 extra_rows.append([self.console.FormatString(cell) 149 credentials = self.console.build_provider["pab"].Authenticate(
|
D | command_adb.py | 82 if self.console.job_pool and args.serial: 83 self.console.device_status[
|
D | command_build.py | 63 self.console._build_provider["pab"].Authenticate( 68 listed_builds = self.console._build_provider["pab"].GetBuildList( 116 self.console._vti_endpoint_client.UploadBuildInfo(builds)
|
D | command_fastboot.py | 97 if self.console.job_pool and args.serial: 98 self.console.device_status[
|
/test/framework/harnesses/host_controller/ |
D | console.py | 149 console = Console(vti_client, None, None, hosts, job_pool=True) 150 console.device_status = device_status 151 console.password = password 152 multiprocessing.util.Finalize(console, console.__exit__, exitpriority=0) 165 console._build_provider[ 167 console._build_provider[ 171 console.ChangeDeviceState( 178 ret, gcs_log_url = console.ProcessConfigurableScript( 195 console.ChangeDeviceState( 198 del console._build_provider["pab"] [all …]
|
D | main.py | 26 from host_controller import console 196 main_console = console.Console(vti_endpoint, tfc, pab, hosts, 214 if args.console:
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/command/ |
D | CompatibilityConsoleTest.java | 39 CompatibilityConsole console = new CompatibilityConsole(); in testPromptExists() local 40 assertFalse("No prompt", console.getConsolePrompt().isEmpty()); in testPromptExists()
|
/test/vti/test_serving/gae/frontend/src/app/shared/ |
D | servicebase.ts | 26 console.error('An error occurred:', error.error.message); 30 console.error(
|