Home
last modified time | relevance | path

Searched refs:productId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c88 uint16_t vendorId, productId; in usb_device_added() local
99 productId = usb_device_get_product_id(device); in usb_device_added()
102 if (!sDevice && (productId == 0x2D00 || productId == 0x2D01)) { in usb_device_added()
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java73 private UsbDevice(@NonNull String name, int vendorId, int productId, int Class, int subClass, in UsbDevice() argument
79 mProductId = productId; in UsbDevice()
308 int productId = in.readInt();
319 UsbDevice device = new UsbDevice(name, vendorId, productId, clasz, subClass, protocol,
378 public Builder(@NonNull String name, int vendorId, int productId, int Class, int subClass, in Builder() argument
384 mProductId = productId; in Builder()
DDeviceFilter.java86 int productId = -1; in read() local
123 productId = intValue; in read()
133 return new DeviceFilter(vendorId, productId, in read()
/frameworks/base/libs/usb/tests/accessorytest/
Dusb.c87 uint16_t vendorId, productId; in usb_device_added() local
98 productId = usb_device_get_product_id(device); in usb_device_added()
100 if (!current_device && vendorId == 0x18D1 && productId >= 0x2D00 && productId <= 0x2D05) { in usb_device_added()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java35 public InputDeviceIdentifier(String descriptor, int vendorId, int productId) { in InputDeviceIdentifier() argument
38 this.mProductId = productId; in InputDeviceIdentifier()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp52 int32_t productId; member
126 const char* name, int32_t productId, int32_t vendorId, in createDeviceIdentifier() argument
133 .productId = productId, in createDeviceIdentifier()
217 idi.product = id->productId; in inputGetDevicePropertyMap()
DInputDriver.h44 const char* name, int32_t productId, int32_t vendorId,
91 const char* name, int32_t productId, int32_t vendorId,
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java84 BlackListEntry(int vendorId, int productId, int flags) { in BlackListEntry() argument
86 mProductId = productId; in BlackListEntry()
99 private static boolean isDeviceBlacklisted(int vendorId, int productId, int flags) { in isDeviceBlacklisted() argument
101 if (entry.mVendorId == vendorId && entry.mProductId == productId) { in isDeviceBlacklisted()
/frameworks/base/core/java/android/view/
DInputDevice.java413 int productId, String descriptor, boolean isExternal, int sources, int keyboardType, in InputDevice() argument
421 mProductId = productId; in InputDevice()
430 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()