summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Android/AdbClient.h
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Rename Error -> Status.Zachary Turner2017-05-121-43/+44
| | | | | | | | | | | | | | | This renames the LLDB error class to Status, as discussed on the lldb-dev mailing list. A change of this magnitude cannot easily be done without find and replace, but that has potential to catch unwanted occurrences of common strings such as "Error". Every effort was made to find all the obvious things such as the word "Error" appearing in a string, etc, but it's possible there are still some lingering occurences left around. Hopefully nothing too serious. llvm-svn: 302872
* Move classes from Core -> Utility.Zachary Turner2017-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This moves the following classes from Core -> Utility. ConstString Error RegularExpression Stream StreamString The goal here is to get lldbUtility into a state where it has no dependendencies except on itself and LLVM, so it can be the starting point at which to start untangling LLDB's dependencies. These are all low level and very widely used classes, and previously lldbUtility had dependencies up to lldbCore in order to use these classes. So moving then down to lldbUtility makes sense from both the short term and long term perspective in solving this problem. Differential Revision: https://reviews.llvm.org/D29427 llvm-svn: 293941
* Use more chrono in AdbClientPavel Labath2016-11-241-2/+3
| | | | | | This refactors AdbClient interface in terms of std::chrono. llvm-svn: 287880
* Use chrono in AdbClientPavel Labath2016-11-241-11/+4
| | | | | | | This refactors the class implementations to use chrono. I'll follow this up with a refactor of the class interface. llvm-svn: 287879
* Convert UriParser to use StringRef.Zachary Turner2016-11-171-1/+1
| | | | llvm-svn: 287190
* *** This commit represents a complete reformatting of the LLDB source codeKate Stone2016-09-061-94/+64
| | | | | | | | | | | | | | | | | | | | | | | *** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications: Firstly, merging this particular commit into a downstream fork may be a huge effort. Alternatively, it may be worth merging all changes up to this commit, performing the same reformatting operation locally, and then discarding the merge for this particular commit. The commands used to accomplish this reformatting were as follows (with current working directory as the root of the repository): find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ; The version of clang-format used was 3.9.0, and autopep8 was 1.2.4. Secondly, “blame” style tools will generally point to this commit instead of a meaningful prior commit. There are alternatives available that will attempt to look through this change and find the appropriate prior commit. YMMV. llvm-svn: 280751
* Use shell cat command as a workaround if ADB stat cannot lookup a file.Oleksiy Vyalov2016-07-081-1/+7
| | | | | | http://reviews.llvm.org/D22081 llvm-svn: 274895
* Fix ADB client disconnect issues.Oleksiy Vyalov2016-07-061-2/+17
| | | | | | http://reviews.llvm.org/D22029 llvm-svn: 274638
* Improve ADB utilization within Android platform.Oleksiy Vyalov2016-06-301-23/+46
| | | | | | http://reviews.llvm.org/D21770 llvm-svn: 274256
* Provide ADB port forwarding support for abstract sockets.Oleksiy Vyalov2015-11-031-1/+9
| | | | | | http://reviews.llvm.org/D14262 llvm-svn: 251879
* Add domain socket support to gdb-remote protocol and lldb-server.Oleksiy Vyalov2015-10-211-0/+3
| | | | | | http://reviews.llvm.org/D13881 llvm-svn: 250933
* Change oat symbolization code for android to work on non-rooted devicesTamas Berghammer2015-09-291-0/+6
| | | | | | | | | | | | | | On android when debugging an apk we run lldb-server as application user because the sell user (on non-rooted device) can't attach to an application. The problem is that "adb pull" will run as a shell user what can't access to files created by lldb-server because they will be owned by the application user. This CL changes the oat symbolization code to run "oatdump --symbolize" to generate an output what is owned by the shell user. Differential revision: http://reviews.llvm.org/D13162 llvm-svn: 248788
* Make remote-android platform to use dynamic local tcp ports when forwarding ↵Oleksiy Vyalov2015-09-011-2/+2
| | | | | | | | device ports. http://reviews.llvm.org/D12510 llvm-svn: 246574
* Fix error handling in AdbClient - PushFile and PullFile.Oleksiy Vyalov2015-06-051-0/+3
| | | | | | http://reviews.llvm.org/D10176 llvm-svn: 239130
* Refactor AdbClient and make PlatformAndroid::GetFile to use "adb pull".Oleksiy Vyalov2015-05-281-2/+8
| | | | | | http://reviews.llvm.org/D10082 llvm-svn: 238442
* Implement and use adb push for PlatformAndroid::PutFileRobert Flack2015-05-271-0/+3
| | | | | | | | | | | | | 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
* Use ADB pull to download modules from android target.Oleksiy Vyalov2015-05-181-3/+28
| | | | | | http://reviews.llvm.org/D9816 llvm-svn: 237640
* Support remote-android with multiple connected devices.Chaoren Lin2015-05-011-1/+1
| | | | | | | | | | | | | | | | | | 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
* Move several plugin to its own namespaceTamas Berghammer2015-03-311-0/+2
| | | | | | | | | | | | | 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
* Use Android device serial number instead of hostname as a target identifier ↵Oleksiy Vyalov2015-03-251-2/+9
| | | | | | | | within module cache. http://reviews.llvm.org/D8597 llvm-svn: 233202
* Move ADB communications to AdbClient class - to make it accessible by other ↵Oleksiy Vyalov2015-03-231-0/+69
components. http://reviews.llvm.org/D8535 llvm-svn: 233021
OpenPOWER on IntegriCloud