/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | gattc_lib.py | 159 instance_id = args[0] 167 int(instance_id, 16), write_value) 175 instance_id = args[0] 180 int(instance_id, 16), [int(write_value)]) 188 instance_id = args[0] 196 int(instance_id, 16), write_value) 204 instance_id = args[0] 212 int(instance_id, 16), write_value) 216 instance_id = line 220 int(instance_id, 16)) [all …]
|
D | gatts_lib.py | 62 instance_id = self.dut.droid.gattServerGetCharacteristicInstanceId( 68 hex(instance_id), uuid)) 96 def characteristic_set_value_by_instance_id(self, instance_id, value): argument 99 int(instance_id, 16), value) 101 def notify_characteristic_changed(self, instance_id, confirm): argument 104 self.gatt_server, 0, int(instance_id, 16), confirm) 152 instance_id = event['data']['instanceId'] 158 if instance_id in self.write_mapping.keys(): 159 self.write_mapping[instance_id] = self.write_mapping[ 160 instance_id] + value [all …]
|
/tools/acloud/restart/ |
D | restart.py | 40 def RestartFromInstance(cfg, instance, instance_id, powerwash_data): argument 57 instance_id, instance.name) 59 powerwash.PowerwashDevice(ssh, instance_id) 61 RestartDevice(ssh, instance_id) 70 def RestartDevice(ssh, instance_id): argument 77 ssh_command = "./bin/restart_cvd --instance_num=%d" % (instance_id) 101 cfg, instance[0], args.instance_id, args.powerwash) 108 args.instance_id,
|
D | restart_test.py | 43 args.instance_id = 1 50 mock.call(cfg, instance_obj, args.instance_id, args.powerwash)]) 61 mock.call(cfg, selected_instance, args.instance_id, args.powerwash)])
|
/tools/acloud/powerwash/ |
D | powerwash.py | 35 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/internal/lib/ |
D | cvd_runtime_config_test.py | 125 self.assertEqual(fake_cvd_runtime_config.instance_id, "2") 133 self.assertEqual(fake_cvd_runtime_config_webrtc.instance_id, "1") 148 self.assertEqual(fake_cvd_runtime_config_no_instances.instance_id, "1")
|
D | cvd_runtime_config.py | 242 def instance_id(self): member in CvdRuntimeConfig
|
/tools/acloud/list/ |
D | instance_test.py | 68 instance_id=2, 409 instance_id = 1 410 self.assertEqual(instance.GetLocalInstanceConfig(instance_id), None) 416 instance.GetLocalInstanceConfig(instance_id), expected_result)
|
D | instance.py | 521 self._local_instance_id = int(ins_id or self._cf_runtime_cfg.instance_id) 740 def instance_id(self): member in LocalInstance 857 def GetLockById(cls, instance_id): argument 861 (cls._INSTANCE_NAME_FORMAT % {"id": instance_id}) + ".lock") 877 instance_id = (port - cls._EMULATOR_DEFAULT_CONSOLE_PORT) // 2 + 1 878 instances.append(LocalGoldfishInstance(instance_id))
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/ |
D | cmd_input.py | 477 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/ |
D | local_image_local_instance.py | 369 def GetWebrtcSigServerPort(instance_id): argument 378 return constants.WEBRTC_LOCAL_PORT + instance_id - 1
|
D | local_image_local_instance_test.py | 718 instance_id = 3 721 self.local_image_local_instance.GetWebrtcSigServerPort(instance_id),
|