Lines Matching refs:ssh_obj
189 def _UploadImageZip(ssh_obj, remote_image_dir, image_zip): argument
199 ssh_obj.Run(remote_cmd)
202 def _UploadImageDir(ssh_obj, remote_image_dir, image_dir): argument
233 def _UploadCvdHostPackage(ssh_obj, remote_image_dir, cvd_host_package): argument
250 ssh_obj.Run(remote_cmd)
254 def UploadArtifacts(ssh_obj, remote_image_dir, image_path, cvd_host_package): argument
266 _UploadImageDir(ssh_obj, remote_image_dir, FindImageDir(image_path))
268 _UploadImageZip(ssh_obj, remote_image_dir, image_path)
270 _UploadCvdHostPackage(ssh_obj, remote_image_dir, cvd_host_package)
318 def _UploadKernelImages(ssh_obj, remote_image_dir, kernel_search_path, argument
339 ssh_obj.Run("mkdir -p " +
367 ssh_obj.ScpPushFile(kernel_image_path, remote_kernel_image_path)
368 ssh_obj.ScpPushFile(initramfs_image_path, remote_initramfs_image_path)
375 ssh_obj.ScpPushFile(boot_image_path, remote_boot_image_path)
381 ssh_obj.ScpPushFile(vendor_boot_image_path,
473 def _UploadVbmetaImage(ssh_obj, remote_image_dir, vbmeta_image_path): argument
486 ssh_obj.ScpPushFile(vbmeta_image_path, remote_vbmeta_image_path)
496 def UploadExtraImages(ssh_obj, remote_image_dir, avd_spec, target_files_dir): argument
521 extra_img_args += _UploadKernelImages(ssh_obj, remote_image_dir,
535 ssh_obj.Run(
541 extra_img_args.append(_UploadSuperImage(ssh_obj, remote_image_dir,
546 extra_img_args.append(_UploadVbmetaImage(ssh_obj, remote_image_dir,
553 def _UploadSuperImage(ssh_obj, remote_image_dir, super_image_dir): argument
574 def CleanUpRemoteCvd(ssh_obj, remote_dir, raise_error): argument
588 _DeleteRemoteImageDirLink(ssh_obj, remote_dir)
593 ssh_obj.Run(stop_cvd_cmd)
596 ssh_obj.Run(stop_cvd_cmd, retry=0)
603 ssh_obj.Run(f"'rm -rf {remote_path.join(remote_dir, '*')}'")
655 def PrepareRemoteImageDirLink(ssh_obj, remote_dir, remote_image_dir): argument
677 ssh_obj.Run(shlex.quote(
684 def _DeleteRemoteImageDirLink(ssh_obj, remote_dir): argument
694 remote_image_dir = ssh_obj.Run(
708 ssh_obj.Run(shlex.quote(
716 def LoadRemoteImageArgs(ssh_obj, remote_timestamp_path, remote_args_path, argument
762 upload_deadline = ssh_obj.Run(shlex.quote(
773 lambda : ssh_obj.Run(shlex.quote(
781 args_str = ssh_obj.Run(shlex.quote(
794 def SaveRemoteImageArgs(ssh_obj, remote_args_path, launch_cvd_args): argument
805 ssh_obj.Run(shlex.quote(
810 def GetConfigFromRemoteAndroidInfo(ssh_obj, remote_image_dir): argument
820 android_info = ssh_obj.GetCmdOutput(
921 def ExecuteRemoteLaunchCvd(ssh_obj, cmd, boot_timeout_secs): argument
934 ssh_obj.Run(f"-t '{cmd}'", boot_timeout_secs, retry=0)
954 def _GetRemoteRuntimeDirs(ssh_obj, remote_dir, base_instance_num, argument
970 ssh_obj.Run(f"test -d {runtime_dir}", retry=0)
1037 def FindRemoteLogs(ssh_obj, remote_dir, base_instance_num, argument
1052 ssh_obj, remote_dir,
1055 for log_path in utils.FindRemoteFiles(ssh_obj, runtime_dirs):
1103 def GetOpenWrtInfoDict(ssh_obj, remote_dir): argument
1115 return {"ssh_command": ssh_obj.GetBaseCmd(constants.SSH_BIN),
1219 def RunOnArmMachine(ssh_obj): argument
1229 cmd_output = ssh_obj.GetCmdOutput(cmd).strip()