commit | ecee434faea553dd190550355bf2ecfde2794059 | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Tue Jul 18 14:07:57 2017 -0700 |
committer | Jerry Zhang <zhangjerry@google.com> | Thu Aug 10 15:12:47 2017 -0700 |
tree | 833de1a03feaf6702bdcbb58ca455212bc8d6e27 | |
parent | de6b44aa0ec047aacf277ce797574b50f406d589 [diff] |
adb: Use kernel aio for functionfs. This method works around the downsides of ENDPOINT_ALLOC, namely that it is not affected by memory fragmentation and it uses an upstream interface. Also add libasyncio to provide the necessary syscalls to both adb and mtp. Add some small optimizations to file_sync. Bug: 37916658 Test: run adb push/pull Change-Id: If3b3be02b5e2d4f9cffec1b8ddc02a5768a51a1f