Lines Matching full:opt
168 if opt := input(f"Default hdc execution? [{cls.hdc_exe}]\n").strip():
169 cls.hdc_exe = opt
170 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip():
171 cls.local_path = opt
172 if opt := input(f"Default remote storage path? [{cls.remote_path}]\n").strip():
173 cls.remote_path = opt
174 if opt := input(f"Default remote ip? [{cls.remote_ip}]\n").strip():
175 cls.remote_ip = opt
176 if opt := input(f"Default remote port? [{cls.remote_port}]\n").strip():
177 cls.remote_port = int(opt)
178 if opt := input(f"Default device name? [{cls.device_name}], opts: {cls.targets}\n").strip():
179 cls.device_name = opt
180 if opt := input(f"Default connect type? [{cls.tmode}], opt: [usb, tcp]\n").strip():
181 cls.tmode = opt
196 if opt := input(f"Change default testcase?(Y/n) [{cls.changed_testcase}]\n").strip():
197 cls.changed_testcase = opt
198 if opt == "n":
200 if opt := input(f"Use default testcase path?(Y/n) [{cls.testcase_path}]\n").strip():
201 cls.testcase_path = os.path.join(opt)
472 opt = " ".join(cmd.split()[1:-1])
473 return check_shell(cmd, "successfully") and _check_app_installed(bundle, "s" in opt)
477 opt = " ".join(cmd.split()[1:-1])
478 return check_shell(cmd, "successfully") and not _check_app_installed(bundle, "s" in opt)
546 opt = input(msg).strip()
547 if len(opt) == 1 and '1' <= opt <= '5':
548 return opt