This is an archive of the discontinued LLVM Phabricator instance.

Fix ADB client disconnect issues
ClosedPublic

Authored by ovyalov on Jul 5 2016, 7:00 PM.

Details

Summary
  • Disconnect SyncService in case of pull/push/stat request failure and make Android platform to establish new ADB sync connection - ADB sync service disconnects a socket if any inbound command fails.
  • Establish new ADB connection for every shell command.

Diff Detail

Event Timeline

ovyalov updated this revision to Diff 62812.Jul 5 2016, 7:00 PM
ovyalov retitled this revision from to Fix ADB client disconnect issues.
ovyalov updated this object.
ovyalov added reviewers: labath, tberghammer.
ovyalov added a subscriber: lldb-commits.
tberghammer accepted this revision.Jul 6 2016, 5:36 AM
tberghammer edited edge metadata.

Looks good

This revision is now accepted and ready to land.Jul 6 2016, 5:36 AM
ovyalov closed this revision.Jul 6 2016, 10:10 AM

Files:

/lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp
/lldb/trunk/source/Plugins/Platform/Android/AdbClient.h
/lldb/trunk/source/Plugins/Platform/Android/PlatformAndroid.cpp
/lldb/trunk/source/Plugins/Platform/Android/PlatformAndroid.h

Users:

ovyalov (Author)

http://reviews.llvm.org/rL274638