af8e8aa1ada2948972555592570ec9ad90cbf372 |
|
26-Jun-2012 |
Nick Kralevich <nnk@google.com> |
Add mode when open(O_CREAT) is used. When creating a new file using open(..., O_CREAT), it is an error to fail to specify a creation mode. If a mode is not specified, a random stack provided value is used as the "mode". This will become a compile error in a future Android change. Change-Id: I36a3d67d294a915c1f79632a1b0ba45edd1214b1
/frameworks/av/media/mtp/MtpServer.cpp
|
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/av/media/mtp/MtpServer.cpp
|
b8a805261bf0282e992d3608035e47d05a898710 |
|
20-Dec-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
/frameworks/av/media/mtp/MtpServer.cpp
|
a9a46c1f53129be8fe1f3f0a6ea868d7b4c8f8f7 |
|
01-Dec-2011 |
Mike Lockwood <lockwood@google.com> |
MTP: Add support for restricting PTP to only certain subdirectories of the storage Bug: 5527220 Change-Id: If68e7481617ecb62abd24e2d89e6b7dfdf95ba2b Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
3856b090cd04ba5dd4a59a12430ed724d5995909 |
|
20-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/av/media/mtp/MtpServer.cpp
|
0cc79c66329b9ffa7d7bdfafa5d245a11fd3660d |
|
13-Oct-2011 |
Mike Lockwood <lockwood@android.com> |
MtpServer: Pass 0xFFFFFFFF for file size when receiving files >= 4GB in size Bug: 5432487 Change-Id: Ie86e72d9d85476941eab6a9d271948b8fdde6926 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
ef441d965504dbf31c5db690e5b34fcdcecd92ff |
|
15-Jul-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Use a single packet for the data phase instead of sending 12 byte header in a separate packet. PTP on the Mac is much happier with this approach. Change-Id: I7d1ca498f6346afd88876d24332187b466fc469c Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
dec7388c3edf09eaaccaaf57f6301e716319a34d |
|
11-Jul-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Clean up MtpServer initialization and threading: Move thread from native to Java code Remove the stop() method (the thread will exit on its own) Change-Id: Ib897c3630162f82669a4ee8c187e8172da50b29d
/frameworks/av/media/mtp/MtpServer.cpp
|
9b88b72ee2c3fd01fb46e77b7e6d80f3bd52e958 |
|
11-Jul-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system Bug: 4561836 Change-Id: I2bffb93b032038f6c220c24c752ccd7ca66c23a0 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
3d1d7767afc7c488197ec40a22739159c5110721 |
|
21-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Add support for PTP variant of GetDeviceInfo result. Change-Id: I09f86fda768b7697665e401adb9516588859bf59 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
dc3185e3e27b05e18c4ac34432a25a0c279ff351 |
|
17-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Fix some problems with GetObjectHandles and GetNumObjects commands These calls did not correctly handle some variants of the arguments, which showed up when running in PTP mode. Change-Id: Iedbaefebfa39111c8bcaee7c6cc3820a65d6c98f Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
64000788211f4c7e78c80a4a155390d1316e1176 |
|
25-Apr-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Implement GetThumb command This allows the PC to access thumbnails in JPEG files over MTP/PTP Bug: 3219495 Change-Id: I4964f8b4826dffb7f0f77464ec91bd2e97a2f007 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
c3f16e5620c090aeb75c0836572a8b913a4ef864 |
|
25-Apr-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Fix file descriptor leak in file editing extensions Change-Id: I6d0de5efe705d8060bbfd526c6880dc995a3aa30 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
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/MtpServer.cpp
|
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/MtpServer.cpp
|
8d08c5aeee05425357b6603a22fa73fd6e095a47 |
|
31-Jan-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Use ro.product.manufacturer system property value for MTP manufacturer name Previously it was hard coded to "Google, Inc." BUG: 3405965 Change-Id: I5f962d474814c22e990c39b501c0f01da9e8dc6d Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
59d6ae5e339547fea8a350c1d855b52d5ac4f62c |
|
22-Jan-2011 |
Mike Lockwood <lockwood@android.com> |
Remove MTP related log spam Change-Id: I9de1792cbeec07fa5ab42ff9a10813f0c3d30fc1 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
aa95240d9096f97aa2e2022fae8764a4386c8951 |
|
18-Jan-2011 |
Mike Lockwood <lockwood@android.com> |
MTP: Fix problems with modification dates for folders and non-media files Also removed an unnecessary parameter to MtpDatabase.endSendobject() BUG: 3352142 Change-Id: I6fd812dcba4814956bc8bc1cbd6bd5c868197790 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
feafefb1ed8d86100161f521fc7a44b819bd9529 |
|
14-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: check for replacing existing files via the database instead of the file system Change-Id: I283dab48f24d2836e48fab8e49764a9cdf13de55 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
20c3be0e0394e1340c036685eb1edb8f6ef5a2ac |
|
12-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add support for reserve storage setting to avoid low storage situations. Set resource config_mtpReserveSpaceMegabytes to number of megabytes to reserve. If MTP has dedicated storage this value should be zero, but if MTP is sharing storage with the rest of the system, set this to a positive value to ensure that MTP activity does not result in the storage being too close to full. BUG: 3250924 Change-Id: I881c87240da268bad1ea1b99ad03673ab85ffdbf Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
fd34626771a63d3a835863e1b4bf71dcb26e28d8 |
|
09-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Improve argument checking in SendObjectInfo In particular, make sure the parent is a folder and make sure file does not already exist. Change-Id: Ifa870faba3285f03a92025d9e82f93fed78a761c Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
2e09e289b7e136481e9215bb61ed47cee5d9919b |
|
07-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Use correct return type for getSupportedObjectProperties Change-Id: I6d5bd63fecaa3384dfa1b97dbc0d89ea5668981f Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
40ce1f262cc4edbc8b7c470830325466263acaec |
|
02-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add support for multiple properties in GetObjectPropList command Change-Id: Ib469a6c8141937aaa3e811345056195117abb4b2 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
f05ff073495b0bb3e49859aee5b54d3e25088985 |
|
24-Nov-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Fix typo in MtpServer::doGetObjectPropList Change-Id: Ia5fec45a238c49a6797a4ac55457ddb5d6521408 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
d81ce3cf2e6479915658a0829eced062e3655320 |
|
23-Nov-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Implement GetPartialObject command Allows host to read partial contents of files on the device Change-Id: I74927f7394224d674e1d150a4b72a51d9358459b Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
e1b8cf1cafb75ce1339b67eb1764e224a257c579 |
|
16-Nov-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Fixes to allow file transfers > 4 gigabytes BUG: 3198248 Change-Id: I6f11c79a19d7bdd63718a7370939124b1262d221 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
f5b2ff2a636d1a98e959553376ebffa3a2749843 |
|
17-Nov-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Set correct format for abstract audio playlists Fixes a bad interaction with the media scanner that could result in playlists getting duplicated or deleted after rebooting. BUG: 3175649 Change-Id: I970234e86b24ac17d069aca085683d988abc7881 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
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/MtpServer.cpp
|
7ce05cf6009a2fbbceb3d2c0ff639473d0b7d6a9 |
|
11-Nov-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add missing call to closedir() in recursive delete code BUG: 3185660 Change-Id: I3744d2cb193829d20a689af2aea50e8516779631 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
23d2071ab44d7b5e3b16e8a81e11884faf01092f |
|
11-Oct-2010 |
Mike Lockwood <lockwood@google.com> |
MTP: Include size of 12 byte header in packet size for GetObject data packet Fixes file transfer from device to host with libmtp. Change-Id: Ifb304c1f106e94b2710ee5c11816b83cf5f25478 Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
677f5700c5ea35256079ef14e06b7382e438d860 |
|
24-Sep-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Reenable GetObjectPropValue and SetObjectPropValue Windows no longer chokes now that we implement the minimum set of properties BUG: 2869730 Change-Id: Ie8bd9107610b9b38f060ad8a2f05334a3b4aff9b Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
a881b44cc7e18bdfa03251bc65b7d0903a1b1efc |
|
24-Sep-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Minor debug output cleanup Change-Id: I1065179aa64f43c7d8067ccda249319a016840ab Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
d32114950770a6e9361e0869a41e5a03a7acab42 |
|
13-Sep-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Delete all files and subdirectories when deleting directories. Children are now recursively deleted from the database and filesystem. Change-Id: Ifd9b48cbc34b84b8f5073f2493dfe9735fae5492 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
e3e76c456baee122de6715ae280130abaddc906c |
|
02-Sep-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Implement support for getting/setting device properties Added support for the "device friendly name" and "synchonization partner" properties, which are required by Microsoft. Change-Id: Ic0443333d75f7d98a2d902a790b9d505a56d4eef Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
6b3a9d15c8a2282c03f1df7d72a55b6800d4ecec |
|
31-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Send an Intent after an MTP session that resulted in media database modifications Change-Id: Ib2796e9155350c67769502935a73cf98d6ae9c08 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
8277cec96ffa55082962591bca1c55abbeec8c26 |
|
10-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: work in progress on expanded property support GetObjectPropValue and SetObjectPropValue are disabled until I figure out why Windows doesn't like what I have done. Change-Id: I74e945ef3ea031f6d46f4ebaa8df815da0a5c3ed Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
bf9b2052d207f8f2a23470f1c4dfe464f430f387 |
|
10-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Fix wrong delete operator from previous change. Change-Id: I64e8fdc610495f21060727b6bed42d1584833405 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
782aef17c9921a3bf401a0432878df5031f2328b |
|
10-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Push queries for supported formats and properties up to Java. Change-Id: I4f117090340e3916afda3d194521a6092a672ddc Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
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/MtpServer.cpp
|
438344fba74ddd6b931ac733fa48643f27b63de3 |
|
03-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add support for syncing MTP playlists MTP playlists now correspond to playlists in the media provider (like those created by the Music app). Change-Id: I085cb3cff003037ad62f0e297fb0cfd3047cb3a2 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
343af4ef512869695456a91519e73ed3c3d82101 |
|
02-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Implement GetNumObjects Change-Id: Iccc3a445f9a1eab7bb76eddd567c6a3a8f155b2b Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
9c04c4cc038f924d9cb98798e1c07fe6017e85d0 |
|
02-Aug-2010 |
Mike Lockwood <lockwood@android.com> |
Clean up MtpDatabase API. Return MTP response codes instead of booleans for success or failure. Remove some unused code. Change-Id: I82ce80a4d7779233264e3caf139ebd0cece12f5c Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
73ecd23cc2ebadb8e1fae1cc21ac559524c6b2bb |
|
19-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Only send events to host if we have an open session. Change-Id: I7b2d0c88c2d2ae0490247703d0fb1b862154db92 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
8065e2056073808716db32136d7acfd50eeab924 |
|
15-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
Remove our copy of the f_mtp.h kernel header, now that it is in bionic. Change-Id: I2b5e72bf25b3525ace4b919c6e8b6bd6750f6dfa Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
873871f3e75831bcda6c3f75bb4d53355ca5c53a |
|
13-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add support for sending events to the host when objects are added and removed Change-Id: Ia1d5232b919c644c670ff9ca651eca92b3f9ad42 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
4714b0766ecf48f09f39b4781a5c4deafc092d49 |
|
12-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
Integrate host to device file transfer with the media provider. MTP file transfers happen in two stages. The SendObjectInfo command sends some information about the file and reserves an ObjectHandle for the new file. The file transfer is then performed using the SendObject command. To support this in the media provider, MtpDatabase.beginSendObject receives the information from SendObjectInfo and creates an row for it in the MTP objects table for the new file. After the file transfer has completed, then MtpDatabase.endSendObject is called. In endSendObject, we run the media scanner on the new file, which will add a row to the images, audio, video or audio playlist table. To avoid the media scanner creating a second row for the file in the MTP objects table, we pass the ObjectHandle created in beginSendObject to the media scanner, which then passes it to the media provider via the content values when it performs its insert. Change-Id: I1ebcc63d6bd4404b0d3a93c703a9d3c097381d3a Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
7f53a190463274096155704276f3002c1620a364 |
|
09-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
Remove some scafolding and test code that is no longer worth maintaining. Change-Id: I9ee62d2463d8df1246a84774e8ac7e674778279a Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
1865a5ddcfe7b0e8dc211419aea1094b1491a5fd |
|
03-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
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>
/frameworks/av/media/mtp/MtpServer.cpp
|
dda7e2b7378755637f188cca7c5ae854427a28f7 |
|
03-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: remove separate audio table from prototype MTP database Change-Id: I5e4b49b741a0a3c6ddf5afcbb20a0d7c9515c8ce Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
8e2a280ab7f98bf00ff2651f1f93c8f8bd46c08d |
|
02-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Fix ownership and file permissions for transferred files and folders All new files and folders are created with group sdcard_rw Permissions for new files are 0664 and directories 0775 Change-Id: I6d508231150f687e2e529112fd47f10e30fa594f Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
0250361b110267a139cc0865ff7d2f13b4d63bdf |
|
02-Jul-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Make MtpDatabase class abstract so we can have multiple implementations Rename existing test database to MtpSqliteDatabase This is the first step in transitioning to using the media provider database Change-Id: I5f36c854c6e76a79137c267b000a52ced803776c Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
21ef7d0e70c5ad599bc2602cb484f8cd647055ca |
|
30-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Implement GetObjectPropDesc Change-Id: I283651257254fc9cd9d93eab4605c5e33d3db93e Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
b14e588bec4d5e39e61b020b5b575f2ce555d316 |
|
30-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: replace printfs with logcat Change-Id: I2c30921098e2dc049dc5fc1e0a548ead33c363e0 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
c6588763ddc20541688e426a24b1b070527c051f |
|
22-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Use a fd instead of a file path in file transfer ioctls. This restricts the driver to the client's permissions when copying files to avoid potential security problems. Change-Id: I9b3151168d334fe4374875804d4ba82bef44db3b Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
c42aa12f73edf79bc9cb0dbf6b74a7f1af11c683 |
|
15-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
MTP device: Read manufacturer name and serial number from system properties. Change-Id: I8d1ad79f38aaaa50fa8899e6b614096af95fdf39 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
916076c6d84dac9b104fbdf94af5dcd7bce669fd |
|
04-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add support for host cancellation of file transfers. Change-Id: I72df423f8017286e41adae525e6fbcb6b8440687 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
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/MtpServer.cpp
|
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/MtpServer.cpp
|
7850ef999740f214a1990a9c090d3f3865d435aa |
|
14-May-2010 |
Mike Lockwood <lockwood@android.com> |
Move MTP code to the android namespace Change-Id: I5da48038fd5e4cdeefaeba42cdc74eb588b3448d Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpServer.cpp
|
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/MtpServer.cpp
|