summaryrefslogtreecommitdiffstats
path: root/mtp/node.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MTP FFS updates:bigbiff bigbiff2019-03-201-143/+0
| | | | | | | | | | | | | | | | | This update splits old MTP code and new MTP code from Google into two trees, legacy and ffs. Depending on the SDK level, the build system will select the correct version. The reason for separating the versions out are due to older android trees not supporting the updated MTP code from Google. Most MTP code is from Google, with additions needed from implementing the Java functions in C++ for TWRP and FFS. We assume if you are in android-9.0 or above, your kernel has support for FFS over MTP. Verify that your init.rc is mounting the MTP FFS driver to the proper location. Change-Id: I4b107b239bd9bc5699527f9c8c77d9079f264a7e
* Remove execute permissions from source filesthat2016-01-291-0/+0
| | | | Change-Id: I5deef665ab374491c0f498b498971abd525d1111
* mtp: get rid of string streams, reduces binary size a bitthat2014-12-291-7/+2
| | | | Change-Id: Iaa91eaac8269f02783c904d890641861ec747d11
* mtp: cleanup, fixes and performance improvementsthat2014-10-081-43/+45
| | | | | | | | | | | - use std::map instead of linked list - read directories on demand - fix writing zip files to storage root - fix creating directories - lots of minor fixes - simplify generation of storage IDs and make them spec compliant Change-Id: I2137c27549ddbdc58466f2e3aeda464fac70a3c5
* atime is access time, let's just use mtimeJenkins2014-10-071-3/+1
| | | | Change-Id: I828bc473a263868bd82b042c4009701d09a77a1f
* MTP: Better handling of statEthan Yonker2014-09-041-9/+12
| | | | | | | | | | Do some error checking of lstat calls and better handle those errors. Use lstat instead of dirent to check if an item is a directory because dirent does not return the correct item type when using exfat-fuse. Change-Id: I0d008aff55a0e0b4fbeae24cf8d0c04453b7b77e
* MTP Fix rename in WindowsDees Troy2014-09-041-0/+6
| | | | Change-Id: Ieef2fc16aac1da3d03908cfb285895954b42a14a
* add mtp responder to TWRP.bigbiff bigbiff2014-09-031-0/+139
Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0