77a1c65610618891ba28d7a10e4f107ea27e392e |
|
28-Mar-2016 |
Daichi Hirono <hirono@google.com> |
Open 4G+ file by using AppFuse. To open files by using AppFuse, the provider needs to know the size of file. Previously we cannot open 4G+ files because we cannot obtain file size for such large files. Now MtpDatabase contains correct size for 4GB+ file size. The CL starts opening files by using AppFuse which obtains partial bytes by using getObjectPartial64 operation. FIXED=26840097 Change-Id: I1cb41972175c2b98f4aa76981decc6b3ad35486d
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDeviceRecord.java
|
0f32537e40ee2662d4f0b7b625ee280ca9c02066 |
|
21-Feb-2016 |
Daichi Hirono <hirono@google.com> |
Stops performing operations that does not supported by MTP device. MTP devices can return supported operation list. The CL sets root flag by referring it. BUG=26147375 Change-Id: I02397821e208cf5a8fcf7457aa279d2818ce24c7
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDeviceRecord.java
|
ebd24051599280443435606cab220de33b9356ad |
|
06-Feb-2016 |
Daichi Hirono <hirono@google.com> |
Use device key to map device documents. The CL introduces MAPPING_KEY column to the database and lets Mapper use the column to map IDs of devices. It also removes the concept of mapping mode from Mapper for simplyfing. Now Mapper just tries to multiple mapping keys (MTP identifier, display name, and mapping key) to find candidate of ID mapping. BUG=26212981 Change-Id: I19f6c7dac146047e9978de4eb33d5076406037ad (cherry picked from commit 637a2010f4a0c0484b13c4cb87aa2858bdf079b2)
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDeviceRecord.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/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDeviceRecord.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/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDeviceRecord.java
|
20754c5a112e418c11cc88176283db2c4bf2efd6 |
|
15-Dec-2015 |
Daichi Hirono <hirono@google.com> |
Store device document even if the device is not opened. BUG=26197156 Change-Id: I2a80bb3e85310cf63253173b1110a155ee1391ba
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/MtpDeviceRecord.java
|