commit | 0aeda107855f61cea45746c057482e8e2c834914 | [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 | ee844b9d539e54694170b92ac2b16dbf2fcce462 | |
parent | cac0585479e4ea44f40a39959f7157f03984d108 [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