commit | 454bc7c0be9757c583b6f9fd8912a1b158773f28 | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Fri Apr 20 10:31:29 2018 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Wed May 16 15:20:48 2018 -0700 |
tree | 75cb4f1cdfcc02226a46c3b62c22cae94f55baaf | |
parent | 3464bc4b439e01244c0a6b5f35e8e949e0f16096 [diff] |
adb: Add a way to reconnect TCP transports This change adds a reconnect handler that tracks all TCP transports that were connected at some point, but became disconnected. It does so by attempting to reconnect every 10s for up to a minute. Bug: 74411879 Test: system/core/adb/test_adb.py Test: adb connect chromebook:22 # This runs with sslh Test: CtsBootStatsTestCases Test: emulator -show-kernel ; adb -s emulator-5554 shell Change-Id: I7b9f6d181b71ccf5c26ff96c45d36aaf6409b992