/external/autotest/client/common_lib/cros/fake_device_server/ |
D | commands.py | 46 def new_device(self, device_id): argument 55 self.device_commands[device_id] = {} 58 def remove_device(self, device_id): argument 64 del self.device_commands[device_id] 74 device_id = command_resource.get('deviceId', None) 75 if not device_id: 79 if device_id not in self.device_commands: 81 400, 'Unknown device with id %s' % device_id) 95 self.device_commands[device_id][command_id] = command_resource 118 device_id = kwargs.get('deviceId', None) [all …]
|
D | devices.py | 53 def _handle_state_patch(self, device_id, api_key, data): argument 133 device_id = args.pop(0) if args else None 135 if device_id is None or operation != 'patchState': 140 self._handle_state_patch(device_id, api_key, data) 141 return {'state': self.resource.get_data_val(device_id, 173 device_id, _, _ = common_util.parse_common_args(args, kwargs) 182 device_id, data) 183 new_device = self.resource.update_data_val(device_id, api_key,
|
/external/webrtc/talk/media/webrtc/ |
D | fakewebrtcdeviceinfo.h | 47 void AddDevice(const std::string& device_name, const std::string& device_id) { in AddDevice() argument 48 devices_.push_back(Device(device_name, device_id)); in AddDevice() 50 void AddCapability(const std::string& device_id, in AddCapability() argument 53 reinterpret_cast<const char*>(device_id.c_str())); in AddCapability() 63 char* device_id, in GetDeviceName() argument 71 rtc::strcpyn(reinterpret_cast<char*>(device_id), device_id_len, in GetDeviceName() 79 virtual int32_t NumberOfCapabilities(const char* device_id) { in NumberOfCapabilities() argument 80 Device* dev = GetDeviceById(device_id); in NumberOfCapabilities() 84 virtual int32_t GetCapability(const char* device_id, in GetCapability() argument 87 Device* dev = GetDeviceById(device_id); in GetCapability() [all …]
|
/external/libweave/src/notification/ |
D | notification_parser_unittest.cc | 43 "deviceId": "device_id", in TEST_F() 46 "deviceId": "device_id", in TEST_F() 61 "deviceId": "device_id", in TEST_F() 84 std::string device_id; in TEST_F() local 85 EXPECT_CALL(delegate_, OnDeviceDeleted(_)).WillOnce(SaveArg<0>(&device_id)); in TEST_F() 87 EXPECT_EQ("some_device_id", device_id); in TEST_F() 93 "deviceId": "device_id", in TEST_F() 96 "deviceId": "device_id", in TEST_F() 115 "deviceId": "device_id", in TEST_F() 118 "deviceId": "device_id", in TEST_F() [all …]
|
/external/opencv3/samples/gpu/ |
D | driver_api_stereo_multi.cpp | 56 struct Worker { void operator()(int device_id) const; }; 203 void Worker::operator()(int device_id) const in operator ()() 205 contextOn(device_id); in operator ()() 207 bm[device_id]->compute(d_left[device_id], d_right[device_id], d_result[device_id]); in operator ()() 209 std::cout << "GPU #" << device_id << " (" << DeviceInfo().name() in operator ()()
|
D | multi.cpp | 47 struct Worker { void operator()(int device_id) const; }; 79 void Worker::operator()(int device_id) const in operator ()() 81 setDevice(device_id); in operator ()() 99 std::cout << "GPU #" << device_id << " (" << DeviceInfo().name() << "): " in operator ()()
|
D | driver_api_multi.cpp | 54 struct Worker { void operator()(int device_id) const; }; 121 void Worker::operator()(int device_id) const in operator ()() 124 safeCall(cuCtxPushCurrent(contexts[device_id])); in operator ()() 142 std::cout << "GPU #" << device_id << " (" << DeviceInfo().name() << "): " in operator ()()
|
/external/autotest/client/site_tests/buffet_IntermittentConnectivity/ |
D | buffet_IntermittentConnectivity.py | 23 device_id = self._helper.register_with_server() 24 self._helper.check_buffet_is_polling(device_id) 32 expected_device_id=device_id, 40 expected_device_id=device_id, 42 self._helper.check_buffet_is_polling(device_id)
|
/external/libdrm/radeon/ |
D | radeon_cs_gem.c | 60 uint32_t device_id; member 344 bof_t *bcs, *blob, *array, *bo, *size, *handle, *device_id, *root; in cs_gem_dump_bof() local 349 root = device_id = bcs = blob = array = bo = size = handle = NULL; in cs_gem_dump_bof() 353 device_id = bof_int32(csm->device_id); in cs_gem_dump_bof() 354 if (device_id == NULL) in cs_gem_dump_bof() 356 if (bof_object_set(root, "device_id", device_id)) in cs_gem_dump_bof() 358 bof_decref(device_id); in cs_gem_dump_bof() 359 device_id = NULL; in cs_gem_dump_bof() 414 sprintf(tmp, "d-0x%04X-%08d.bof", csm->device_id, csm->nbof++); in cs_gem_dump_bof() 422 bof_decref(device_id); in cs_gem_dump_bof() [all …]
|
/external/autotest/client/site_tests/buffet_RefreshAccessToken/ |
D | buffet_RefreshAccessToken.py | 22 device_id = self._helper.register_with_server() 23 self._helper.check_buffet_is_polling(device_id) 30 self._helper.check_buffet_is_polling(device_id) 32 buffet_tester.STATUS_CONNECTED, expected_device_id=device_id)
|
/external/autotest/client/site_tests/buffet_RestartWhenRegistered/ |
D | buffet_RestartWhenRegistered.py | 22 device_id = self._helper.register_with_server() 23 self._helper.check_buffet_is_polling(device_id) 29 self._helper.check_buffet_is_polling(device_id) 31 buffet_tester.STATUS_CONNECTED, expected_device_id=device_id)
|
/external/autotest/client/common_lib/cros/tendo/ |
D | buffet_tester.py | 131 actual_device_id = buffet.device_id 150 def check_buffet_is_polling(self, device_id, timeout_seconds=30): argument 162 'deviceId': device_id, 166 self._command_client.create_command(device_id, command_resource) 216 device_id = dbus_util.dbus2primitive( 219 device_resource = self._device_client.get_device(device_id) 227 expected_device_id=device_id, 229 return device_id
|
/external/libweave/src/ |
D | config_unittest.cc | 69 EXPECT_FALSE(GetSettings().device_id.empty()); in TEST_F() 93 "device_id": "state_device_id" in TEST_F() 99 EXPECT_FALSE(GetSettings().device_id.empty()); in TEST_F() 100 EXPECT_NE(GetSettings().cloud_id, GetSettings().device_id); in TEST_F() 104 "device_id": "state_device_id", in TEST_F() 111 EXPECT_EQ("state_device_id", GetSettings().device_id); in TEST_F() 138 "device_id": "state_device_id", in TEST_F() 166 EXPECT_EQ("state_device_id", GetSettings().device_id); in TEST_F() 243 EXPECT_EQ("set_device_id", GetSettings().device_id); in TEST_F()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | android_device.py | 30 def __init__(self, device_id, enable_performance_mode=True): argument 32 name='Android device %s' % device_id, guid=device_id) 33 self._device_id = device_id 42 def device_id(self): member in AndroidDevice 126 '\n'.join([' --device=%s' % d.device_id for d in devices]))
|
D | gpu_device.py | 19 def __init__(self, vendor_id, device_id, vendor_string, device_string): argument 21 self._device_id = device_id 61 def device_id(self): member in GPUDevice
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
D | adb_install_cert.py | 42 def __init__(self, device_id, cert_name, cert_path): argument 45 self.device_id = device_id 60 if self.device_id: 61 cmd.extend(['-s', self.device_id]) 185 logging.info('Installing %s on %s', self.cert_path, self.device_id) 235 cert_installer = AndroidCertInstaller(args.device_id, args.cert_name,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cognito/sync/ |
D | layer1.py | 371 dataset_name, device_id): argument 393 identity_pool_id, identity_id, dataset_name, device_id) 397 dataset_name, device_id): argument 419 identity_pool_id, identity_id, dataset_name, device_id) 423 sync_session_token, device_id=None, argument 470 if device_id is not None: 471 params['DeviceId'] = device_id
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
D | commands.py | 35 def list_commands(self, device_id): argument 40 request = urllib2.Request(self.get_url(params={'deviceId':device_id}), 69 def create_command(self, device_id, data): argument 76 data['deviceId'] = device_id
|
/external/autotest/client/tests/kvm/tests/ |
D | pci_hotplug.py | 83 device_id = test_type + "-" + virt_utils.generate_random_id() 87 pci_add_cmd = "device_add id=%s,driver=%s" % (device_id, 107 controller_id = "controller-" + device_id 122 (device_id, tested_model, driver_id)) 133 if not device_id in after_add: 147 cmd = "device_del %s" % device_id
|
D | nic_bonding.py | 51 device_id = vm.get_peer(vm.netdev_id[vlan]) 52 vm.monitor.cmd("set_link %s down" % device_id) 54 vm.monitor.cmd("set_link %s up" % device_id)
|
/external/webrtc/webrtc/modules/video_capture/windows/ |
D | video_capture_factory_windows.cc | 26 const char* device_id) { in Create() argument 27 if (device_id == NULL) in Create() 32 if (capture->Init(id, device_id) != 0) { in Create()
|
/external/autotest/client/site_tests/buffet_InvalidCredentials/ |
D | buffet_InvalidCredentials.py | 22 device_id = self._helper.register_with_server() 23 self._helper.check_buffet_is_polling(device_id) 32 expected_device_id=device_id,
|
/external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/ |
D | SDLActivity.java | 438 public static native int onNativePadDown(int device_id, int keycode); in onNativePadDown() argument 439 public static native int onNativePadUp(int device_id, int keycode); in onNativePadUp() argument 440 public static native void onNativeJoy(int device_id, int axis, in onNativeJoy() argument 442 public static native void onNativeHat(int device_id, int hat_id, in onNativeHat() argument 454 public static native int nativeAddJoystick(int device_id, String name, in nativeAddJoystick() argument 457 public static native int nativeRemoveJoystick(int device_id); in nativeRemoveJoystick() argument 1513 public int device_id; field in SDLJoystickHandler_API12.SDLJoystick 1552 joystick.device_id = deviceIds[i]; in pollInputDevices() 1572 SDLActivity.nativeAddJoystick(joystick.device_id, joystick.name, 0, -1, in pollInputDevices() 1581 int device_id = mJoysticks.get(i).device_id; in pollInputDevices() local [all …]
|
/external/autotest/client/site_tests/buffet_Registration/ |
D | buffet_Registration.py | 22 device_id = self._helper.register_with_server() 23 self._helper.check_buffet_is_polling(device_id)
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
D | i915_sw_winsys.c | 13 i915_sw_get_device_id(unsigned int *device_id) in i915_sw_get_device_id() argument 16 *device_id = 0x27A2; in i915_sw_get_device_id()
|