summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpDataPacket.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-07-03 00:44:05 -0400
committerMike Lockwood <lockwood@android.com>2010-07-08 16:21:09 -0400
commit1865a5ddcfe7b0e8dc211419aea1094b1491a5fd (patch)
tree7d5cf198bb5802a4e6faf0f58bccf1ddecd62ce7 /media/mtp/MtpDataPacket.h
parentdda7e2b7378755637f188cca7c5ae854427a28f7 (diff)
downloadframeworks_av-1865a5ddcfe7b0e8dc211419aea1094b1491a5fd.zip
frameworks_av-1865a5ddcfe7b0e8dc211419aea1094b1491a5fd.tar.gz
frameworks_av-1865a5ddcfe7b0e8dc211419aea1094b1491a5fd.tar.bz2
MTP: Use media provider database to implement MTP device support.
Uses a new "MTP objects" table in the media provider to support basic enumeration of the external storage file system. Support for accessing audio, video and image metadata in the existing media provider tables will be added in a later commit. The C++ MtpDatabase class is now abstract, to support a proxy subclass that calls through JNI to the Java MtpDatabase class in the media provider. Change-Id: I90f0db5f3acc5d35ae78c27a8507edff16d14305 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpDataPacket.h')
-rw-r--r--media/mtp/MtpDataPacket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/mtp/MtpDataPacket.h b/media/mtp/MtpDataPacket.h
index 146ef64..759c0f9 100644
--- a/media/mtp/MtpDataPacket.h
+++ b/media/mtp/MtpDataPacket.h
@@ -79,6 +79,7 @@ public:
void putAUInt64(const uint64_t* values, int count);
void putString(const MtpStringBuffer& string);
void putString(const char* string);
+ void putString(const uint16_t* string);
inline void putEmptyString() { putUInt16(0); }
inline void putEmptyArray() { putUInt32(0); }