summaryrefslogtreecommitdiffstats
path: root/adb/adb.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Make adb's daemon-port on the host machine configurable.Stefan Hilzinger2010-04-281-4/+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
* adb: Add five second timeout for USB writes on Linux host.Mike Lockwood2010-04-281-1/+1
| | | | | | | This helps us recover when things go wrong during automated testing. Change-Id: I006dbfaff7f70d51398ff12fbddcaee751453b78 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Make get_my_path() saferAlexey Tarasov2009-10-221-1/+1
| | | | | Adds maxLen parameter to get_my_path(). Some small cosmetic fixes.
* adb: Add "adb disconnect" command for disconnecting TCP/IP devices.Mike Lockwood2009-10-131-0/+6
| | | | | | | Also check that device is not already connected in "adb connect" Change-Id: I5f84b56b63d8c6932f23791cac319fd6bc39d36c Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: Fix emulator support.Mike Lockwood2009-08-261-2/+2
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: Improved support for running adb over TCP/IPMike Lockwood2009-08-261-3/+3
| | | | | | | | | | 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>
* adb: On Linux, detect USB devices for which adb does not have permissions to ↵Mike Lockwood2009-08-261-4/+7
| | | | | | | | | | | communicate with. adb devices will now list devices without adequate file system permissions in /dev/bus/usb as: List of devices attached ???????????? no permissions Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: add "adb reboot" command.Mike Lockwood2009-08-261-1/+1
| | | | | | | | This will allow rebooting the device via adb on any build, including user builds. An optional argument can be provided (for example, "adb reboot bootloader" or adb reboot recovery") Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: Increment ADB_SERVER_VERSIONMike Lockwood2009-07-091-1/+1
| | | | | | | It was pointed out that we should have done this when we added the "adb root" command. And doing this will also force people to pick up the recent Linux USB serial number fix. Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: Allow enabling of device side adbd logging with a persistent system ↵Mike Lockwood2009-05-251-5/+0
| | | | | | | | | | | | | | property. To enable logging, set the property persist.adb.trace_mask to a hex value containing the bitmask for adb_trace_mask (see the TRACE_* enum values in adb.h). This will result in adb writing log output to a file in /data/adb/ No logging will occur if persist.adb.trace_mask is not set or has a value that cannot be parsed as a hex integer. The property is read once only at startup, so you must reboot or restart adbd for changes in the property to take effect. Signed-off-by: Mike Lockwood <lockwood@android.com>
* Support for 3rd party USB Vendor IDs in adb.Xavier Ducrohet2009-05-221-4/+3
| | | | | | | | | | Vendor IDs are read from ~/.android/adb_usb.ini. The format is very simple: 1 number per line. First number is ID count, followed by the ID themselves. Lines starting with # are considered comments. Other misc changes: moved VENDOR_ID_* to usb_vendors.c to prevent direct access. Made transport_usb.c reuse the USB constant introduced in usb_osx (moved them to adb.h)
* Preparation work for adb to support USB vendor Ids provided by SDK add-ons.Xavier Ducrohet2009-05-211-0/+2
| | | | | | | | | | | | | Added usb_vendors.* which handles creating (and deleting) a list of vendor ids. This list is meant to be used everywhere the built-in lists (usb_osx), or the built-in vendor IDs (transport_usb) were used. For now the list is only built with the built-in VENDOR_ID_*. Next step is to read a small file created from all the SDK add-on. Other misc changes: made is_adb_interface present only if ADB_HOST is true to prevent accessing a list that doesn't exist (usb_vendors is only compiled for the host version of adb).
* adb: osx: Match devices based on interface subclass and protocolDima Zavin2009-05-091-8/+1
| | | | | | | | Enumerating all vendor+product id combinations is not practical. This modifies the matching algorithm to use the adb interface subclass/protocol instead (0x42/0x1). Signed-off-by: Dima Zavin <dima@android.com>
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+407
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-407/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-9/+14
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+402