Home
last modified time | relevance | path

Searched refs:avd_type (Results 1 – 25 of 32) sorted by relevance

12

/tools/acloud/list/
Dinstance.py305 elapsed_time=None, avd_type=None, avd_flavor=None, argument
321 self._avd_type = avd_type
426 def avd_type(self): member in Instance
509 createtime=None, elapsed_time=None, avd_type=constants.TYPE_CF,
761 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF,
886 avd_type = None
895 avd_type = value
901 if not avd_type and name.startswith(_ACLOUDWEB_INSTANCE_START_STRING):
902 avd_type = constants.TYPE_CF
910 forwarded_ports = self.GetAdbVncPortFromSSHTunnel(ip, avd_type)
[all …]
Dinstance_test.py190 self.assertEqual(inst.avd_type, constants.TYPE_GF)
293 self.assertEqual("fake_type", instance_info.avd_type)
/tools/acloud/create/
Dcreate_args_test.py57 avd_type=constants.TYPE_CF,
80 mock_args.avd_type = constants.TYPE_GF
83 mock_args.avd_type = constants.TYPE_CF
90 mock_args.avd_type = constants.TYPE_GF
151 mock_args.avd_type = "cheeps"
154 mock_args.avd_type = "cuttlefish"
Davd_spec_test.py249 self.args.avd_type = constants.TYPE_GCE
256 self.args.avd_type = constants.TYPE_CF
263 self.args.avd_type = constants.TYPE_CF
356 self.assertTrue(self.AvdSpec.avd_type == "gce")
361 self.assertTrue(self.AvdSpec.avd_type == "gce")
366 self.assertTrue(self.AvdSpec.avd_type == "cuttlefish")
371 self.assertTrue(self.AvdSpec.avd_type == "cuttlefish")
376 self.assertTrue(self.AvdSpec.avd_type == "goldfish")
381 self.assertTrue(self.AvdSpec.avd_type == "goldfish")
414 self.args.avd_type = "cuttlefish"
[all …]
Dcreate_args.py706 args.avd_type in (constants.TYPE_CF, constants.TYPE_GF)):
709 args.avd_type)
773 if args.avd_type != constants.TYPE_GF and any(goldfish_only_flags):
784 if (args.avd_type == constants.TYPE_GF and any(remote_kernel_flags) and
796 if (args.avd_type == constants.TYPE_GF and any(remote_system_flags) and
804 if args.avd_type == constants.TYPE_GF and args.remote_host is None and any(
830 if args.avd_type not in (constants.TYPE_CF, constants.TYPE_GF):
834 % args.avd_type)
865 if args.avd_type != constants.TYPE_CHEEPS and any(cheeps_only_flags):
Dlocal_image_remote_instance.py52 if avd_spec.avd_type == constants.TYPE_FVP:
62 avd_type=avd_spec.avd_type,
Dcreate.py92 def GetAvdCreatorClass(avd_type, instance_type, image_source): argument
110 (avd_type, image_source, instance_type))
115 "image source: %s" % (avd_type, instance_type, image_source))
252 avd_creator_class = GetAvdCreatorClass(spec.avd_type,
Davd_spec.py223 if self.avd_type != constants.TYPE_CF:
335 self._avd_type = args.avd_type
595 for avd_type, avd_type_abbr in constants.AVD_TYPES_MAPPING.items():
598 self._avd_type = avd_type
740 constants.AVD_TYPES_MAPPING[args.avd_type],
795 def avd_type(self): member in AVDSpec
Dcreate_test.py42 avd_type = "unknown type"
46 create.GetAvdCreatorClass(avd_type, ins_type, image_source)
183 spec.avd_type = constants.TYPE_GCE
Dlocal_image_remote_instance_test.py50 spec.avd_type = constants.TYPE_CF
67 spec.avd_type = constants.TYPE_FVP
Dgoldfish_remote_image_remote_host_test.py36 spec.avd_type = constants.TYPE_GF
Dlocal_image_remote_host.py53 avd_type=constants.TYPE_CF,
Dgoldfish_remote_image_remote_instance_test.py36 spec.avd_type = constants.TYPE_GF
Dremote_image_remote_host.py53 avd_type=constants.TYPE_CF,
Dremote_image_remote_host_test.py43 spec.avd_type = constants.TYPE_CF
Dlocal_image_remote_host_test.py44 spec.avd_type = constants.TYPE_CF
Dcheeps_remote_image_remote_instance.py61 avd_type=constants.TYPE_CHEEPS,
/tools/acloud/reconnect/
Dreconnect_test.py53 instance_object.avd_type = "cuttlefish"
169 instance_object.avd_type = "cuttlefish"
231 instance_object.avd_type = "gce"
243 instance_object.avd_type = "cuttlefish"
260 instance_object.avd_type = "unknown"
327 fake_ins1.avd_type = "cuttlefish"
330 fake_ins2.avd_type = "cuttlefish"
333 fake_ins_gf.avd_type = "goldfish"
366 fake_ins2.avd_type = "unknown"
Dreconnect.py145 if instance.avd_type not in utils.AVD_PORT_DICT:
148 (instance.name, instance.avd_type))
164 target_vnc_port=utils.AVD_PORT_DICT[instance.avd_type].vnc_port,
165 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port,
223 if instance.avd_type not in utils.AVD_PORT_DICT:
226 (instance.name, instance.avd_type),
/tools/acloud/public/actions/
Dcommon_operations.py211 def _GetAdbPort(avd_type, base_instance_num): argument
221 if avd_type in utils.AVD_PORT_DICT:
222 return utils.AVD_PORT_DICT[avd_type].adb_port + base_instance_num - 1
226 def CreateDevices(command, cfg, device_factory, num, avd_type, argument
295 avd_type,
313 target_vnc_port=utils.AVD_PORT_DICT[avd_type].vnc_port,
Dremote_instance_cf_device_factory_test.py63 args.avd_type = constants.TYPE_CF
119 args.avd_type = constants.TYPE_CF
163 args.avd_type = constants.TYPE_CF
194 args.avd_type = constants.TYPE_CF
303 args.avd_type = constants.TYPE_CF
Dremote_instance_fvp_device_factory_test.py63 args.avd_type = constants.TYPE_FVP
/tools/acloud/delete/
Ddelete_test.py328 fake_ins.avd_type = "cuttlefish"
333 fake_ins2.avd_type = "cuttlefish"
338 fake_ins3.avd_type = "goldfish"
343 fake_ins4.avd_type = "unknown"
Ddelete.py65 if instance.avd_type == constants.TYPE_GF:
67 elif instance.avd_type == constants.TYPE_CF:
71 instance.avd_type)
/tools/acloud/internal/lib/
Dcvd_compute_client.py150 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type

12