Home
last modified time | relevance | path

Searched refs:instance_id (Results 1 – 12 of 12) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgattc_lib.py160 instance_id = args[0]
168 int(instance_id, 16), write_value)
176 instance_id = args[0]
181 int(instance_id, 16), [int(write_value)])
189 instance_id = args[0]
197 int(instance_id, 16), write_value)
205 instance_id = args[0]
213 int(instance_id, 16), write_value)
217 instance_id = line
221 int(instance_id, 16))
[all …]
Dgatts_lib.py63 instance_id = self.dut.droid.gattServerGetCharacteristicInstanceId(
69 hex(instance_id), uuid))
97 def characteristic_set_value_by_instance_id(self, instance_id, value): argument
100 int(instance_id, 16), value)
102 def notify_characteristic_changed(self, instance_id, confirm): argument
105 self.gatt_server, 0, int(instance_id, 16), confirm)
152 instance_id = event['data']['instanceId']
158 if instance_id in self.write_mapping.keys():
160 instance_id] = self.write_mapping[instance_id] + value
163 instance_id, self.write_mapping[instance_id]))
[all …]
/tools/acloud/restart/
Drestart.py37 def RestartFromInstance(cfg, instance, instance_id, powerwash_data): argument
54 instance_id, instance.name)
56 powerwash.PowerwashDevice(ssh, instance_id)
58 RestartDevice(ssh, instance_id)
67 def RestartDevice(ssh, instance_id): argument
74 ssh_command = "./bin/restart_cvd --instance_num=%d" % (instance_id)
98 cfg, instance[0], args.instance_id, args.powerwash)
101 args.instance_id,
Drestart_test.py36 args.instance_id = 1
43 mock.call(cfg, instance_obj, args.instance_id, args.powerwash)])
52 mock.call(cfg, selected_instance, args.instance_id, args.powerwash)])
/tools/acloud/powerwash/
Dpowerwash.py35 def PowerwashFromInstance(cfg, instance, instance_id): argument
51 instance_id, instance.name)
52 PowerwashDevice(ssh, instance_id)
57 def PowerwashDevice(ssh, instance_id): argument
64 ssh_command = "./bin/powerwash_cvd --instance_num=%d" % (instance_id)
87 return PowerwashFromInstance(cfg, instance[0], args.instance_id)
90 args.instance_id)
/tools/acloud/list/
Dinstance.py382 self._local_instance_id = int(self._cf_runtime_cfg.instance_id)
507 def instance_id(self): member in LocalInstance
626 def GetLockById(cls, instance_id): argument
630 (cls._INSTANCE_NAME_FORMAT % {"id": instance_id}) + ".lock")
646 instance_id = (port - cls._EMULATOR_DEFAULT_CONSOLE_PORT) // 2 + 1
647 instances.append(LocalGoldfishInstance(instance_id))
Dinstance_test.py65 instance_id=2,
/tools/acloud/internal/lib/
Dcvd_runtime_config_test.py98 self.assertEqual(fake_cvd_runtime_config.instance_id, "2")
106 self.assertEqual(fake_cvd_runtime_config_webrtc.instance_id, "1")
Dcvd_runtime_config.py222 def instance_id(self): member in CvdRuntimeConfig
/tools/test/connectivity/acts_tests/tests/google/bt/pts/
Dcmd_input.py477 instance_id = info[0]
483 instance_id, confirm)
500 instance_id = info[0]
506 instance_id, value)
515 instance_id = info[0]
518 instance_id, confirm)
/tools/acloud/create/
Dlocal_image_local_instance.py279 def GetWebrtcSigServerPort(instance_id): argument
288 return constants.WEBRTC_LOCAL_PORT + instance_id - 1
Dlocal_image_local_instance_test.py459 instance_id = 3
462 self.local_image_local_instance.GetWebrtcSigServerPort(instance_id),