Home
last modified time | relevance | path

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

12

/tools/acloud/list/
Dinstance.py324 createtime=None, elapsed_time=None, avd_type=None, avd_flavor=None, argument
341 self._avd_type = avd_type
448 def avd_type(self): member in Instance
549 createtime=None, elapsed_time=None, avd_type=constants.TYPE_CF,
799 status=None, adb_port=adb_port, avd_type=constants.TYPE_GF,
926 avd_type = None
936 avd_type = value
944 if not avd_type and name.startswith(_ACLOUDWEB_INSTANCE_START_STRING):
945 avd_type = constants.TYPE_CF
954 forwarded_ports = self.GetForwardedPortsFromSSHTunnel(ip, hostname, avd_type)
[all …]
Dinstance_test.py198 self.assertEqual(inst.avd_type, constants.TYPE_GF)
311 self.assertEqual("fake_type", instance_info.avd_type)
/tools/acloud/create/
Dcreate_args_test.py62 avd_type=constants.TYPE_CF,
85 mock_args.avd_type = constants.TYPE_GF
88 mock_args.avd_type = constants.TYPE_CF
96 mock_args.avd_type = constants.TYPE_GF
103 mock_args.avd_type = constants.TYPE_GF
159 mock_args.avd_type = "cheeps"
162 mock_args.avd_type = "cuttlefish"
Dcreate_args.py804 args.avd_type in (constants.TYPE_CF, constants.TYPE_GF)):
807 args.avd_type)
871 if args.avd_type != constants.TYPE_GF and any(goldfish_only_flags):
880 if args.avd_type == constants.TYPE_GF and any(remote_kernel_flags):
890 if (args.avd_type == constants.TYPE_GF and any(remote_boot_flags) and
902 if (args.avd_type == constants.TYPE_GF and any(remote_system_flags) and
909 if args.avd_type == constants.TYPE_GF and args.remote_host is None and any(
935 if args.avd_type not in (constants.TYPE_CF, constants.TYPE_GF):
939 % args.avd_type)
978 if args.avd_type != constants.TYPE_CHEEPS and any(cheeps_only_flags):
Davd_spec_test.py254 self.args.avd_type = constants.TYPE_GCE
261 self.args.avd_type = constants.TYPE_CF
268 self.args.avd_type = constants.TYPE_CF
361 self.assertTrue(self.AvdSpec.avd_type == "gce")
366 self.assertTrue(self.AvdSpec.avd_type == "gce")
371 self.assertTrue(self.AvdSpec.avd_type == "cuttlefish")
376 self.assertTrue(self.AvdSpec.avd_type == "cuttlefish")
381 self.assertTrue(self.AvdSpec.avd_type == "goldfish")
386 self.assertTrue(self.AvdSpec.avd_type == "goldfish")
427 self.args.avd_type = "cuttlefish"
[all …]
Dlocal_image_remote_instance.py52 if avd_spec.avd_type == constants.TYPE_FVP:
62 avd_type=avd_spec.avd_type,
Dcreate.py94 def GetAvdCreatorClass(avd_type, instance_type, image_source): argument
112 (avd_type, image_source, instance_type))
117 "image source: %s" % (avd_type, instance_type, image_source))
254 avd_creator_class = GetAvdCreatorClass(spec.avd_type,
Dcreate_test.py42 avd_type = "unknown type"
46 create.GetAvdCreatorClass(avd_type, ins_type, image_source)
183 spec.avd_type = constants.TYPE_GCE
Davd_spec.py234 if self.avd_type != constants.TYPE_CF:
350 self._avd_type = args.avd_type
632 for avd_type, avd_type_abbr in constants.AVD_TYPES_MAPPING.items():
635 self._avd_type = avd_type
780 constants.AVD_TYPES_MAPPING[args.avd_type],
840 def avd_type(self): member in AVDSpec
Dlocal_image_remote_instance_test.py50 spec.avd_type = constants.TYPE_CF
67 spec.avd_type = constants.TYPE_FVP
Dgoldfish_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.py148 if instance.avd_type not in utils.AVD_PORT_DICT:
151 (instance.name, instance.avd_type))
171 target_vnc_port=utils.AVD_PORT_DICT[instance.avd_type].vnc_port,
172 target_adb_port=utils.AVD_PORT_DICT[instance.avd_type].adb_port,
173 target_fastboot_port=utils.AVD_PORT_DICT[instance.avd_type].fastboot_port,
254 if instance.avd_type not in utils.AVD_PORT_DICT:
257 (instance.name, instance.avd_type),
Dreconnect_test.py57 instance_object.avd_type = "cuttlefish"
179 instance_object.avd_type = "cuttlefish"
241 instance_object.avd_type = "gce"
254 instance_object.avd_type = "cuttlefish"
272 instance_object.avd_type = "unknown"
339 fake_ins1.avd_type = "cuttlefish"
342 fake_ins2.avd_type = "cuttlefish"
345 fake_ins_gf.avd_type = "goldfish"
378 fake_ins2.avd_type = "unknown"
/tools/acloud/public/actions/
Dremote_instance_cf_device_factory_test.py65 args.avd_type = constants.TYPE_CF
125 args.avd_type = constants.TYPE_CF
170 args.avd_type = constants.TYPE_CF
202 args.avd_type = constants.TYPE_CF
326 args.avd_type = constants.TYPE_CF
403 args.avd_type = constants.TYPE_CF
Dcommon_operations.py210 def CreateDevices(command, cfg, device_factory, num, avd_type, argument
282 vnc_ports[0], adb_ports[0], fastboot_ports[0] = utils.AVD_PORT_DICT[avd_type]
Dremote_instance_fvp_device_factory_test.py63 args.avd_type = constants.TYPE_FVP
/tools/acloud/delete/
Ddelete_test.py327 fake_ins.avd_type = "cuttlefish"
332 fake_ins2.avd_type = "cuttlefish"
337 fake_ins3.avd_type = "goldfish"
342 fake_ins4.avd_type = "unknown"
Ddelete.py64 if instance.avd_type == constants.TYPE_GF:
66 elif instance.avd_type == constants.TYPE_CF:
70 instance.avd_type)
/tools/acloud/internal/lib/
Dandroid_compute_client_test.py127 fake_avd_spec.avd_type = "gce"

12