Lines Matching refs:opt
163 if opt := input(f"Default hdc execution? [{cls.hdc_exe}]\n").strip():
164 cls.hdc_exe = opt
165 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip():
166 cls.local_path = opt
167 if opt := input(f"Default remote storage path? [{cls.remote_path}]\n").strip():
168 cls.remote_path = opt
169 if opt := input(f"Default remote ip? [{cls.remote_ip}]\n").strip():
170 cls.remote_ip = opt
171 if opt := input(f"Default remote port? [{cls.remote_port}]\n").strip():
172 cls.remote_port = int(opt)
173 if opt := input(f"Default device name? [{cls.device_name}], opts: {cls.targets}\n").strip():
174 cls.device_name = opt
175 if opt := input(f"Default connect type? [{cls.tmode}], opt: [usb, tcp]\n").strip():
176 cls.tmode = opt
191 if opt := input(f"Change default testcase?(Y/n) [{cls.changed_testcase}]\n").strip():
192 cls.changed_testcase = opt
193 if opt == "n":
195 if opt := input(f"Use default testcase path?(Y/n) [{cls.testcase_path}]\n").strip():
196 cls.testcase_path = os.path.join(opt)
307 opt = " ".join(cmd.split()[1:-1])
308 return check_shell(cmd, "successfully") and _check_app_installed(bundle, "s" in opt)
312 opt = " ".join(cmd.split()[1:-1])
313 return check_shell(cmd, "successfully") and not _check_app_installed(bundle, "s" in opt)
356 opt = input(msg).strip()
357 if len(opt) == 1 and '1' <= opt <= '5':
358 return opt
410 opt = int(select_cmd())
411 if opt == 1:
413 elif opt == 2:
417 elif opt == 3:
419 elif opt == 4:
422 elif opt == 5: