summaryrefslogtreecommitdiffstats
path: root/adb
Commit message (Collapse)AuthorAgeFilesLines
* adb: On Linux, detect USB devices for which adb does not have permissions to ↵Mike Lockwood2009-08-085-121/+159
| | | | | | | | | | | 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: Use correct language ID when retrieving USB serial number.Guang Zhu2009-08-071-24/+48
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: Remove adbd from simulator build.Mike Lockwood2009-08-061-3/+3
| | | | | | It no longer compiles without recent kernel headers. Signed-off-by: Mike Lockwood <lockwood@android.com>
* adb: add "adb reboot" command.Mike Lockwood2009-08-054-1/+52
| | | | | | | | 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>
* am cc1de48d: adb: Another attempted workaround for the adb disconnect problem.Mike Lockwood2009-07-301-11/+81
|\ | | | | | | | | | | | | Merge commit 'cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad' * commit 'cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad': adb: Another attempted workaround for the adb disconnect problem.
| * adb: Another attempted workaround for the adb disconnect problem.Mike Lockwood2009-07-301-11/+81
| | | | | | | | | | | | | | | | For adb shell commands (as well as shell based commands like logcat and bugreport) we now batch USB writes into 4K chunks instead of sending small packets of data as they come in. A timeout prevents us from blocking for more than 100ms when our 4K buffer is partially full. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am de6f62a6: Add support for Samsung and Motorola devices.Xavier Ducrohet2009-07-242-3/+13
|\ \ | |/ | | | | | | | | | | Merge commit 'de6f62a609120c3d9e4e53689c3b309842ec874b' * commit 'de6f62a609120c3d9e4e53689c3b309842ec874b': Add support for Samsung and Motorola devices.
| * Add support for Samsung and Motorola devices.Xavier Ducrohet2009-07-242-3/+13
| | | | | | | | | | | | Also update the linux code. Some devices have more complex USB descriptors which can't be parsed with the simple assumption of just skipping the endpoint descriptors.
* | am 7bf68842: adb: Increment ADB_SERVER_VERSIONMike Lockwood2009-07-091-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '7bf68842d765ad7e6a51426b625d0de6d2331740' * commit '7bf68842d765ad7e6a51426b625d0de6d2331740': adb: Increment ADB_SERVER_VERSION
| * 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>
* | am c989199c: Fix typo in adb commandline helpKenny Root2009-07-081-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit 'c989199ccfbe745a7109f57d2aee2577d2f72b8d' * commit 'c989199ccfbe745a7109f57d2aee2577d2f72b8d': Fix typo in adb commandline help
| * Fix typo in adb commandline helpKenny Root2009-07-081-1/+1
| | | | | | | | Android developers are not expected to have PDP-11s.
* | am 3d9b265b: adb: Use correct language ID when retrieving USB serial number.Mike Lockwood2009-07-081-12/+32
|\ \ | |/ | | | | | | | | | | Merge commit '3d9b265b7d34d886a2f44e486c25e402d7df791b' * commit '3d9b265b7d34d886a2f44e486c25e402d7df791b': adb: Use correct language ID when retrieving USB serial number.
| * adb: Use correct language ID when retrieving USB serial number.Mike Lockwood2009-07-081-12/+32
| | | | | | | | | | | | Fixes http://code.google.com/p/android/issues/detail?id=2609 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 34c34267: Merge change 3951 into donutAndroid (Google) Code Review2009-06-121-55/+3
|\ \ | |/ | | | | | | | | | | Merge commit '34c342677e4ffb57584d571d8996822bf4d879ef' * commit '34c342677e4ffb57584d571d8996822bf4d879ef': Revert "adb: Workaround for adb disconnect problem."
| * Revert "adb: Workaround for adb disconnect problem."Mike Lockwood2009-06-111-55/+3
| | | | | | | | | | | | | | | | | | This reverts commit e38a31e305b0944c0cd1ae782e47e3145d731f0f. This change had the unfortunate side effect of breaking ctrl-C when executing "adb shell <command>" Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 87657782: Merge change 3008 into donutAndroid (Google) Code Review2009-06-021-3/+55
|\ \ | |/ | | | | | | | | | | Merge commit '876577823d7679fa18f175405ce77e5257161e3a' * commit '876577823d7679fa18f175405ce77e5257161e3a': adb: Workaround for adb disconnect problem.
| * adb: Workaround for adb disconnect problem.Mike Lockwood2009-06-021-3/+55
| | | | | | | | | | | | | | | | For non-interactive adb shell commands, batch USB writes into 4K chunks instead of sending small packets of data as they come in. Add a timeout so we do not block for more than 200ms when our 4K buffer is partially full. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | get rid of utils/executablepath.h, which now lives in the simulatorMathias Agopian2009-05-311-1/+0
| |
* | am 1f546e6d: adb: Allow enabling of device side adbd logging with a ↵Mike Lockwood2009-05-252-15/+20
|\ \ | |/ | | | | | | | | | | | | | | persistent system property. Merge commit '1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945' * commit '1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945': adb: Allow enabling of device side adbd logging with a persistent system property.
| * adb: Allow enabling of device side adbd logging with a persistent system ↵Mike Lockwood2009-05-252-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | am 6a3075c7: adb: Add adbd to the AID_SDCARD_RW group to allow writing to ↵Mike Lockwood2009-05-251-1/+2
|\ \ | |/ | | | | | | | | | | | | | | the SD card. Merge commit '6a3075c78287ea5a7ee7a3c85cde58e894350822' * commit '6a3075c78287ea5a7ee7a3c85cde58e894350822': adb: Add adbd to the AID_SDCARD_RW group to allow writing to the SD card.
| * adb: Add adbd to the AID_SDCARD_RW group to allow writing to the SD card.Mike Lockwood2009-05-251-1/+2
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 0469d2c3: Merge change 2282 into donutAndroid (Google) Code Review2009-05-227-31/+115
|\ \ | |/ | | | | | | | | | | Merge commit '0469d2c37adddcb30cb0d88772bef33ac26c6500' * commit '0469d2c37adddcb30cb0d88772bef33ac26c6500': Support for 3rd party USB Vendor IDs in adb.
| * Support for 3rd party USB Vendor IDs in adb.Xavier Ducrohet2009-05-227-31/+115
| | | | | | | | | | | | | | | | | | | | 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)
* | am a09fbd16: Preparation work for adb to support USB vendor Ids provided by ↵Xavier Ducrohet2009-05-217-22/+104
|\ \ | |/ | | | | | | | | | | | | | | SDK add-ons. Merge commit 'a09fbd164d2e088bc5433d310e25640ae048d47d' * commit 'a09fbd164d2e088bc5433d310e25640ae048d47d': Preparation work for adb to support USB vendor Ids provided by SDK add-ons.
| * Preparation work for adb to support USB vendor Ids provided by SDK add-ons.Xavier Ducrohet2009-05-217-22/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | am a61755e5: Merge change 2077 into donutAndroid (Google) Code Review2009-05-202-13/+12
|\ \ | |/ | | | | | | | | | | | | Merge commit 'a61755e5fca065dfc89c7639bb672c20a4f9854e' * commit 'a61755e5fca065dfc89c7639bb672c20a4f9854e': move native_handle stuff from master_gl adb: adbd no longer disables OOM and now sets children's OOM adjustment to zero
| * adb: adbd no longer disables OOM and now sets children's OOM adjustment to zeroMike Lockwood2009-05-202-13/+12
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 1b154930: Merge change 1867 into donutAndroid (Google) Code Review2009-05-197-47/+54
|\ \ | |/ | | | | | | | | | | Merge commit '1b154930b2c2634dce9c04d5d5cec7acb229ccb0' * commit '1b154930b2c2634dce9c04d5d5cec7acb229ccb0': Cleaning up whitespace in adb sources. Nothing more, nothing less.
| * Cleaning up whitespace in adb sources. Nothing more, nothing less.David 'Digit' Turner2009-05-187-47/+54
| |
* | am 414ff7d9: Move fdevent from libcutils into adb directory. ADB is the only ↵David 'Digit' Turner2009-05-185-3/+586
|\ \ | |/ | | | | | | | | | | | | | | client of this API, and I intend to modify it extensively to clean its codebase soon. Merge commit '414ff7d98ac8d7610a26206335954ad15f43f3ac' * commit '414ff7d98ac8d7610a26206335954ad15f43f3ac': Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.
| * Move fdevent from libcutils into adb directory. ADB is the only client of ↵David 'Digit' Turner2009-05-185-3/+586
| | | | | | | | this API, and I intend to modify it extensively to clean its codebase soon.
* | am 3fd82b8: adb: osx: Match devices based on interface subclass and protDima Zavin2009-05-102-206/+176
|\ \ | |/ | | | | | | | | | | Merge commit '3fd82b8861aa410fab7785074941b459d92220c1' * commit '3fd82b8861aa410fab7785074941b459d92220c1': adb: osx: Match devices based on interface subclass and protocol
| * adb: osx: Match devices based on interface subclass and protocolDima Zavin2009-05-092-206/+176
| | | | | | | | | | | | | | | | 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>
* | Merge change 1171Android (Google) Code Review2009-05-081-1/+4
|\ \ | |/ |/| | | | | * changes: Allow adb to use ANDORID_SERIAL env variable to specify the device to talk to.
| * Allow adb to use ANDORID_SERIAL env variable to specify the device to talk to.Nick Pelly2009-05-071-1/+4
| | | | | | | | Overridden by -s.
* | adb seems to build in 64 bit mode these days, so it's safe to build for the ↵Marco Nelissen2009-05-011-2/+0
|/ | | | | | simulator too. While adb is not needed for the simulator, it's handy to have around when you're working with the simulator but need to look at a device.
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-133-1/+55
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-2/+3
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0340-0/+13929
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0340-13929/+0
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-1/+1
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-1/+2
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-096-641/+3
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-1721-280/+943
|
* Initial ContributionThe Android Open Source Project2008-10-2137-0/+13903