Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 45) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteInfoTest.java38 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testDefaultValues() local
39 if (instance.didLoadFromProperties()) { in testDefaultValues()
44 assertEquals("[stub build number]", instance.getBuildNumber()); in testDefaultValues()
45 assertEquals("[stub target arch]", instance.getTargetArch()); in testDefaultValues()
46 assertEquals("[stub name]", instance.getName()); in testDefaultValues()
47 assertEquals("[stub fullname]", instance.getFullName()); in testDefaultValues()
48 assertEquals("[stub version]", instance.getVersion()); in testDefaultValues()
67 TestSuiteInfo instance = TestSuiteInfo.getInstance(); in testLoadConfig() local
69 Properties p = instance.loadSuiteInfo(stream); in testLoadConfig()
/tools/acloud/internal/lib/
Dandroid_compute_client.py140 def GetDataDiskName(cls, instance): argument
149 name = cls.DATA_DISK_NAME_FMT.format(instance=instance)
251 def CreateInstance(self, instance, image_name, extra_disk_name=None): argument
259 disk_args = self._GetDiskArgs(instance, image_name)
279 instance, image_name, self._machine_type, metadata, self._network,
282 def CheckBoot(self, instance): argument
294 instance=instance, port=1)
302 def WaitForBoot(self, instance): argument
308 logger.info("Waiting for instance to boot up: %s", instance)
311 (instance, self.BOOT_TIMEOUT_SECS)),
[all …]
Dgcompute_client.py385 def GetInstance(self, instance, zone): argument
398 instance=instance)
401 def StartInstance(self, instance, zone): argument
413 instance=instance)
420 logger.error("Start instance failed: %s", instance)
422 logger.info("Instance %s has been started.", instance)
444 def StopInstance(self, instance, zone): argument
456 instance=instance)
463 logger.error("Stop instance failed: %s", instance)
465 logger.info("Instance %s has been terminated.", instance)
[all …]
Dgcompute_client_test.py319 project=self.PROJECT, zone=self.ZONE, instance=self.INSTANCE)
408 instance=self.INSTANCE,
430 instance=self.INSTANCE, zone=self.ZONE)
432 project=self.PROJECT, zone=self.ZONE, instance=self.INSTANCE)
453 instance="fake_instance_1",
456 instance="fake_instance_2",
473 calls = [mock.call(instance="fake_instance_1"),
474 mock.call(instance="fake_instance_2")]
490 instance=self.INSTANCE, zone=self.ZONE)
492 project=self.PROJECT, zone=self.ZONE, instance=self.INSTANCE)
[all …]
/tools/acloud/internal/script/
Dcreate_extradisk.sh21 gcloud compute instances attach-disk instance-disk-creation --disk "${DISK_NAME}" --zone=${ZONE} --…
23 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo mkfs.…
24 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo mount…
25 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "ls /mnt"
26 gcloud compute ssh instance-disk-creation --zone=${ZONE} --project=${PROJECT} --command "sudo umoun…
28 gcloud compute instances detach-disk instance-disk-creation --disk "${DISK_NAME}" --zone=${ZONE} --…
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py78 def __get__(self, instance, owner): argument
85 return _TestInfoBinding(self, instance)
170 def __init__(self, target, instance): argument
177 self.instance = instance
185 return self.target(self.instance, *args, **kwargs)
191 return self.target.gather(self.instance, *args, **kwargs)
/tools/dexter/testdata/expected/
Dhello_nodebug.asm36 7| new-instance v3, java.lang.StringBuilder
66 4| new-instance v3, java.lang.StringBuilder
109 30| new-instance v2, Base
124 55| new-instance v2, Derived
138 0| new-instance v5, java.lang.Throwable
Dhello.asm61 7| new-instance v3, java.lang.StringBuilder
104 4| new-instance v3, java.lang.StringBuilder
162 30| new-instance v2, Base
181 55| new-instance v2, Derived
201 0| new-instance v5, java.lang.Throwable
Dhello_nodebug.scratch_regs54 25| new-instance v9, java.lang.StringBuilder
93 22| new-instance v9, java.lang.StringBuilder
142 39| new-instance v9, Base
157 64| new-instance v9, Derived
171 0| new-instance v5, java.lang.Throwable
Dhello.wrap_invoke61 7| new-instance v3, java.lang.StringBuilder
104 4| new-instance v3, java.lang.StringBuilder
162 30| new-instance v2, Base
181 55| new-instance v2, Derived
201 0| new-instance v5, java.lang.Throwable
Dhello_nodebug.verbose_cfg55 7| new-instance v3, java.lang.StringBuilder
107 4| new-instance v3, java.lang.StringBuilder
192 30| new-instance v2, Base
221 55| new-instance v2, Derived
243 0| new-instance v5, java.lang.Throwable
Dhello.rewrite61 7| new-instance v3, java.lang.StringBuilder
104 4| new-instance v3, java.lang.StringBuilder
162 30| new-instance v2, Base
181 55| new-instance v2, Derived
201 0| new-instance v5, java.lang.Throwable
Dhello.scratch_regs79 25| new-instance v9, java.lang.StringBuilder
131 22| new-instance v9, java.lang.StringBuilder
195 39| new-instance v9, Base
214 64| new-instance v9, Derived
234 0| new-instance v5, java.lang.Throwable
Dhello.entry_hook65 10| new-instance v3, java.lang.StringBuilder
110 7| new-instance v3, java.lang.StringBuilder
170 33| new-instance v2, Base
189 58| new-instance v2, Derived
210 3| new-instance v5, java.lang.Throwable
Dtry_catch.asm65 11| new-instance v1, A
73 20| new-instance v1, B
Dtry_catch.rewrite65 11| new-instance v1, A
73 20| new-instance v1, B
Dtry_catch.exit_hook70 15| new-instance v1, A
78 24| new-instance v1, B
Dtry_catch.compact_cfg80 11| new-instance v1, A
90 20| new-instance v1, B
Dtry_catch.scratch_regs77 20| new-instance v10, A
85 29| new-instance v10, B
Dhello_nodebug.code_coverage123 25| new-instance v4, java.lang.StringBuilder
175 16| new-instance v4, java.lang.StringBuilder
260 102| new-instance v3, Base
289 169| new-instance v3, Derived
311 6| new-instance v5, java.lang.Throwable
Dtry_catch.verbose_cfg86 11| new-instance v1, A
100 20| new-instance v1, B
/tools/acloud/public/
Ddevice_driver.py211 instance = self._compute_client.GenerateInstanceName(
216 instance)
220 self._compute_client.CreateInstance(instance, image_name,
222 ip = self._compute_client.GetInstanceIP(instance)
224 ip=ip, instance_name=instance))
316 instance=instance_name, port=port)
/tools/acloud/internal/proto/
Dinternal_config.proto26 // Metadata for creating Compute Engine instance
44 // Minimum gce instance size, e.g. n1-standard-1
Duser_config.proto46 // Metadata for creating Compute Engine instance
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py347 instance = self._aps.get(identifier)
349 instance.hostapd.stop()

12