Home
last modified time | relevance | path

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

12

/external/libusb/libusb/
Dhotplug.c167 hotplug_cb->product_id != dev->device_descriptor.idProduct) { in usbi_hotplug_match_cb()
233 int vendor_id, int product_id, int dev_class, in libusb_hotplug_register_callback() argument
243 (LIBUSB_HOTPLUG_MATCH_ANY != product_id && (~0xffff & product_id)) || in libusb_hotplug_register_callback()
266 if (LIBUSB_HOTPLUG_MATCH_ANY != product_id) { in libusb_hotplug_register_callback()
268 new_callback->product_id = (uint16_t)product_id; in libusb_hotplug_register_callback()
Dhotplug.h64 uint16_t product_id; member
/external/libusb/examples/
Dhotplugtest.c83 int product_id, vendor_id, class_id; in main() local
87 product_id = (argc > 2) ? (int)strtol (argv[2], NULL, 0) : 0x5005; in main()
104 product_id, class_id, hotplug_callback, NULL, &hp[0]); in main()
112 product_id,class_id, hotplug_callback_detach, NULL, &hp[1]); in main()
/external/avb/libavb_atx/
Davb_atx_validate.c143 const uint8_t product_id[AVB_ATX_PRODUCT_ID_SIZE]) { in verify_psk_certificate()
153 sha256(product_id, AVB_ATX_PRODUCT_ID_SIZE, expected_subject); in verify_psk_certificate()
168 const uint8_t product_id[AVB_ATX_PRODUCT_ID_SIZE]) { in verify_puk_certificate()
178 sha256(product_id, AVB_ATX_PRODUCT_ID_SIZE, expected_subject); in verify_puk_certificate()
258 permanent_attributes.product_id)) { in avb_atx_validate_vbmeta_public_key()
308 sha256(permanent_attributes.product_id, in avb_atx_generate_unlock_challenge()
381 permanent_attributes.product_id)) { in avb_atx_validate_unlock_credential()
Davb_atx_types.h52 uint8_t product_id[AVB_ATX_PRODUCT_ID_SIZE]; member
/external/mesa3d/src/panfrost/bifrost/
Dbi_quirks.h44 bifrost_get_quirks(unsigned product_id) in bifrost_get_quirks() argument
46 switch (product_id >> 12) { in bifrost_get_quirks()
/external/adhd/cras/src/server/config/
Dcras_device_blocklist.c44 unsigned vendor_id, unsigned product_id, in cras_device_blocklist_check() argument
53 vendor_id, product_id, desc_checksum, device_index); in cras_device_blocklist_check()
Dcras_device_blocklist.h45 unsigned vendor_id, unsigned product_id,
/external/autotest/client/site_tests/display_DisplayContainEdid/
Ddisplay_DisplayContainEdid.py35 no_product = edid.product_id == None
42 edid.product_id))
/external/autotest/client/common_lib/cros/cfm/usb/
Dusb_device_collector_unittest.py55 self.assertEqual(foo_device.product_id, 'aaaa')
64 self.assertEqual(bar_device.product_id, '9f9f')
Dusb_device_spec_unittest.py21 self.assertEqual(self._spec.product_id, 'pid')
Dusb_device_spec.py39 def product_id(self): member in UsbDeviceSpec
Dusb_device_unittest.py25 self.assertEqual(self._usb_device.product_id, 'pid')
Dusb_device.py48 def product_id(self): member in UsbDevice
/external/crosvm/libcrosvm_control/src/
Dlib.rs99 product_id: u16, field
107 product_id: other.product_id, in from()
/external/libcups/backend/
Dusb-libusb.c109 product_id; /* Affected product ID or 0 for all */ member
132 static unsigned find_quirks(int vendor_id, int product_id);
780 result = b->product_id - a->product_id; in compare_quirks()
1018 int product_id) /* I - Product ID */ in find_quirks() argument
1025 key.product_id = product_id; in find_quirks()
1030 key.product_id = 0; in find_quirks()
1203 if (sscanf(line, "%x%x", &quirk->vendor_id, &quirk->product_id) < 1) in load_quirks()
/external/libusb/include/libusb/
Dhotplug.h64 uint16_t product_id; member
/external/autotest/client/common_lib/cros/network/
Dinterface.py250 product_id = read_file(os.path.join(device_path, 'device'))
264 info = DeviceInfo(vendor_id, product_id, subsystem=subsystem_id)
270 info = DeviceInfo(vendor_id, product_id)
/external/autotest/client/cros/multimedia/
Ddisplay_info.py46 self.product_id = edid['productId']
/external/crosvm/devices/src/usb/host_backend/
Dhost_backend_device_provider.rs242 Some((vendor_id, product_id)) => {
246 product_id,
/external/avb/test/
Davb_atx_generate_test_data73 --product_id=atx_product_id.bin --root_authority_key=testkey_atx_prk.pem
/external/autotest/server/cros/cfm/configurable_test/
Dactions_unittest.py87 [spec], lambda x: x[0].product_id == 'p')
98 [spec], lambda x: x[0].product_id == 'r')
/external/libbrillo/policy/
Ddevice_policy.h37 uint16_t product_id; member
/external/cros/system_api/dbus/
Dmtp_storage_info.proto25 optional uint32 product_id = 5; field
/external/libbrillo/policy/tests/
Dlibpolicy_test.cc170 EXPECT_EQ(0x2105, list_device[0].product_id); in TEST()
172 EXPECT_EQ(0x6001, list_device[1].product_id); in TEST()

12