History log of /frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f25c4eb7fdf89e8a012c92c585c988fe1b410b2c 11-Dec-2017 Paul McLean <pmclean@google.com> Adding ability to control how the USB data is dumped.

Also added tracing to android.UsbDevice creation.

Test: Try each dump command with CALYX Pat USB DAC & Dragonfly Red USB DAC

Change-Id: I2ec05dfa9c544d0c50ee59e3b990e9010cbe0aa0
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java
558ff9d3f5f0a70d745b72d1d2d84f4e91850b8b 17-Nov-2017 Paul McLean <pmclean@google.com> Fixed class and subclass IDs sign extension on byte->int problem.

Devices - Skylab, Mir, HTC dongle, Presonus AudioBox 44VSL, HP mouse
Hard coded class ID of 0xFF and subclass 0xFD to match b/68944518 symptoms.

Bug: 68944518

Test: Manual - see above

Change-Id: I7330c57b15278158a2eb449f0463b91244a3e176
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java
9d84fee2eaa54b6e229d165e380c35ccc559de72 17-Nov-2017 Paul Mclean <pmclean@google.com> Revert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism""

This reverts commit 115cd64f168e14401ba3a2062c8cbe9361416802.

Change-Id: I8be17cf939397b3c8ac6b11759b8195f5febab10
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java
115cd64f168e14401ba3a2062c8cbe9361416802 10-Nov-2017 Eric Laurent <elaurent@google.com> Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism"

This reverts commit 513160fd807e43c6a8268cbe279d8398b44acb26.

Bug: 68944518
Bug: 68008691
Bug: 68337205
Test: USB connection to audio device and laptop
Change-Id: If9223aae953581b2f2e3a6b1adf174528aa94132
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java
513160fd807e43c6a8268cbe279d8398b44acb26 19-Oct-2017 Paul McLean <pmclean@google.com> Eliminate native/JNI/callback USB Descriptor parsing mechanism

Also optimized connection mechanism.

Bug: 68008691
Bug: 68337205
Test: Manual
Devices - Skylab, Mir, HTC dongle, Presonus AudioBox 44VSL, HP mouse

Change-Id: I287bcdd251b38d2a5cbd37bca1a80bf7f7b0a265
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java
fd7cb85feff517f3cc94384102933aa4485e1fc5 07-Jul-2017 Paul McLean <pmclean@google.com> Adding USB audio-class 2.0 spec descriptors.

Added USB audio-class 2.0 format type descriptors.
Added Tree parsing.
Rearchitected reporting (again) to better support reuse and scale.

Bug: 64301464

Test: Run code against representative USB audio peripherals and verify
that each correctly handles or ignores all descriptors and the correct
device semantics (headset / not-headset) are still calculated.

Change-Id: I1b3b01ab1cd804ed876bf6427c3afba15eea6a6e
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java
b5eaa809da69865cbde156007ae5363f9209f932 08-Jun-2017 Paul McLean <pmclean@google.com> Adding USB Headset awareness.

Bug: 36220140
Bug: 62043095
Test: Manual
Change-Id: Ic4636e3dc2dfce0154e6405848bea7752cf2d07b
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/UsbEndpointDescriptor.java