cbbe79add1410b53ec65936cfb1b74cac68467f0 |
|
24-May-2010 |
Mike Lockwood <lockwood@android.com> |
adb connect and disconnect improvements: 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>
/system/core/adb/adb.h
|
d9d1ca47802395e9e42e7deb05b2683d9d306598 |
|
26-Apr-2010 |
Stefan Hilzinger <hilzinger@google.com> |
Let "adb connect" connect to emulators too - 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>
/system/core/adb/adb.h
|
a84a42eb20d43ffa2695a69d583a6e09532b49d9 |
|
19-Apr-2010 |
Stefan Hilzinger <hilzinger@google.com> |
Make adb's daemon-port on the host machine configurable. 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
/system/core/adb/adb.h
|
505bd6e5fcc576eb3bea87ac86db8aeed86d9a0d |
|
19-Feb-2010 |
Mike Lockwood <lockwood@android.com> |
adb: Add five second timeout for USB writes on Linux host. This helps us recover when things go wrong during automated testing. Change-Id: I006dbfaff7f70d51398ff12fbddcaee751453b78 Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/adb/adb.h
|
3166410a82f43d39201be98a8d35c51baa86cb53 |
|
21-Oct-2009 |
Alexey Tarasov <tarasov@dodologics.com> |
Make get_my_path() safer Adds maxLen parameter to get_my_path(). Some small cosmetic fixes.
/system/core/adb/adb.h
|
74d7ff8cfd490852d3df1c4b9d8a21beed619caa |
|
12-Oct-2009 |
Mike Lockwood <lockwood@android.com> |
adb: Add "adb disconnect" command for disconnecting TCP/IP devices. Also check that device is not already connected in "adb connect" Change-Id: I5f84b56b63d8c6932f23791cac319fd6bc39d36c Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/adb/adb.h
|
cef31a02544d91b85481a5fa032b6126dbb32365 |
|
26-Aug-2009 |
Mike Lockwood <lockwood@android.com> |
adb: Fix emulator support. Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/adb/adb.h
|
2f38b699713dc2587a771bd5d4c6a47329728f5e |
|
25-Aug-2009 |
Mike Lockwood <lockwood@android.com> |
adb: Improved support for running adb over TCP/IP 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>
/system/core/adb/adb.h
|
95b837d38b730353af79f8669b5166007e038ac3 |
|
08-Aug-2009 |
Mike Lockwood <lockwood@android.com> |
adb: On Linux, detect USB devices for which adb does not have permissions to 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>
/system/core/adb/adb.h
|
5f4b051235c3e9e9e5b34b4af885e42a1c711fc4 |
|
05-Aug-2009 |
Mike Lockwood <lockwood@android.com> |
adb: add "adb reboot" command. 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>
/system/core/adb/adb.h
|
7bf68842d765ad7e6a51426b625d0de6d2331740 |
|
10-Jul-2009 |
Mike Lockwood <lockwood@android.com> |
adb: Increment ADB_SERVER_VERSION 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>
/system/core/adb/adb.h
|
1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945 |
|
26-May-2009 |
Mike Lockwood <lockwood@android.com> |
adb: Allow enabling of device side adbd logging with a persistent system 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>
/system/core/adb/adb.h
|
a481d096feba7cf6e61d54e416a68e2d46498df1 |
|
22-May-2009 |
Xavier Ducrohet <xav@android.com> |
Support for 3rd party USB Vendor IDs in adb. 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)
/system/core/adb/adb.h
|
a09fbd164d2e088bc5433d310e25640ae048d47d |
|
21-May-2009 |
Xavier Ducrohet <xav@android.com> |
Preparation work for adb to support USB vendor Ids provided by SDK add-ons. 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).
/system/core/adb/adb.h
|
3fd82b8861aa410fab7785074941b459d92220c1 |
|
09-May-2009 |
Dima Zavin <dima@android.com> |
adb: osx: Match devices based on interface subclass and protocol 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>
/system/core/adb/adb.h
|
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/adb/adb.h
|
e54eebbf1a908d65ee8cf80bab62821c05666d70 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/adb/adb.h
|
35237d135807af84bf9b0e5b8d7f8633e58db6f5 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/system/core/adb/adb.h
|
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/system/core/adb/adb.h
|