summaryrefslogtreecommitdiffstats
path: root/device/usb/usb_device_android.cc
Commit message (Collapse)AuthorAgeFilesLines
* Track USB device configuration state in Blink.reillyg2016-03-151-1/+1
| | | | | | | | | | | | | | | | | Blink now tracks the currently selected device configuration and can thus provide it as an IDL attribute without a getConfiguration() method which has been removed. This continues the trend of being able to handle errors in Blink before calling methods on the Mojo interface. BUG=593164 R=juncai@chromium.org TBR=dgozman@chromium.org Review URL: https://codereview.chromium.org/1784733002 Cr-Commit-Position: refs/heads/master@{#381288}
* Construct USB descriptors over explicit values.reillyg2016-02-121-5/+4
| | | | | | | | | | | | Instead of specifying a bunch of arbitrary defaults and then updating them in the code building the structure. This makes them friendly to use with C++11's emplace_back() method. BUG=None Review URL: https://codereview.chromium.org/1468423003 Cr-Commit-Position: refs/heads/master@{#375081}
* Reland of Implement basic USB device enumeration on Android. (patchset #1 ↵reillyg2016-01-071-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:1 of https://codereview.chromium.org/1561283003/ ) Reason for revert: Lack of GYP dependency on //device/usb Java sources fixed. Original issue's description: > Revert of Implement basic USB device enumeration on Android. (patchset #3 id:40001 of https://codereview.chromium.org/1514603006/ ) > > Reason for revert: > Speculating that this is the cause of issue 575191. > > Original issue's description: > > Implement basic USB device enumeration on Android. > > > > This patch provides a basic implementation of UsbService::GetDevices on > > Android that populates UsbDevice objects by collecting properties of the > > Java-side UsbDevice, UsbConfiguration, UsbInterface and UsbEndpoint > > objects over JNI. > > > > It does not support opening devices and does not generate device add or > > remove notifications. > > > > BUG=549257 > > > > Committed: https://crrev.com/8a310851fb144e91d1777112930ac15c0d88577b > > Cr-Commit-Position: refs/heads/master@{#367918} > > TBR=nasko@chromium.org,qinmin@chromium.org,yfriedman@chromium.org,pfeldman@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=549257,575191 > > Committed: https://crrev.com/e3de6dea8003be39328bea275763daab36a8df24 > Cr-Commit-Position: refs/heads/master@{#368077} TBR=nasko@chromium.org,qinmin@chromium.org,yfriedman@chromium.org,pfeldman@chromium.org BUG=549257,575191 Review URL: https://codereview.chromium.org/1565313002 Cr-Commit-Position: refs/heads/master@{#368169}
* Revert of Implement basic USB device enumeration on Android. (patchset #3 ↵reillyg2016-01-071-107/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:40001 of https://codereview.chromium.org/1514603006/ ) Reason for revert: Speculating that this is the cause of issue 575191. Original issue's description: > Implement basic USB device enumeration on Android. > > This patch provides a basic implementation of UsbService::GetDevices on > Android that populates UsbDevice objects by collecting properties of the > Java-side UsbDevice, UsbConfiguration, UsbInterface and UsbEndpoint > objects over JNI. > > It does not support opening devices and does not generate device add or > remove notifications. > > BUG=549257 > > Committed: https://crrev.com/8a310851fb144e91d1777112930ac15c0d88577b > Cr-Commit-Position: refs/heads/master@{#367918} TBR=nasko@chromium.org,qinmin@chromium.org,yfriedman@chromium.org,pfeldman@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=549257,575191 Review URL: https://codereview.chromium.org/1561283003 Cr-Commit-Position: refs/heads/master@{#368077}
* Implement basic USB device enumeration on Android.reillyg2016-01-061-0/+107
This patch provides a basic implementation of UsbService::GetDevices on Android that populates UsbDevice objects by collecting properties of the Java-side UsbDevice, UsbConfiguration, UsbInterface and UsbEndpoint objects over JNI. It does not support opening devices and does not generate device add or remove notifications. BUG=549257 Review URL: https://codereview.chromium.org/1514603006 Cr-Commit-Position: refs/heads/master@{#367918}