Lines Matching refs:opt
190 if opt := input(f"Default hdc execution? [{cls.hdc_exe}]\n").strip():
191 cls.hdc_exe = opt
192 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip():
193 cls.local_path = opt
194 if opt := input(f"Default remote storage path? [{cls.remote_path}]\n").strip():
195 cls.remote_path = opt
196 if opt := input(f"Default remote ip? [{cls.remote_ip}]\n").strip():
197 cls.remote_ip = opt
198 if opt := input(f"Default remote port? [{cls.remote_port}]\n").strip():
199 cls.remote_port = int(opt)
200 if opt := input(f"Default device name? [{cls.device_name}], opts: {cls.targets}\n").strip():
201 cls.device_name = opt
202 if opt := input(f"Default connect type? [{cls.tmode}], opt: [usb, tcp]\n").strip():
203 cls.tmode = opt
218 if opt := input(f"Change default testcase?(Y/n) [{cls.changed_testcase}]\n").strip():
219 cls.changed_testcase = opt
220 if opt == "n":
222 if opt := input(f"Use default testcase path?(Y/n) [{cls.testcase_path}]\n").strip():
223 cls.testcase_path = os.path.join(opt)
488 opt = " ".join(cmd.split()[1:-1])
489 return check_shell(cmd, "successfully") and _check_app_installed(bundle, "s" in opt)
493 opt = " ".join(cmd.split()[1:-1])
494 return check_shell(cmd, "successfully") and not _check_app_installed(bundle, "s" in opt)
562 opt = input(msg).strip()
563 if len(opt) == 1 and '1' <= opt <= '5':
564 return opt
724 opt = int(select_cmd())
725 if opt == 1:
727 elif opt == 2:
731 elif opt == 3:
733 elif opt == 4:
736 elif opt == 5: