Home
last modified time | relevance | path

Searched refs:base_instance_num (Results 1 – 11 of 11) sorted by relevance

/tools/acloud/internal/lib/
Dcvd_utils.py148 def GetAdbPorts(base_instance_num, num_avds_per_instance): argument
159 return [constants.CF_ADB_PORT + (base_instance_num or 1) - 1 + index
163 def GetVncPorts(base_instance_num, num_avds_per_instance): argument
174 return [constants.CF_VNC_PORT + (base_instance_num or 1) - 1 + index
604 def GetRemoteHostBaseDir(base_instance_num): argument
613 return _REMOTE_HOST_BASE_DIR_FORMAT % {"num": base_instance_num or 1}
616 def FormatRemoteHostInstanceName(ip_addr, base_instance_num, build_id, argument
631 "num": base_instance_num or 1,
884 if avd_spec.base_instance_num:
886 "--base_instance_num=" + str(avd_spec.base_instance_num))
[all …]
Dcvd_compute_client_multi_stage_test.py119 self.args.base_instance_num = None
Dcvd_utils_test.py552 base_instance_num=0,
582 base_instance_num=3,
Dutils.py1616 def SetCvdPorts(base_instance_num): argument
1622 offset = (base_instance_num or 1) - 1
/tools/acloud/public/actions/
Dremote_instance_cf_device_factory.py190 self._avd_spec.base_instance_num,
218 return cvd_utils.GetAdbPorts(self._avd_spec.base_instance_num,
227 return cvd_utils.GetVncPorts(self._avd_spec.base_instance_num,
Dremote_host_cf_device_factory.py138 self._avd_spec.base_instance_num)
176 self._avd_spec.remote_host, self._avd_spec.base_instance_num,
545 self._avd_spec.base_instance_num,
583 return cvd_utils.GetAdbPorts(self._avd_spec.base_instance_num,
592 return cvd_utils.GetVncPorts(self._avd_spec.base_instance_num,
Dremote_instance_cf_device_factory_test.py240 fake_avd_spec.base_instance_num = None
328 fake_avd_spec.base_instance_num = 2
Dremote_host_cf_device_factory_test.py77 base_instance_num=None,
93 mock_avd_spec.base_instance_num = 2
Dremote_host_gf_device_factory.py167 ((self._avd_spec.base_instance_num or 1) - 1) * 2)
173 (self._avd_spec.base_instance_num or 1),
Dremote_host_gf_device_factory_test.py207 self._mock_avd_spec.base_instance_num = 2
/tools/acloud/create/
Davd_spec.py396 self._base_instance_num = args.base_instance_num
1015 def base_instance_num(self): member in AVDSpec