Home
last modified time | relevance | path

Searched refs:mSubclass (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbInterface.java41 private final int mSubclass; field in UsbInterface
55 mSubclass = subClass; in UsbInterface()
108 return mSubclass; in getInterfaceSubclass()
151 ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString()
190 parcel.writeInt(mSubclass); in writeToParcel()
DUsbDevice.java51 private final int mSubclass; field in UsbDevice
69 mSubclass = subClass; in UsbDevice()
160 return mSubclass; in getDeviceSubclass()
263 ",mClass=" + mClass + ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString()
307 parcel.writeInt(mSubclass); in writeToParcel()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java110 public final int mSubclass; field in UsbSettingsManager.DeviceFilter
125 mSubclass = subclass; in DeviceFilter()
136 mSubclass = device.getDeviceSubclass(); in DeviceFilter()
209 if (mSubclass != -1) { in write()
210 serializer.attribute(null, "subclass", Integer.toString(mSubclass)); in write()
229 (mSubclass == -1 || subclass == mSubclass) && in matches()
275 return matches(f.mClass, f.mSubclass, f.mProtocol); in matches()
282 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
291 filter.mSubclass != mSubclass || in equals()
327 device.getDeviceSubclass() != mSubclass || in equals()
[all …]