summaryrefslogtreecommitdiffstats
path: root/adb/adb.c
Commit message (Collapse)AuthorAgeFilesLines
...
* adb: Allow enabling of device side adbd logging with a persistent system ↵Mike Lockwood2009-05-251-10/+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>
* 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>
* Support for 3rd party USB Vendor IDs in adb.Xavier Ducrohet2009-05-221-3/+0
| | | | | | | | | | 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/+6
| | | | | | | | | | | | | 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: adbd no longer disables OOM and now sets children's OOM adjustment to zeroMike Lockwood2009-05-201-13/+0
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-1/+13
|
* 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-031-0/+1083
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1083/+0
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-10/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-54/+54
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1093