Home
last modified time | relevance | path

Searched refs:product_id (Results 1 – 25 of 114) sorted by relevance

12345

/external/chromium_org/tools/usb_gadget/
Dhid_gadget_test.py53 vendor_id=0, product_id=0)
56 vendor_id=0, product_id=0)
60 vendor_id=0, product_id=0)
67 vendor_id=0, product_id=0)
73 vendor_id=0, product_id=0)
78 vendor_id=0, product_id=0)
86 vendor_id=0, product_id=0)
94 vendor_id=0, product_id=0)
139 vendor_id=0, product_id=0)
149 vendor_id=0, product_id=0)
[all …]
/external/chromium_org/apps/
Dsaved_devices_service.cc104 int product_id; in GetSavedDeviceEntries() local
106 &product_id) || in GetSavedDeviceEntries()
107 product_id < 0 || product_id > UINT16_MAX) { in GetSavedDeviceEntries()
116 result.push_back(SavedDeviceEntry(vendor_id, product_id, serial_number)); in GetSavedDeviceEntries()
124 uint16_t product_id, in SavedDeviceEntry() argument
127 product_id(product_id), in SavedDeviceEntry()
136 product_id); in ToValue()
157 if (it->product_id != device->product_id()) { in IsRegistered()
185 if (it->product_id != device->product_id()) { in RegisterDevice()
193 device->vendor_id(), device->product_id(), *serial_number); in RegisterDevice()
/external/chromium_org/chrome/installer/mac/
Dkeystone_install.sh516 local product_id="${1}"
535 local current_tag="$(ksadmin --productid "${product_id}" --print-tag)"
558 if ! ksadmin --productid "${product_id}" \
584 local product_id="${1}"
661 --productid "${product_id}"
807 local update_version_app update_version_ks product_id
857 if ! product_id="$(infoplist_read "${update_ks_plist}" \
859 [[ -z "${product_id}" ]]; then
863 note "product_id = ${product_id}"
889 if ! product_id=$(<"${patch_dir}/ks_product") ||
[all …]
/external/chromium_org/extensions/common/permissions/
Dusb_device_permission.h20 CheckParam(uint16 vendor_id, uint16 product_id, int interface_id) in CheckParam()
22 product_id(product_id), in CheckParam()
25 const uint16 product_id; member
Dusb_device_permission_data.h39 uint16 product_id,
56 const uint16& product_id() const { return product_id_; } in product_id() function
61 uint16& product_id() { return product_id_; } in product_id() function
Dusb_device_permission_data.cc33 uint16 product_id, in UsbDevicePermissionData() argument
36 product_id_(product_id), in UsbDevicePermissionData()
47 product_id_ == specific_param.product_id && in Check()
/external/chromium_org/cloud_print/common/win/
Dinstall_utils.h17 void SetGoogleUpdateKeys(const base::string16& product_id,
21 void SetGoogleUpdateError(const base::string16& product_id,
25 void SetGoogleUpdateError(const base::string16& product_id, HRESULT hr);
28 void DeleteGoogleUpdateKeys(const base::string16& product_id);
Dinstall_utils.cc53 void SetGoogleUpdateKeys(const base::string16& product_id, in SetGoogleUpdateKeys() argument
57 (cloud_print::kClientsKey + product_id).c_str(), in SetGoogleUpdateKeys()
83 void SetGoogleUpdateError(const base::string16& product_id, in SetGoogleUpdateError() argument
88 (cloud_print::kClientStateKey + product_id).c_str(), in SetGoogleUpdateError()
101 void SetGoogleUpdateError(const base::string16& product_id, HRESULT hr) { in SetGoogleUpdateError() argument
105 (cloud_print::kClientStateKey + product_id).c_str(), in SetGoogleUpdateError()
117 void DeleteGoogleUpdateKeys(const base::string16& product_id) { in DeleteGoogleUpdateKeys() argument
120 (cloud_print::kClientsKey + product_id).c_str(), in DeleteGoogleUpdateKeys()
Dcloud_print_utils.cc50 void SetGoogleUpdateUsage(const base::string16& product_id) { in SetGoogleUpdateUsage() argument
54 (kClientStateKey + product_id).c_str(), in SetGoogleUpdateUsage()
/external/chromium_org/third_party/libusb/src/libusb/
Dhotplug.c164 if (LIBUSB_HOTPLUG_MATCH_ANY != hotplug_cb->product_id && in usbi_hotplug_match_cb()
165 hotplug_cb->product_id != dev->device_descriptor.idProduct) { in usbi_hotplug_match_cb()
203 int vendor_id, int product_id, int dev_class, in libusb_hotplug_register_callback() argument
217 (LIBUSB_HOTPLUG_MATCH_ANY != product_id && (~0xffff & product_id)) || in libusb_hotplug_register_callback()
232 new_callback->product_id = product_id; in libusb_hotplug_register_callback()
/external/libmtp/examples/
Dhotplug.c126 …dVendor}==\"%04x\", ATTR{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->product_id, action); in main()
131 …x00 0x00 0x00 0x00 0x00 0x00 0x00000000\n", entry->vendor_id, entry->product_id); in main()
136 printf(" <match key=\"usb.product_id\" int=\"0x%04x\">\n", entry->product_id); in main()
172 printf("\t%04x %s %s\n", entry->product_id, entry->vendor, entry->product); in main()
191 …endor}==\"%04x\", ATTRS{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->product_id, action); in main()
/external/chromium_org/device/serial/
Dserial_device_enumerator_linux.cc81 const char* product_id = in GetDevices() local
91 if (product_id && base::HexStringToUInt(product_id, &int_value)) { in GetDevices()
92 info->product_id = int_value; in GetDevices()
/external/chromium_org/device/hid/
Dhid_device_filter.cc26 void HidDeviceFilter::SetProductId(uint16_t product_id) { in SetProductId() argument
28 product_id_ = product_id; in SetProductId()
47 if (product_id_set_ && device_info.product_id != product_id_) { in Matches()
/external/chromium_org/rlz/win/dll/
Dexports.cc86 const char* product_id, in SendFinancialPing() argument
90 product_brand, product_id, product_lang, exclude_machine_id); in SendFinancialPing()
98 const char* product_id, in SendFinancialPingNoDelay() argument
102 product_brand, product_id, product_lang, exclude_machine_id, true); in SendFinancialPingNoDelay()
/external/chromium_org/extensions/browser/api/usb/
Dusb_api.cc289 int product_id) { in PopulateConnectionHandle() argument
293 result.product_id = product_id; in PopulateConnectionHandle()
301 result.product_id = device->product_id(); in PopulateDevice()
448 if (input.product_id) { in CreateDeviceFilter()
449 output->SetProductId(*input.product_id); in CreateDeviceFilter()
465 device->product_id(), in HasDevicePermission()
513 resource->device()->GetDevice()->product_id() != in GetDeviceHandleOrCompleteWithError()
514 input_device_handle.product_id) { in GetDeviceHandleOrCompleteWithError()
589 const uint16_t product_id = parameters_->options.product_id; in AsyncWorkStart() local
593 UsbDevicePermission::CheckParam param(vendor_id, product_id, interface_id); in AsyncWorkStart()
[all …]
/external/chromium_org/device/test/
Dusb_test_gadget_impl.cc54 uint16 product_id; member
207 if (device->vendor_id() == 0x18D1 && device->product_id() == 0x58F0) { in FindUnclaimed()
348 const uint16 product_id = device->product_id(); in FindClaimed() local
351 if (product_id == kConfigurations[i].product_id) { in FindClaimed()
454 if (FindClaimed() && device_->product_id() == config->product_id) { in SetType()
/external/chromium_org/device/usb/
Dusb_device_filter.cc39 void UsbDeviceFilter::SetProductId(uint16 product_id) { in SetProductId() argument
41 product_id_ = product_id; in SetProductId()
65 if (product_id_set_ && device->product_id() != product_id_) { in Matches()
Dusb_ids.cc45 const char* UsbIds::GetProductName(uint16_t vendor_id, uint16_t product_id) { in GetProductName() argument
50 const UsbProduct key = {product_id, NULL}; in GetProductName()
Dusb_device.h31 uint16 product_id() const { return product_id_; } in product_id() function
74 UsbDevice(uint16 vendor_id, uint16 product_id, uint32 unique_id);
Dusb_device_impl.cc107 UsbDevice::UsbDevice(uint16 vendor_id, uint16 product_id, uint32 unique_id) in UsbDevice() argument
108 : vendor_id_(vendor_id), product_id_(product_id), unique_id_(unique_id) { in UsbDevice()
123 uint16 product_id, in UsbDeviceImpl() argument
125 : UsbDevice(vendor_id, product_id, unique_id), in UsbDeviceImpl()
205 product_id(), in RequestUsbAccess()
/external/chromium_org/rlz/lib/
Drlz_lib.h173 const char* product_id,
242 const char* product_id,
252 const char* product_id,
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dfakewebrtcdeviceinfo.h63 char* product_id, in GetDeviceName() argument
71 if (product_id) { in GetDeviceName()
72 rtc::strcpyn(reinterpret_cast<char*>(product_id), product_id_len, in GetDeviceName()
/external/chromium_org/components/feedback/
Dfeedback_common.h71 int32_t product_id() const { return product_id_; } in product_id() function
90 void set_product_id(int32_t product_id) { product_id_ = product_id; } in set_product_id() argument
/external/chromium_org/extensions/browser/api/usb_private/
Dusb_private_api.cc109 device_info.product_id = device->product_id(); in AsyncWorkStart()
117 device_info.product_id); in AsyncWorkStart()
/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_linux.cc147 const char* product_id = udev_device_get_sysattr_value(dev, "id/product"); in RefreshDevice() local
148 mapper = GetGamepadStandardMappingFunction(vendor_id, product_id); in RefreshDevice()
170 strcmp(product_id, usb_product_id) == 0) { in RefreshDevice()
188 product_id); in RefreshDevice()

12345