From 5ed68d29a140e14c8d46980fa844548eb33b1e87 Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Tue, 25 May 2010 19:08:48 -0400 Subject: Prototype Content Provider support for MTP/PTP devices. 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 --- media/mtp/MtpTypes.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'media/mtp/MtpTypes.h') diff --git a/media/mtp/MtpTypes.h b/media/mtp/MtpTypes.h index 3ec844f..e3389c0 100644 --- a/media/mtp/MtpTypes.h +++ b/media/mtp/MtpTypes.h @@ -52,17 +52,19 @@ typedef uint32_t MtpObjectHandle; #define kObjectHandleIndexMask 0x0FFFFFFF // mask for object index in file table class MtpStorage; +class MtpDevice; -typedef android::Vector MtpStorageList; +typedef Vector MtpStorageList; +typedef Vector MtpDeviceList; -typedef android::Vector UInt8List; -typedef android::Vector UInt16List; -typedef android::Vector UInt32List; -typedef android::Vector UInt64List; -typedef android::Vector Int8List; -typedef android::Vector Int16List; -typedef android::Vector Int32List; -typedef android::Vector Int64List; +typedef Vector UInt8List; +typedef Vector UInt16List; +typedef Vector UInt32List; +typedef Vector UInt64List; +typedef Vector Int8List; +typedef Vector Int16List; +typedef Vector Int32List; +typedef Vector Int64List; typedef UInt16List MtpDevicePropertyList; typedef UInt16List MtpObjectFormatList; @@ -70,7 +72,7 @@ typedef UInt32List MtpObjectHandleList; typedef UInt16List MtpObjectPropertyList; typedef UInt32List MtpStorageIDList; -typedef android::String8 MtpString; +typedef String8 MtpString; }; // namespace android -- cgit v1.1