8ec71590ccfa122a4e9908cf3ebe6bd33482d0dd |
|
29-Aug-2017 |
Jerry Zhang <zhangjerry@google.com> |
Merge "Switch MtpFfsHandle to aio, add control functions." am: 82651d413e am: 68ce743ef9 am: 347894fe75 Change-Id: I8b9700a6eafe3f959cf00c48aa12f6ea11bd5fe7
|
df69dd33b4d8a2f9926b5eaccbf53ee7f67475c2 |
|
04-May-2017 |
Jerry Zhang <zhangjerry@google.com> |
Switch MtpFfsHandle to aio, add control functions. MtpFfsHandle now uses kaio to handle usb data. This achieves better performance without using the endpoint alloc ioctl. This also allows ep0 events to be handled without race conditions. Events will also include control requests, which will allow both host and device initiated cancellation. Bug: 37916658 Bug: 36802721 Test: Transfer various size files, run MtpFfsHandleTest Test: Cancel transfer on Windows Test: Allow device to cancel transfer on Windows Change-Id: Ib3ce996f00782ce7f68f29b2510dbc17f09fdf14
/frameworks/av/media/mtp/mtp.h
|
e67106418d7025ba28b90d8d32ceb2674ad043f1 |
|
15-Aug-2017 |
Chong Zhang <chz@google.com> |
heif: add new format type bug: 64077740 Change-Id: I3329b911fde9fecd1c0f91a931d7883685e74c13
/frameworks/av/media/mtp/mtp.h
|
fd86bc29d0bd59620e3c115e3b7426a163016a89 |
|
23-Dec-2015 |
Jaesung Chung <jaesung@google.com> |
Add DNG format in MTP Bug: 25871812 Change-Id: I141d97cb8866edcaa7cab7fe04721e4386832d2b
/frameworks/av/media/mtp/mtp.h
|
4fd9a8b9865addfedbcd84d5c9efea0f647086a0 |
|
20-Aug-2015 |
Daichi Hirono <hirono@google.com> |
Use common implementation for getObject and importFile. Previously the two functions have separate but similar implementation. ag/750097 fixed a bug in importFile, but we have a same bug in getObject. Instead fixing the bug separately, the CL adds a common function that can be used from both getObject and importFile. BUG=23264575 Change-Id: I0bdc876ee9b11301ba4c445cc16556e9c951a8b4
/frameworks/av/media/mtp/mtp.h
|
7d77dcfadd7fb637ed2c3aef5bb3990dd0a67dc0 |
|
22-Apr-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Add extended operations to support in-place editing of files MTP does not support partial writes of files (the entire file must be transferred at once). This makes it impossible to implement a FUSE file system for MTP with acceptable performance. To fix this problem, this change adds extended MTP operations to allow partial writes to files: SendPartialObject - allows writing a subset of a file, or appending to the end of a file TruncateObject - allows changing the size of a file BeginEditObject - must be called before using SendPartialObject and TruncateObject EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject We also add GetPartialObject64, which is the same as GetPartialObject but has a 64 bit offset rather than 32. Change-Id: I4b110748b97ae05cdc8aab02ecdbbbeb263f7840 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/mtp.h
|
30adaaf9d6fd944c8f6a2c7a06774b019878c368 |
|
05-Apr-2011 |
Mike Lockwood <lockwood@android.com> |
MTP and media provider support for multiple storage devices: - MTP support for multiple storage units - Add storage_id column to media database for MTP storage ID - Add framework resource for defining mount points and user visible descriptions for multiple volumes - Clean up locking in MtpServer JNI code Change-Id: Iffb66ed156ef5bc80b14228af78fbacee7734360
/frameworks/av/media/mtp/mtp.h
|
a849440ca96e93f700d62c6e41d48905b4d405b6 |
|
18-Feb-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Add support for dynamically adding and removing storage units BUG: 3402847 Change-Id: I7da266061d949abcb6bb11c6faaa47b5e4a2a977
/frameworks/av/media/mtp/mtp.h
|
b6da06e9dfb916da4b88e09e8a83e22ddae445b5 |
|
15-Oct-2010 |
Mike Lockwood <lockwood@google.com> |
MTP: Partial implementation of the GetObjectPropList command In this initial implementation we only support fetching one property at a time. Support depth = 0 (single object) or depth = 1 (all objects in a directory) Reimplemented GetObjectPropValue on top of GetObjectPropList, since the former is a special case of the latter. Change-Id: Ia76ee61741d6ee3902b5c5d9fc094cf86dfaf650 Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/av/media/mtp/mtp.h
|
f83caa2ef9574652b5f43c637a7899a3cbf95aa1 |
|
09-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Fix some typos Change-Id: Ib31708c3a925e3c0ab8eea6922ab09e02b740936 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/mtp.h
|
6a2736ba7bc19947a6c0bff4dca50595baa78b37 |
|
08-Jun-2010 |
Kenny Root <kroot@google.com> |
Include stdlib to fix sim build Change-Id: I7732461a9351f53f9ddadcfb26485f2e553e056b
/frameworks/av/media/mtp/mtp.h
|
e13401bf532c7e4bf9ab82c7e9b13642838a927d |
|
19-May-2010 |
Mike Lockwood <lockwood@android.com> |
PTP host: Implement getObjectHandles and getObjectInfo commands Change-Id: I3ff6e52237f400b4e50c534a1f964c80789bfe98 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/mtp.h
|
335dd2be955607f2632eabc25045857f2cc8b674 |
|
19-May-2010 |
Mike Lockwood <mike@spruce.(none)> |
More work on PTP host support. Change-Id: Ifbd5bd5efa3cdb750ae1a2aae38181457554d34d Signed-off-by: Mike Lockwood <mike@spruce.(none)>
/frameworks/av/media/mtp/mtp.h
|
fceef46513db3507b413f604cea89e3c7f352663 |
|
14-May-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: More prototyping work: New media scanner test program Media scanner now cleans up after files that no longer exist Separate database table for audio files Extract metadata from audio files with libstagefright Change-Id: I2bd0fe877836c741658e72fcfeb89c11be0d9b41 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/mtp.h
|
16864bae0f51c32c456da2c43adf7a057c0c4882 |
|
11-May-2010 |
Mike Lockwood <lockwood@android.com> |
Checkpoint work on MTP and PTP investigation. This change includes work in progress on a C++ library for both host and device MTP and PTP support. Currently the makefile builds two test programs: mtptest - a command line test program that implements a small subset of device side MTP. Requires a kernel driver that has not been checked in yet. ptptest - a host tool to test USB host support for detecting and communicating with digital cameras over PTP. Runs on Linux host. Later this will be reformulated as a native library that will be used in the media process. Change-Id: I81aab279975b600b59d99013ab97f9adf0b58da7 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/mtp.h
|