commit | cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Thu Jul 30 16:23:56 2009 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Thu Jul 30 16:23:56 2009 -0700 |
tree | 4b224a4d8b3493cecc32e23cb589cfde77c6825a | |
parent | de6f62a609120c3d9e4e53689c3b309842ec874b [diff] |
adb: Another attempted workaround for the adb disconnect problem. For adb shell commands (as well as shell based commands like logcat and bugreport) we now batch USB writes into 4K chunks instead of sending small packets of data as they come in. A timeout prevents us from blocking for more than 100ms when our 4K buffer is partially full. Signed-off-by: Mike Lockwood <lockwood@android.com>