summaryrefslogtreecommitdiffstats
path: root/adb/adb_client.h
Commit message (Collapse)AuthorAgeFilesLines
* More fixed-length buffer removal.Elliott Hughes2015-04-301-8/+6
| | | | | | Bug: http://b/20666660 Change-Id: I0c738e9fed2defed48a9cf2d0a4f7b99c08dcf3d (cherry picked from commit 6452a89aa8934231e12ab77e0d90f12c3e892ad1)
* Move __adb_error to std::string, and improve various errors.Elliott Hughes2015-04-291-12/+10
| | | | | | | | | | Also remove an sprintf. Also fix various bits of code that were reporting stale adb_error values when they meant strerror. (cherry-pick of 078f0fcf4c63b8d8e8c10a18855eae04ca321e06.) Bug: http://b/20666660 Change-Id: Ibeb48b7bc21bb0ec30ba47889d1d671ee480e1b7
* Remove extern "C" barriers to using C++.Elliott Hughes2015-04-171-8/+0
| | | | Change-Id: Ic046d6aa540738cb46b54531bc59ba3b47b0136d
* Move adb to C++.Dan Albert2015-03-091-1/+1
| | | | | | | | | | | | | | | | | I keep trying to clean things up and needing std::strings. Might as well just do this now. usb_linux_client.c is going to stay as C because GCC isn't smart enough to deal with the designated initializers it uses (though for some reason it is in C mode). The Darwin files are staying as C because I don't have a way to test that they build. The Windows files are staying as C because while I can actually build for them, it's slow and painful. Change-Id: I75367d29205a9049d34460032b3bb36384f43941
* Add extern "C" to all the adb headers.Dan Albert2015-02-181-0/+8
| | | | Change-Id: Iaefa3e18d6ee2e065eb97271a796613b2a8e7d6e
* Support adb client connect to remote serverMatt Gumbel2013-01-041-0/+4
| | | | | | | | | | | | | | | | | | ADB client: allow user to specify hostname and port number of remote adb server. ADB server: bind server to all network interfaces instead of just localhost when user gives -a flag. Primary use-case for this change is to support remote testing of USB devices. HostA is running some test automation software which invokes adb client. HostB has USB-only device attached and is running adb server. adb client on HostA makes connection to adb server on HostB to talk to the USB device. Change-Id: I845cc8c00350b400317f8c18f813e6fd79bd5470 Signed-off-by: Dean Kwon <daex.i.kwon@intel.com> Signed-off-by: Jim Bride <jim.bride@intel.com> Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>
* Make adb's daemon-port on the host machine configurable.Stefan Hilzinger2010-04-221-0/+4
| | | | | | | | | | | | This is the first CL of a somewhat larger effort which, among other things, will involve changing the emulator and ddms to talk to adb running on a configurable port. The port can be configured using environment variable ANDROID_ADB_SERVER_PORT. Further CLs will also address the set of ports used for the local transport. Change-Id: Ib2f431801f0adcd9f2dd290a28005644a36a780a
* Revert "Make adb's daemon-port on the host machine configurable."Mike Lockwood2010-04-121-4/+0
| | | | | Fix the build. This reverts commit 5a00fd1c5542b302e5534d7c424ee92da3d6bceb.
* Make adb's daemon-port on the host machine configurable.Stefan Hilzinger2010-04-081-0/+4
| | | | | | | | | | | | This is the first CL of a somewhat larger effort which, among other things, will involve changing the emulator and ddms to talk to adb running on a configurable port. The port can be configured using environment variable ANDROID_ADB_PORT. Further CLs will also address the set of ports used for the local transport. Change-Id: I8082ee10ce504dab1cf89fe6d189eccf43ce9cf4
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+49
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-49/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+49