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()
90 mProductName = filter.mProductName; in DeviceFilter()
169 if (mProductName != null) { in write()
170 serializer.attribute(null, "product-name", mProductName); in write()
188 if (mProductName != null && device.getProductName() == null) return false; in matches()
192 if (mProductName != null && device.getProductName() != null && in matches()
193 !mProductName.equals(device.getProductName())) return false; in matches()
228 if (mProductName != null && !Objects.equals(mProductName, device.mProductName)) { in contains()
[all …]
DUsbDevice.java56 private final @Nullable String mProductName; field in UsbDevice
93 mProductName = productName; in UsbDevice()
135 return mProductName; in getProductName()
331 + ",mManufacturerName=" + mManufacturerName + ",mProductName=" + mProductName in toString()
394 parcel.writeString(mProductName); in writeToParcel()
427 private final @Nullable String mProductName; field in UsbDevice.Builder
453 mProductName = productName; in Builder()
473 mManufacturerName, mProductName, mVersion, mConfigurations, serialReader, in build()