summaryrefslogtreecommitdiffstats
path: root/adb/transport_local.c
Commit message (Collapse)AuthorAgeFilesLines
* Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.Elliott Hughes2014-11-211-27/+0
| | | | Change-Id: I9e25ac9d27e95b04fb8bf7a66c619af0139d8b8f
* adb: Increase the max number of emulator instances to 64David 'Digit' Turner2014-03-131-1/+1
| | | | | | | | | | | | | | | | | When the ADB server starts, it probes the localhost ports to find existing emulator instances, starting from 5555 with increments of 2, and stopping after ADB_LOCAL_TRANSPORT_MAX tries, which was set to 16. This means that the ADB server could not detect on startup more than 16 existing emulator instances. This increases the limit to 64, to match a corresponding change on the emulator side. See https://android-review.googlesource.com/#/c/83553/ Change-Id: I35c69f8017298c3e5797bd396b8d788d44eaa00f
* system/core 64-bit cleanup.Elliott Hughes2014-01-161-3/+3
| | | | | | | | | This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
* adb: Only use properties on device buildsNick Kralevich2013-05-231-0/+3
| | | | | | | | When building for the host, don't make reference to property_get / property_set. I'm in the process of removing host side support for properties. Change-Id: I691c5872b5fd538e78bc38a3fe72574cdc7f43c3
* Trivial signed/unsigned warning fix for adbdEdwin Vane2012-08-021-1/+1
| | | | | | Change-Id: Icd674006bb2b526166960b4f90eb274030d80439 Author: Edwin Vane <edwin.vane@intel.com> Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
* Revert "add IP checking for adb over TCP"Kenny Root2012-03-281-36/+2
| | | This reverts commit dca76e6187c4128a17c8df5bcaca0db6993d91a1
* add IP checking for adb over TCPWei Zhong2012-03-151-2/+36
| | | | | | | | | | whitelist connection for 1) emulator 2) "eng" or "tests" build, or 3) IP matches with "persist.service.adb.client_ip" Change-Id: I8ac149149873f3bd206bd4d5abc063e5274fb468 Signed-off-by: Wei Zhong <wzhong@google.com>
* Fix 'extra tokens at end of #endif directive' warningAnatol Pomazau2012-02-131-1/+1
| | | | Change-Id: I464ede415e64cf7db845bb441754120974bcf855
* Fix the build.Vladimir Chtchetkine2011-12-131-0/+7
| | | | | | Conditionally compile code that is intended to run inside the emulator only. Change-Id: Ie82e415b2ff52395616f85871dddb38e65b0ed55
* Use QEMU pipe for ADB communication when running in emulator.Vladimir Chtchetkine2011-12-131-1/+119
| | | | Change-Id: I7934b6272c2a9825d244ce76ff65dbce6e54ebff
* adb: Improved detection of big endian architectureMarcus Comstedt2010-10-161-3/+3
| | | | | | | | | Instead of testing for the (compiler specific) define __ppc__ explicitly, use the define HAVE_BIG_ENDIAN provided by AndroidConfig.h. That way, it should work on all big endian systems. Change-Id: Ic4d62afcefce4c8ad5716178ebfcb2b055ac73ce
* Let "adb connect" connect to emulators tooStefan Hilzinger2010-05-241-21/+72
| | | | | | | | | | | | | | | | | | | | | | | - adb can now connect to an emulator configured with an arbitrary pair of <console port, adb port>. These two ports do not have to be adjacent. This can be done from the commandline at any time using adb connect emu:<console_port>,<adb_port> - Emulators running on ports outside the normal range (5554/5555-5584/5585) register themselves on startup if they follow the convention "console port+1==abd port". - Emulators outside the normal port range will not be auto-detected on adb startup as these ports are not probed. - The index into local_transports[] array in transport_local.c does no longer indicate the port number of the local transport. Use the altered atransport struct to get the port number. - I have chosen not to document the adb connect emu:console_port,adb_port syntax on adb's help screen as this might be confusing to most readers and useful to very few. - I don't expect this to introduce any (backwards) compatibility issues. Change-Id: Iad3eccb2dcdde174b24ef0644d705ecfbff6e59d Signed-off-by: Mike Lockwood <lockwood@android.com>
* Make adb's daemon-port on the host machine configurable.Stefan Hilzinger2010-04-281-2/+2
| | | | | | | | | | | | 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
* adb: Add "adb disconnect" command for disconnecting TCP/IP devices.Mike Lockwood2009-10-111-0/+1
| | | | | | | Also check that device is not already connected in "adb connect" Change-Id: I5f84b56b63d8c6932f23791cac319fd6bc39d36c Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: Improved support for running adb over TCP/IPMike Lockwood2009-08-241-9/+10
| | | | | | | | | | Added new commands: adb connect <host>:<port> (to connect to a device via TCP/IP) adb tcpip <port> (to restart adbd on the device to listen on TCP/IP) adb usb (to restart adbd on the device to listen USB) Signed-off-by: Mike Lockwood <lockwood@android.com>
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+263
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-263/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-7/+8
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+262