summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2018-04-17 14:09:21 -0700
committerLuis Hector Chavez <lhchavez@google.com>2018-04-17 14:36:33 -0700
commit5d3958525543d4be02c4530dba9aab964623755d (patch)
tree1833412eaffcf5c625545ca2fe3028055363f2bd /trusty/coverage/coverage_test.cpp
parentca10ecb3aed00a146e9b3b35549d36797427eb88 (diff)
adb: Distinguish betwen already-connected and connection failure
This change returns a different value (-EALREADY) when a connection has already been established, as opposed to a real connection failure (which still returns -1). Bug: 74411879 Test: Opened a socket, tried to adb connect to it, got "failed to connect to localhost:1337" Change-Id: Ic216ddef7f28eb43ca750f9e51d068c077d54b07
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions