399df701a16704b002475300a535683005d7af8b |
|
13-Apr-2016 |
Daichi Hirono <hirono@google.com> |
Handle API review comments from the council. * MtpEvent: Remove public constructor since properties cannot be set directly. * MtpEvent: Move event constants from MtpConstants to MtpEvent class. * getPartialObject64: the byte[] must have indices of Integer.MAX_VALUE at most. Document as such. * sendObjectInfo: what happens if the transfer doesn’t succeed? How is the app notified? If there is a reason for the failure communicated, how does the app find this out? Add docs. * Add isOperationSupported(int) and isEventSupported(int) helpers. Change-Id: Ifd80016d2ddd3b66d5c45f6da76b6133f0c9a617 Fixes: 28146379
/frameworks/base/media/java/android/mtp/MtpDeviceInfo.java
|
148954a657941ea95ef17da5b3ce40b9145f8755 |
|
21-Jan-2016 |
Daichi Hirono <hirono@google.com> |
Add eventsSupported property to MtpDeviceInfo. The property provides the set of event code that are supported by MtpDevice. BUG=26147375 Change-Id: I54be75e4bb52ddfe9aba8630538ddd32d1a641c8
/frameworks/base/media/java/android/mtp/MtpDeviceInfo.java
|
1d4779c29a95114c89ec353a8899c0cc8eee3ba5 |
|
06-Jan-2016 |
Daichi Hirono <hirono@google.com> |
Add operationsSupported to device info. Because not all MTP devices support getPartialObject, we need to check supported operation of MTP devices. The CL adds operationsSupported field to MtpDeviceInfo class. BUG=26147375 Change-Id: Iaad968fb4497a5ad11bf6489097abea99c3cbac7
/frameworks/base/media/java/android/mtp/MtpDeviceInfo.java
|
540380fb0a45b12af3970f9ea1ed041607451f46 |
|
10-Feb-2011 |
Mike Lockwood <lockwood@android.com> |
Add MTP/PTP host support to the public API Needed for unbundling the Gallery app Change-Id: I57e6b76ee5c9e57cb8c055329ac13251879baafd Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/media/java/android/mtp/MtpDeviceInfo.java
|
8182e72479a8b0d832df9c392890b25bfa6f97b5 |
|
30-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
New APIs for MTP and PTP host support This replaces the previous ContentProvider based interface Change-Id: I4cea2544854adb9fdcc04345e4d73d8ef05380f3 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/media/java/android/mtp/MtpDeviceInfo.java
|