Home
last modified time | relevance | path

Searched refs:local_instance_id (Results 1 – 7 of 7) sorted by relevance

/tools/acloud/create/
Dlocal_image_local_instance.py183 if avd_spec.local_instance_id:
184 ins_id = avd_spec.local_instance_id
199 def _CreateInstance(self, local_instance_id, artifact_paths, avd_spec, argument
212 webrtc_port = self.GetWebrtcSigServerPort(local_instance_id)
216 cvd_home_dir = instance.GetLocalInstanceHomeDir(local_instance_id)
222 runtime_dir = instance.GetLocalInstanceRuntimeDir(local_instance_id)
243 instance_name = instance.GetLocalInstanceName(local_instance_id)
245 self._LaunchCvd(cmd, local_instance_id, artifact_paths.host_bins,
257 active_ins = list_instance.GetActiveCVD(local_instance_id)
505 def _CheckRunningCvd(local_instance_id, no_prompts=False): argument
[all …]
Dlocal_image_local_instance_test.py140 mock_avd_spec = mock.Mock(local_instance_id=0)
155 mock_avd_spec.local_instance_id = 1
391 local_instance_id = 3
397 local_instance_id)
403 local_instance_id)
412 local_instance_id = 3
419 cvd_env[constants.ENV_CUTTLEFISH_INSTANCE] = str(local_instance_id)
424 local_instance_id,
Dgoldfish_local_image_local_instance_test.py145 local_instance_id=1,
199 local_instance_id=2,
250 local_instance_id=2,
284 local_instance_id=0,
328 local_instance_id=3,
402 local_instance_id=3,
Dgoldfish_local_image_local_instance.py146 if avd_spec.local_instance_id:
147 ins_id = avd_spec.local_instance_id
Davd_spec.py910 def local_instance_id(self): member in AVDSpec
/tools/acloud/list/
Dinstance.py91 def GetLocalInstanceName(local_instance_id): argument
100 return _LOCAL_INSTANCE_NAME_FORMAT % {"id": local_instance_id}
119 def GetLocalInstanceConfig(local_instance_id): argument
128 cfg_path = os.path.join(GetLocalInstanceRuntimeDir(local_instance_id),
159 def GetLocalInstanceHomeDir(local_instance_id): argument
169 GetLocalInstanceName(local_instance_id))
172 def GetLocalInstanceLock(local_instance_id): argument
182 GetLocalInstanceName(local_instance_id) + ".lock")
186 def GetLocalInstanceRuntimeDir(local_instance_id): argument
195 return os.path.join(GetLocalInstanceHomeDir(local_instance_id),
[all …]
Dlist.py163 def GetActiveCVD(local_instance_id): argument
174 cfg_path = instance.GetLocalInstanceConfig(local_instance_id)
180 if local_instance_id == 1 and cfg_path: