Home
last modified time | relevance | path

Searched refs:mProductId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java33 private final int mProductId; field in InputDeviceIdentifier
38 this.mProductId = productId; in InputDeviceIdentifier()
44 mProductId = src.readInt(); in InputDeviceIdentifier()
56 dest.writeInt(mProductId); in writeToParcel()
68 return mProductId; in getProductId()
77 return ((mVendorId == that.mVendorId) && (mProductId == that.mProductId) in equals()
83 return Objects.hash(mDescriptor, mVendorId, mProductId); in hashCode()
DKeyboardLayout.java40 private final int mProductId; field in KeyboardLayout
60 mProductId = pid; in KeyboardLayout()
70 mProductId = source.readInt(); in KeyboardLayout()
125 return mProductId; in getProductId()
141 dest.writeInt(mProductId); in writeToParcel()
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java54 private final int mProductId; field in UsbDevice
74 mProductId = productId; in UsbDevice()
158 return mProductId; in getProductId()
279 ",mVendorId=" + mVendorId + ",mProductId=" + mProductId + in toString()
323 parcel.writeInt(mProductId); in writeToParcel()
/frameworks/base/core/java/android/view/
DInputDevice.java51 private final int mProductId; field in InputDevice
415 mProductId = productId; in InputDevice()
433 mProductId = in.readInt(); in InputDevice()
442 mIdentifier = new InputDeviceIdentifier(mDescriptor, mVendorId, mProductId); in InputDevice()
556 return mProductId; in getProductId()
923 out.writeInt(mProductId); in writeToParcel()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java168 public final int mProductId; field in UsbProfileGroupSettingsManager.DeviceFilter
185 mProductId = pid; in DeviceFilter()
196 mProductId = device.getProductId(); in DeviceFilter()
265 if (mProductId != -1) { in write()
266 serializer.attribute(null, "product-id", Integer.toString(mProductId)); in write()
297 if (mProductId != -1 && device.getProductId() != mProductId) return false; in matches()
334 if (mProductId != -1 && device.mProductId != mProductId) return false; in contains()
354 if (mVendorId == -1 || mProductId == -1 || in equals()
362 filter.mProductId != mProductId || in equals()
398 device.getProductId() != mProductId || in equals()
[all …]