Oleksiy Vyalov
6002a31bb8
Fix error handling in AdbClient - PushFile and PullFile.
...
http://reviews.llvm.org/D10176
llvm-svn: 239130
2015-06-05 01:32:45 +00:00
Oleksiy Vyalov
0b5ebef7cd
Refactor AdbClient and make PlatformAndroid::GetFile to use "adb pull".
...
http://reviews.llvm.org/D10082
llvm-svn: 238442
2015-05-28 17:42:48 +00:00
Robert Flack
62efb1f6d0
Implement and use adb push for PlatformAndroid::PutFile
...
Using the adb push protocol is significantly faster than the current method of
sending the hex encoded file data for the remote to write to the file.
Test Plan:
Tests continue to pass - and much faster (e.g. TestSBValuePersist.py takes 10s
down from 4m51s on mac -> android)
Differential Revision: http://reviews.llvm.org/D9943
llvm-svn: 238274
2015-05-27 02:18:50 +00:00
Oleksiy Vyalov
09e9079d5c
Use ADB pull to download modules from android target.
...
http://reviews.llvm.org/D9816
llvm-svn: 237640
2015-05-18 23:44:06 +00:00
Vince Harron
d7e6a4f2f0
Fixed a ton of gcc compile warnings
...
Removed some unused variables, added some consts, changed some casts
to const_cast. I don't think any of these changes are very
controversial.
Differential Revision: http://reviews.llvm.org/D9674
llvm-svn: 237218
2015-05-13 00:25:54 +00:00
Chaoren Lin
3ea689b313
Support remote-android with multiple connected devices.
...
Summary:
This change introduces a new URL scheme for `platform connect`:
```
adb://device-id:port
```
Reviewers: vharron, tberghammer, clayborg, ovyalov
Reviewed By: ovyalov
Subscribers: tberghammer, lldb-commits
Differential Revision: http://reviews.llvm.org/D9358
llvm-svn: 236321
2015-05-01 16:49:28 +00:00
Oleksiy Vyalov
e17800c5ab
Remove 'z' modifier from printf/sscanf operations in AdbClient - the modifier isn't supported by MS C++ compiler.
...
llvm-svn: 234562
2015-04-10 03:59:52 +00:00
Tamas Berghammer
db264a6d09
Move several plugin to its own namespace
...
Affected paths:
* Plugins/Platform/Android/*
* Plugins/Platform/Linux/*
* Plugins/Platform/gdb-server/*
* Plugins/Process/Linux/*
* Plugins/Process/gdb-remote/*
Differential revision: http://reviews.llvm.org/D8654
llvm-svn: 233679
2015-03-31 09:52:22 +00:00
Oleksiy Vyalov
6f001068d3
Use Android device serial number instead of hostname as a target identifier within module cache.
...
http://reviews.llvm.org/D8597
llvm-svn: 233202
2015-03-25 17:58:13 +00:00
Oleksiy Vyalov
05a55de3ba
Move ADB communications to AdbClient class - to make it accessible by other components.
...
http://reviews.llvm.org/D8535
llvm-svn: 233021
2015-03-23 21:03:02 +00:00