History log of /frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d50308c7fd2a40dfdeeecdacd44b6ae6d28aafb 31-Oct-2014 Mike Lockwood <lockwood@google.com> Fix USB audio disconnect logic

Previously, disconnecting any USB device would terminate USB audio playback.

Also moved USB audio support to a separate class and did some prep work for
multiple USB audio device support.

Bug: 18203024
Change-Id: I49822c2c47428e658c853b2ec83c7313e626a1cb
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
c5258433dd353769ccfa2e5e769a7379378a3a0b 28-Aug-2014 Jean-Michel Trivi <jmtrivi@google.com> Move *_AUDIO_PLUG actions from Intent to android.media.AudioManager

For ACTION_HEADSET_PLUG (already in SDK):
- duplicated definition in AudioManager and moved
javadoc there. Javadoc in Intent points to AudioManager.
- the String value is not changed

For ACTION_HDMI_AUDIO_PLUG (being added in SDK):
- moved defintion from Intent to AudioManager
- updated String value to reflect package name "android.media"
instead of using "android.intent"
- added definition of the extras, but removed "name".

For ACTION_ANALOG_AUDIO_DOCK_PLUG,
ACTION_DIGITAL_AUDIO_DOCK_PLUG,
ACTION_USB_AUDIO_ACCESSORY_PLUG,
ACTION_USB_AUDIO_DEVICE_PLUG, all hidden:
- moved definition from Intent to AudioManager,
- changed the value from "android.intent.*" to "android.media.*"

Updated AudioService, UsbDeviceManager and UsbHostManager
to refer to the actions in AudioManager, not Intent.

Bug 17289385

Change-Id: I61dd73140022d2bb9a676a57f595092c8fa89dcc
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
c7f084f61c3ad24acb35cde1854808285216d3de 14-Aug-2014 Paul McLean <pmclean@google.com> Fix ALSA initialized wait for input-only USB Audio devices

Bug 17012266

Change-Id: I09427bb924f895bf66af9ef7ad4f0882746d03c4
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
65a30ab519580deed21d206e66f456fc2c706fbe 15-May-2014 Paul McLean <pmclean@google.com> Changed namespace of AlsaParser (and components) to correctly reflect their place
in the directory hierarchy.

Change-Id: I33a5a34a31d5811cfb5167843dc185ba94d236fd
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
df3614693dd4fe52a116dcd28bd74eae80818a4f 11-Apr-2014 Paul McLean <pmclean@google.com> Implement USB Audio across Nexus Devices
Fix issues with connecting non-audio USB devices.

https://b.corp.google.com/issue?id=13745966
https://b.corp.google.com/issue?id=8281454
https://b.corp.google.com/issue?id=13751080
https://b.corp.google.com/issue?id=4643412

Change-Id: I1186f69a6c5f50279a1225a77fb5d4f7a8eda3cb
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
c837a451946b64d70ed7c642fbde03c182c28b6f 09-Apr-2014 Paul McLean <pmclean@google.com> Revert "Revert "Initial implementation of USB Audio output.""

This reverts commit f2f80c09b668176b3b1e619457ae628432636507.
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
f2f80c09b668176b3b1e619457ae628432636507 08-Apr-2014 Eric Laurent <elaurent@google.com> Revert "Initial implementation of USB Audio output."

This reverts commit 3af0fe0c9df2fc1e0a4d6bcd827a4d7aa28dbdeb
while investigating issues 13751080 and 13883978.

Bug: 13751080.
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
3af0fe0c9df2fc1e0a4d6bcd827a4d7aa28dbdeb 02-Dec-2013 Paul McLean <pmclean@google.com> Initial implementation of USB Audio output.

Change-Id: I7fbbe421285d628fa49591c6469ac50efec77ccf
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
7531aa22355cf03f51def61ba67f1636bf85f408 13-Jan-2014 Mike Lockwood <lockwood@google.com> Add support for USB devices with multiple configurations and alternate interfaces

Added UsbConfiguration class, as well as accessors to UsbDevice to get configuration list
Added methods to UsbDeviceConnection to select configurations and alternate interfaces.

Also added accessors for USB descriptor name strings and fixed some memory leaks in the JNI code.

Bug: 12425052
Change-Id: Idb990f4d5c054a8cb997eb3f440f6da9f83bce05
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java
2cb6c60c0d2de3bc743c043aca963db6fe52662f 15-Feb-2014 Adam Lesinski <adamlesinski@google.com> Make UsbService optional

Tweaked the services Android.mk to build dependencies
when building with mm[m].

Change-Id: I6dad511c652bcacc085f27ede5f8f22a6982c6bd
/frameworks/base/services/usb/java/com/android/server/usb/UsbHostManager.java