summaryrefslogtreecommitdiffstats
path: root/mtp/ffs/node.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-20MTP FFS updates:bigbiff bigbiff1-1/+4
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
2016-01-29Remove execute permissions from source filesthat1-0/+0
Change-Id: I5deef665ab374491c0f498b498971abd525d1111
2014-12-29mtp: get rid of string streams, reduces binary size a bitthat1-7/+2
Change-Id: Iaa91eaac8269f02783c904d890641861ec747d11
2014-10-08mtp: cleanup, fixes and performance improvementsthat1-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
2014-10-07atime is access time, let's just use mtimeJenkins1-3/+1
Change-Id: I828bc473a263868bd82b042c4009701d09a77a1f
2014-09-04MTP: Better handling of statEthan Yonker1-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
2014-09-04MTP Fix rename in WindowsDees Troy1-0/+6
Change-Id: Ieef2fc16aac1da3d03908cfb285895954b42a14a
2014-09-03add mtp responder to TWRP.bigbiff bigbiff1-0/+139
Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0