summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpClient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* MTP: Add hard coded support to recognize a couple MTP music players for ↵Mike Lockwood2010-07-261-3/+37
| | | | | | | testing purposes. Change-Id: I2d09d78e83d13cfb3edff02372a6fc34b1e4d8b1 Signed-off-by: Mike Lockwood <lockwood@android.com>
* MTP host fixes:Mike Lockwood2010-07-201-38/+52
| | | | | | | | Add support for detecting android MTP devices Fix problem reading data packet with header sent separately from payload. Change-Id: I07b34af6783ebe2e63a317796ba0c8223df86edf Signed-off-by: Mike Lockwood <lockwood@android.com>
* MTP: Remove race condition in initial device enumeration for host mode.Mike Lockwood2010-07-201-11/+25
| | | | | Change-Id: Iee01aaae3f8cca4234daa289bef6631da4d6c2b6 Signed-off-by: Mike Lockwood <lockwood@android.com>
* MTP: Remove an unnecessary thread from the MtpClient class.Mike Lockwood2010-07-011-17/+50
| | | | | | | Now a single thread is used for passing USB host events up to MtpClient. Change-Id: I0e3a277956cb3d1036da122ea10acb03a27844d6 Signed-off-by: Mike Lockwood <lockwood@android.com>
* MTP: replace printfs with logcatMike Lockwood2010-06-301-5/+4
| | | | | Change-Id: I2c30921098e2dc049dc5fc1e0a548ead33c363e0 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Prototype Content Provider support for MTP/PTP devices.Mike Lockwood2010-06-011-142/+108
| | | | | | | | | | | | At this point much of the plumbing is in place, but only a few simple queries are supported. This is enough to support a proof of concept sample program that navigates the file hierarchy of a digital camera connected via USB. Also removed obsolete ptptest host test program. Change-Id: I17644344b9f0ce1ecc302bc0478c1f3d44a1647f Signed-off-by: Mike Lockwood <lockwood@android.com>
* PTP host: Implement getObjectHandles and getObjectInfo commandsMike Lockwood2010-05-191-1/+36
| | | | | Change-Id: I3ff6e52237f400b4e50c534a1f964c80789bfe98 Signed-off-by: Mike Lockwood <lockwood@android.com>
* More work on PTP host support.Mike Lockwood2010-05-191-16/+44
| | | | | Change-Id: Ifbd5bd5efa3cdb750ae1a2aae38181457554d34d Signed-off-by: Mike Lockwood <mike@spruce.(none)>
* Move MTP code to the android namespaceMike Lockwood2010-05-141-0/+3
| | | | | Change-Id: I5da48038fd5e4cdeefaeba42cdc74eb588b3448d Signed-off-by: Mike Lockwood <lockwood@android.com>
* Checkpoint work on MTP and PTP investigation.Mike Lockwood2010-05-131-0/+136
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>