Lines Matching refs:args

41         self.args = mock.MagicMock()
42 self.args.flavor = ""
43 self.args.local_image = None
44 self.args.local_kernel_image = None
45 self.args.local_system_image = None
46 self.args.config_file = ""
47 self.args.build_target = "fake_build_target"
48 self.args.adb_port = None
49 self.args.launch_args = None
52 self.AvdSpec = avd_spec.AVDSpec(self.args)
69 self.args.local_image = "/path/cf_x86_phone-img-eng.user.zip"
72 self.AvdSpec._ProcessLocalImageArgs(self.args)
79 self.args.local_image = "/path-to-image-dir"
82 self.AvdSpec._ProcessLocalImageArgs(self.args)
86 self.args.local_image = constants.FIND_IN_BUILD_ENV
89 self.AvdSpec._ProcessLocalImageArgs(self.args)
96 self.args.local_image = "/path-to-image-dir"
99 self.AvdSpec._ProcessLocalImageArgs(self.args)
115 self.args.local_image = expected_image_dir
116 self.args.local_kernel_image = expected_image_dir
117 self.args.local_system_image = expected_image_dir
123 self.AvdSpec._ProcessLocalImageArgs(self.args)
129 self.args.local_image = expected_image_dir
130 self.args.local_kernel_image = expected_image_file
131 self.args.local_system_image = expected_image_file
137 self.AvdSpec._ProcessLocalImageArgs(self.args)
144 self.args.local_image = constants.FIND_IN_BUILD_ENV
145 self.args.local_system_image = constants.FIND_IN_BUILD_ENV
151 self.AvdSpec._ProcessLocalImageArgs(self.args)
159 self.args.local_image = None
160 self.AvdSpec._ProcessImageArgs(self.args)
166 self.args.local_image = "/test_path/cf_x86_phone-img-eng.user.zip"
169 self.AvdSpec._ProcessImageArgs(self.args)
177 self.args.local_image = "/test_path_to_dir/"
179 self.AvdSpec._ProcessImageArgs(self.args)
239 self.args.avd_type = constants.TYPE_GCE
241 self.AvdSpec._GetBuildTarget(self.args),
246 self.args.avd_type = constants.TYPE_CF
248 self.AvdSpec._GetBuildTarget(self.args),
253 self.args.avd_type = constants.TYPE_CF
255 self.AvdSpec._GetBuildTarget(self.args),
262 args = mock.MagicMock()
263 args.hw_property = "cpu:3,resolution:1280"
264 args.reuse_instance_name = None
266 self.AvdSpec._ProcessHWPropertyArgs(args)
269 args = mock.MagicMock()
270 args.hw_property = "cpu:3,dpi:fake"
272 self.AvdSpec._ProcessHWPropertyArgs(args)
275 args = mock.MagicMock()
276 args.hw_property = "cpu:3,disk:2"
278 self.AvdSpec._ProcessHWPropertyArgs(args)
281 args = mock.MagicMock()
282 args.hw_property = "cpu:3,memory:2"
284 self.AvdSpec._ProcessHWPropertyArgs(args)
339 self.args.branch = "git_master"
340 self.args.build_id = "1234"
341 self.args.launch_args = None
344 self.args.build_target = "aosp_gce_x86_phone-userdebug"
345 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
349 self.args.build_target = "gce_x86_phone-userdebug"
350 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
354 self.args.build_target = "aosp_cf_x86_phone-userdebug"
355 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
359 self.args.build_target = "cf_x86_phone-userdebug"
360 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
364 self.args.build_target = "sdk_phone_armv7-sdk"
365 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
369 self.args.build_target = "aosp_sdk_phone_armv7-sdk"
370 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
374 self.args.build_target = "mini_emulator_arm64-userdebug"
375 self.args.avd_type = "cuttlefish"
377 self.AvdSpec = avd_spec.AVDSpec(self.args)
378 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
386 self.AvdSpec = avd_spec.AVDSpec(self.args)
388 self.args.cheeps_betty_image = 'abcdefg'
389 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
392 self.args.cheeps_betty_image)
394 self.args.cheeps_betty_image = None
395 self.AvdSpec._ProcessRemoteBuildArgs(self.args)
442 self.args.remote_host = None
443 self.args.local_instance = None
444 self.AvdSpec._ProcessMiscArgs(self.args)
447 self.args.remote_host = None
448 self.args.local_instance = 0
449 self.AvdSpec._ProcessMiscArgs(self.args)
452 self.args.remote_host = "1.1.1.1"
453 self.args.local_instance = None
454 self.AvdSpec._ProcessMiscArgs(self.args)
457 self.args.remote_host = "1.1.1.1"
458 self.args.local_instance = 1
459 self.AvdSpec._ProcessMiscArgs(self.args)
462 self.args.oxygen = True
463 self.AvdSpec._ProcessMiscArgs(self.args)
467 self.args.autoconnect = False
468 self.AvdSpec._ProcessMiscArgs(self.args)
474 self.args.autoconnect = constants.INS_KEY_VNC
475 self.AvdSpec._ProcessMiscArgs(self.args)
481 self.args.autoconnect = constants.INS_KEY_ADB
482 self.AvdSpec._ProcessMiscArgs(self.args)
488 self.args.autoconnect = constants.INS_KEY_WEBRTC
489 self.AvdSpec._ProcessMiscArgs(self.args)