[adb] Speed up the streaming install
1. Use bigger buffer for transfers - 64kb is the default size for push, so let it be the same in streaming 2. Use abb when it's available for lower overhead 3. Add a posix_fadvise() on the source APK 4. Increase buffer sizes for the socketpair that's transferring the data from adbd. Overall this saves about 25% time for streaming installations and makes it faster than the legacy push (at last!) Test: manual Change-Id: Ieb84284da2058944815e062ef6e4389b842565fa
Loading
Please register or sign in to comment