Home
last modified time | relevance | path

Searched refs:mProductName (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java56 public final String mProductName; field in DeviceFilter
68 mProductName = product; in DeviceFilter()
79 mProductName = device.getProductName(); in DeviceFilter()
158 if (mProductName != null) { in write()
159 serializer.attribute(null, "product-name", mProductName); in write()
177 if (mProductName != null && device.getProductName() == null) return false; in matches()
181 if (mProductName != null && device.getProductName() != null && in matches()
182 !mProductName.equals(device.getProductName())) return false; in matches()
217 if (mProductName != null && !Objects.equals(mProductName, device.mProductName)) { in contains()
250 (filter.mProductName != null && in equals()
[all …]
DUsbDevice.java50 private final @Nullable String mProductName; field in UsbDevice
79 mProductName = productName; in UsbDevice()
110 return mProductName; in getProductName()
281 ",mManufacturerName=" + mManufacturerName + ",mProductName=" + mProductName + in toString()
328 parcel.writeString(mProductName); in writeToParcel()