summaryrefslogtreecommitdiffstats
path: root/adb
Commit message (Collapse)AuthorAgeFilesLines
* adb: optimize socket-list-walking codeAndré Goddard Rosa2010-06-141-2/+5
| | | | | Change-Id: I8bbb8b671c1ce7a2ce736b60b0cdb7b21ccdc372 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* adb: remove unneeded assignment of id to zeroAndré Goddard Rosa2010-06-141-1/+0
| | | | | | | ... as memory was already obtained zero'ed by calloc(). Change-Id: Ic73bad09b54cb778fd40bdf86bb40888ea504c5f Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* adb: clean up 0 --> NULL for pointersAndré Goddard Rosa2010-06-141-3/+3
| | | | Change-Id: I9216fdf534d807a55dfbc6800b5c3ef5f8c83368
* adb connect and disconnect improvements:Mike Lockwood2010-06-024-38/+108
| | | | | | | | Port number is now optional. Will use default port 5555 if not specified. "adb disconnect" with no additional arguments will disconnect all TCP devices. Change-Id: I7fc26528ed85e66a73b8f6254cea7bf83d98109f Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: remove obsolete shell history support.Mike Lockwood2010-05-255-336/+19
| | | | | Change-Id: I85a7cda176ca3bb7cb9f96e18556d53daaac3023 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Use linenoise to add simple editing and history to the Android shell.Jack Palevich2010-05-251-1/+1
| | | | | | | | | | | | The linenoise library is from http://github.com/antirez/linenoise This patch also disables command-line editing and history from adb. The adb implementation was shadowing the Android shell's implementation. The adb implementation was also shadowing the editing and history implementation in alternative shells such as BusyBox's ash. Change-Id: I7ebd4cb391d0ce966c0ce0e707d80ecd659f9079
* Let "adb connect" connect to emulators tooStefan Hilzinger2010-05-243-54/+179
| | | | | | | | | | | | | | | | | | | | | | | - 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>
* Fix adb remount on non-MTD devicesColin Cross2010-05-241-19/+27
| | | | | Change-Id: If8e07502bcface53aaac81022f6183c6a147edc8 Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: Add Qualcomm USB idDima Zavin2010-05-241-0/+3
| | | | | Change-Id: I044a77f14d7a90e9dff191919e4aeb39723ea429 Signed-off-by: Dima Zavin <dima@android.com>
* Add documentation for some adb environmental variables.Tim2010-04-291-0/+6
| | | | | | The ADB_TRACE one is particularly important. Change-Id: I125a5930c43065c8cf505eea40d20e3f209bc858
* Fixing spelling errors in adb docsBrian Carlstrom2010-04-282-7/+7
| | | | Change-Id: I9376717165a01e207034f84a31f85335d3740f18
* Make adb's daemon-port on the host machine configurable.Stefan Hilzinger2010-04-286-26/+65
| | | | | | | | | | | | 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: remove obsolete adb.connected system property.Mike Lockwood2010-04-281-6/+0
| | | | | | | | This was used for adb networking, which no longer exists. This code also failed when adb was not running as root. Change-Id: Ied86fb1930094d5ae5009684d25e15385fd31d03 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Add Pantech's USB vendor ID to adb.Xavier Ducrohet2010-04-281-0/+4
| | | | Change-Id: I5334f46ee52ca1bd8067860701aef7b93296bedb
* Added Kyocera's VID (0x0482), upon their request.Takeshi Kishimoto2010-04-281-0/+3
| | | | Change-Id: I8f2f2a02c22d618c0b42d4f287d88a98af3ac4fa
* adb: Add five second timeout for USB writes on Linux host.Mike Lockwood2010-04-282-3/+10
| | | | | | | This helps us recover when things go wrong during automated testing. Change-Id: I006dbfaff7f70d51398ff12fbddcaee751453b78 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Add missing newlines to adb usage messageBrian Carlstrom2010-04-281-2/+2
|
* adb: do not mix printf() with write() when writing to stdout.Mike Lockwood2010-04-281-2/+2
| | | | | Change-Id: I3598cc951778080bec9a21d646656d5aba57120a Signed-off-by: Mike Lockwood <lockwood@android.com>
* Added ZTE's USB Vendor ID (0x19D2) upon ZTE's request.Takeshi Kishimoto2010-04-281-0/+3
|
* Added USB vendor id of Sharp, based on Sharp's request.Takeshi Kishimoto2010-04-281-1/+3
| | | | Sharp's vendor id: 0x04dd
* Merge "adb: Add persistent system property for running adb in TCPIP mode"Mike Lockwood2010-04-201-3/+6
|\
| * adb: Add persistent system property for running adb in TCPIP modeMike Lockwood2010-04-201-3/+6
| | | | | | | | | | | | | | | | | | In addition to service.adb.tcp.port, you can now set persist.adb.tcp.port to specify the port number for adb to listen to instead of USB. This allows the adb TCP configuration to persist across reboots. Change-Id: I897ffcb019e8dd1785996d2f3c571cfc2f8ded38 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Add -l option to `adb sync`Anthony Newnam2010-04-193-9/+20
|/ | | | Change-Id: I87c01663dff319dde24b70560e6fe5647ebf9d49
* Allow 'adb pull' to pull symlinked filesMatt Fischer2010-04-151-1/+1
| | | | Change-Id: I02f31334e4ee0c7b0e7b379016629a465e711905
* merge from open-source masterThe Android Open Source Project2010-02-233-71/+76
|\
| * ADB: Garmin-Asus's USB Vendor IDRaphael2010-02-151-1/+3
| | | | | | | | Change-Id: I3249d629f59d40f291079fc214b643ac6c927f76
| * adb: add Nvidia's vendor id to adbErik Gilling2010-02-151-0/+3
| | | | | | | | Signed-off-by: Erik Gilling <konkers@android.com>
| * make "adb bugreport" run "bugreport" (which invokes "dumpstate"Dan Egnor2010-02-151-4/+2
| | | | | | | | | | | | indirectly via system service) rather than "dumpstate", that way even when adb is not running as root, dumpstate does run as root, and can do things like collect VM traces.
| * adb: Fix problems detecting adb in more complicated USB configurations.Mike Lockwood2010-02-151-64/+63
| | | | | | | | | | Change-Id: Ib5b13960a1c75efc97abeca46204c85bba905c71 Signed-off-by: Mike Lockwood <lockwood@android.com>
| * Make adb pull use . as the target file directory if you don't supply one.Joe Onorato2010-02-151-3/+8
| |
* | am 1873adc2: ADB: Garmin-Asus\'s USB Vendor IDRaphael2010-02-011-0/+3
|\ \ | |/ |/| | | | | | | | | Merge commit '1873adc2b12d5a9045bae90650bb331c7c7aa3c7' into eclair-plus-aosp * commit '1873adc2b12d5a9045bae90650bb331c7c7aa3c7': ADB: Garmin-Asus's USB Vendor ID
| * ADB: Garmin-Asus's USB Vendor IDRaphael2010-02-011-0/+3
| | | | | | | | Change-Id: I3249d629f59d40f291079fc214b643ac6c927f76
| * Add DELL's USB Vendor ID to adb - DO NOT MERGEXavier Ducrohet2010-01-211-0/+3
| | | | | | | | Change-Id: Ie1a6b6a81f50956362aee2a2d6d1b805f0e85b7a
| * Add Sony-Ericsson to adb.Xavier Ducrohet2009-10-301-0/+3
| |
| * adb: Add "adb disconnect" command for disconnecting TCP/IP devices.Mike Lockwood2009-10-118-8/+93
| | | | | | | | | | | | | | Also check that device is not already connected in "adb connect" Change-Id: I5f84b56b63d8c6932f23791cac319fd6bc39d36c Signed-off-by: Mike Lockwood <lockwood@android.com>
| * Merge change 26093 into eclairAndroid (Google) Code Review2009-09-242-0/+191
| |\ | | | | | | | | | | | | * changes: Add NOTICE file and license tag for adb
| | * Add NOTICE file and license tag for adbJean-Baptiste Queru2009-09-202-0/+191
| | | | | | | | | | | | BUG=1716164
| * | Add support for Acer devicesRobert CH Chou2009-09-221-0/+3
| | | | | | | | | | | | Change-Id: I7045249f86e2b628c31c888e95eb5ba6f6c47251
| * | adb: Add USB Vendor IDs for LG and HuaweiMike Lockwood2009-09-211-0/+6
| |/ | | | | | | | | Change-Id: Ib47e3e39609bac9cf34f2b9334aa95184b3db71d Signed-off-by: Mike Lockwood <lockwood@android.com>
| * adb: Clean up argument passing for create_service_thread()Mike Lockwood2009-09-191-4/+5
| | | | | | | | | | Change-Id: Id68b312e76215e8e217b42ca0301713dbddfee9e Signed-off-by: Mike Lockwood <lockwood@android.com>
| * Add bitfields to header for screen shots. This will allow ddms to distinguishRebecca Schultz Zavin2009-09-151-9/+36
| | | | | | | | | | | | | | | | between various 32 bit pixel formats. Also adds new version number for future expansion. Change-Id: Ia1d7d7485614e961a47ebb65493b19f4a16ded05 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
| * Merge change 24493 into eclairAndroid (Google) Code Review2009-09-101-14/+23
| |\ | | | | | | | | | | | | * changes: Fix several issues in framebuffer_service
| | * Fix several issues in framebuffer_serviceRebecca Schultz Zavin2009-09-101-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | -supports fb's with x and y offsets -dumps the front buffer (instead of just the low end of the buffer) -switch from mmap to read/write, for fb's with very large offsets Change-Id: Id560790c9661f7cc3b4350a44cc29f0104831e85 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
| * | Revert "adb: Another attempted workaround for the adb disconnect problem."Joe Onorato2009-09-031-81/+12
| | | | | | | | | | | | | | | | | | This reverts commit cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad. lockwood says to take this out.
| * | Revert "adb: "adb bugreport" now runs dumpstate via init rather than execing ↵Mike Lockwood2009-09-032-40/+9
| |/ | | | | | | | | | | | | | | it in the shell." This reverts commit be0045aafdbc2ec2ee448be86952082361f5d672. This change broke compatibility with previous versions of adbd, so I will be implementing this by modifying the bugreport command on the device instead.
| * adb: "adb bugreport" now runs dumpstate via init rather than execing it in ↵Mike Lockwood2009-09-032-9/+40
| | | | | | | | | | | | | | | | | | the shell. This allows dumpstate to run as root even if adbd is not. Change-Id: I04bda1ee0c8de91677149a2a9eda713c85067aa4 Signed-off-by: Mike Lockwood <lockwood@android.com>
| * adb: Fix emulator support.Mike Lockwood2009-08-262-8/+10
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
| * Fix broken 'adb root' command.Xavier Ducrohet2009-08-251-1/+1
| | | | | | | | Change-Id: I75bf01863e82967a7214d3e31b8db792690716c1
| * adb: Improved support for running adb over TCP/IPMike Lockwood2009-08-246-51/+140
| | | | | | | | | | | | | | | | | | | | 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>
| * am e3baafd8: BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDKRaphael2009-08-121-3/+5
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'e3baafd85a5fecd1714441455e3f75f26b5c381e' * commit 'e3baafd85a5fecd1714441455e3f75f26b5c381e': BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK