Lines Matching full:opt
173 if opt := input(f"Default hdc execution? [{cls.hdc_exe}]\n").strip():
174 cls.hdc_exe = opt
175 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip():
176 cls.local_path = opt
177 if opt := input(f"Default remote storage path? [{cls.remote_path}]\n").strip():
178 cls.remote_path = opt
179 if opt := input(f"Default remote ip? [{cls.remote_ip}]\n").strip():
180 cls.remote_ip = opt
181 if opt := input(f"Default remote port? [{cls.remote_port}]\n").strip():
182 cls.remote_port = int(opt)
183 if opt := input(f"Default device name? [{cls.device_name}], opts: {cls.targets}\n").strip():
184 cls.device_name = opt
185 if opt := input(f"Default connect type? [{cls.tmode}], opt: [usb, tcp]\n").strip():
186 cls.tmode = opt
201 if opt := input(f"Change default testcase?(Y/n) [{cls.changed_testcase}]\n").strip():
202 cls.changed_testcase = opt
203 if opt == "n":
205 if opt := input(f"Use default testcase path?(Y/n) [{cls.testcase_path}]\n").strip():
206 cls.testcase_path = os.path.join(opt)
494 opt = " ".join(cmd.split()[1:-1])
495 return check_shell(cmd, "successfully") and _check_app_installed(bundle, "s" in opt)
499 opt = " ".join(cmd.split()[1:-1])
500 return check_shell(cmd, "successfully") and not _check_app_installed(bundle, "s" in opt)
568 opt = input(msg).strip()
569 if len(opt) == 1 and '1' <= opt <= '5':
570 return opt