Lines Matching refs:args
112 def _CheckForAutoconnect(args): argument
122 if not args.autoconnect or utils.FindExecutable(constants.ADB_BIN):
126 answer = _YES if args.no_prompt else utils.InteractWithQuestion(
155 args.autoconnect = False
158 def _CheckForSetup(args): argument
169 args.gcp_init = False
170 args.host = False
171 args.host_base = False
172 args.force = False
173 args.update_config = None
175 if args.local_instance is None or args.local_image is None:
176 gcp_setup = gcp_setup_runner.GcpTaskRunner(args.config_file)
178 args.gcp_init = True
186 if args.local_instance is not None:
189 args.host = True
194 args.host_base = True
196 run_setup = args.force or args.gcp_init or args.host or args.host_base
202 setup.Run(args)
208 def PreRunCheck(args): argument
214 _CheckForSetup(args)
215 _CheckForAutoconnect(args)
218 def Run(args): argument
227 if not args.skip_pre_run_check:
228 PreRunCheck(args)
229 spec = avd_spec.AVDSpec(args)
234 report = avd_creator.Create(spec, args.no_prompt)