Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DDeviceFilter.java52 public final int mSubclass; field in DeviceFilter
70 mSubclass = subclass; in DeviceFilter()
82 mSubclass = device.getDeviceSubclass(); in DeviceFilter()
94 mSubclass = filter.mSubclass; in DeviceFilter()
170 if (mSubclass != -1) { in write()
171 serializer.attribute(null, "subclass", Integer.toString(mSubclass)); in write()
193 && (mSubclass == -1 || subclass == mSubclass) in matches()
259 return matches(device.mClass, device.mSubclass, device.mProtocol); in contains()
266 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
275 filter.mSubclass != mSubclass || in equals()
[all …]
DUsbInterface.java43 private final int mSubclass; field in UsbInterface
59 mSubclass = subClass; in UsbInterface()
112 return mSubclass; in getInterfaceSubclass()
155 ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString()
194 parcel.writeInt(mSubclass); in writeToParcel()
DUsbDevice.java63 private final int mSubclass; field in UsbDevice
90 mSubclass = subClass; in UsbDevice()
210 return mSubclass; in getDeviceSubclass()
330 + ",mClass=" + mClass + ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol in toString()
391 parcel.writeInt(mSubclass); in writeToParcel()
424 private final int mSubclass; field in UsbDevice.Builder
450 mSubclass = subClass; in Builder()
472 return new UsbDevice(mName, mVendorId, mProductId, mClass, mSubclass, mProtocol, in build()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbACEndpoint.java31 protected final int mSubclass; // from the mSubclass member of the "enclosing" field in UsbACEndpoint
37 mSubclass = subclass; in UsbACEndpoint()
42 return mSubclass; in getSubclass()
DUsbASFormat.java43 public UsbASFormat(int length, byte type, byte subtype, byte formatType, int mSubclass) { in UsbASFormat() argument
44 super(length, type, subtype, mSubclass); in UsbASFormat()
DUsbACInterface.java81 protected final int mSubclass; // from the mSubclass member of the field in UsbACInterface
87 mSubclass = subclass; in UsbACInterface()
95 return mSubclass; in getSubclass()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java757 private Class<? extends Record> mSubclass; field in RawBatteryStats.RecordFactory
763 mSubclass = subclass; in RecordFactory()
780 System.err.println("Creating object: " + mSubclass.getSimpleName()); in create()
782 record = mSubclass.newInstance(); in create()
785 throw new RuntimeException("Exception creating " + mSubclass.getName() in create()
/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/
DDeviceFilterTest.java232 assertThat(deviceFilter.mSubclass).isEqualTo(SUBCLASS); in verifyDeviceFilterConfigurationExceptInterfaceName()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22232 Landroid/hardware/usb/DeviceFilter;->mSubclass:I
22362 Landroid/hardware/usb/UsbDevice;->mSubclass:I
22402 Landroid/hardware/usb/UsbInterface;->mSubclass:I