summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpDevice.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-06-05 22:45:01 -0400
committerMike Lockwood <lockwood@android.com>2010-06-07 09:34:41 -0400
commita6c490b8b2d96ebaab632286029463f932ae3b6b (patch)
tree05f47b431aa13127a4f62d9676d21f45169a7d9f /media/mtp/MtpDevice.h
parent7dfffd78637f99ce396e7ce2008b05b2d5aec131 (diff)
downloadframeworks_av-a6c490b8b2d96ebaab632286029463f932ae3b6b.zip
frameworks_av-a6c490b8b2d96ebaab632286029463f932ae3b6b.tar.gz
frameworks_av-a6c490b8b2d96ebaab632286029463f932ae3b6b.tar.bz2
MTP: host support for retrieving device property descriptors
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpDevice.h')
-rw-r--r--media/mtp/MtpDevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/mtp/MtpDevice.h b/media/mtp/MtpDevice.h
index fe4f1bd..226b247 100644
--- a/media/mtp/MtpDevice.h
+++ b/media/mtp/MtpDevice.h
@@ -36,6 +36,7 @@ private:
struct usb_endpoint* mEndpointOut;
struct usb_endpoint* mEndpointIntr;
MtpDeviceInfo* mDeviceInfo;
+ MtpPropertyList mDeviceProperties;
// a unique ID for the device
int mID;
@@ -70,6 +71,8 @@ public:
MtpObjectHandleList* getObjectHandles(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent);
MtpObjectInfo* getObjectInfo(MtpObjectHandle handle);
+ MtpProperty* getDevicePropDesc(MtpDeviceProperty code);
+
private:
bool sendRequest(MtpOperationCode operation);
bool sendData(MtpOperationCode operation);