Go to file
Scott Anderson 2ca3e6b35f adb: Generalizing -s to take qualifiers.
Prior to this change, -s could take either a serial number or a
device path (e.g. "-s 01498B1F02015015" or "-s usb:1-4.2").  This
change extends -s to also allow product, model or device names
(e.g. "-s product:mysid").  These new qualifiers will only be
available on devices that are running an adb daemon that provides
properties in the connect message per Change-Id:
    I09200decde4facb8fc9b4056fdae910155f2bcb9

The product, model and device are derived from the
ro.product.name, ro.product.model and ro.product.device
properties respectively.  They are prefixed with "product:",
"model:" or "device:" as appropriate.  In addition, any
non-alphanumerics in the model are changed to underscores.

If the -s parameter matches multiple devices, the result will be
the same as when multiple devices are connected but no -d, -e or
-s option is specified.  In general, this means the user will get
"error: more than one device".  However for get-state,
get-devpath and get-serialno, they will get "unknown".

The format of "devices -l" was changed to list all of the
qualifiers that are available.  The following example output
(with the last digits of the serial numbers replaced with X's) is
with a Galaxy Prime with an older adb daemon and another Galaxy
Prime and Galaxy S both with the enhanced adb daemons:

List of devices attached
016B75D60A0060XX       device usb:2-5 product:mysid model:Galaxy_Nexus device:toro
3731B535FAC200XX       device usb:1-4.2 product:soju model:Nexus_S device:crespo
01498B1F020150XX       device usb:1-4.1

Note that the serial number and state are now column oriented
instead of tab delimited.  After the serial number and state, all
qualifiers are listed with each preceded by a space.  The output
of the original devices command (without -l) is unchanged.

Change-Id: Iceeb2789874effc25a630d514a375d6f1889dc56
Signed-off-by: Scott Anderson <saa@android.com>
2012-06-05 11:13:40 -07:00
adb adb: Generalizing -s to take qualifiers. 2012-06-05 11:13:40 -07:00
charger charger: make the almost-full frame only show when it's current level 2011-10-31 17:04:33 -07:00
cpio dist for dist_files 2010-12-09 10:33:27 -08:00
debuggerd DO NOT MERGE - disable memory dumps 2011-11-16 15:50:55 -08:00
fastboot fastboot: Add ability to specify device path 2012-04-19 11:59:09 -07:00
gpttool Add missing header to gpttool 2011-01-25 08:07:01 -08:00
include Document ANativeWindow's buffer refcounting 2011-12-12 16:54:14 -08:00
init HACK: Export androidboot.modelno as ro.boot.modelno -- DO NOT MERGE 2012-01-12 13:24:19 -08:00
libctest
libcutils qtaguid: shhhh. LOGI -> LOGV 2011-09-22 14:39:47 -07:00
libdiskconfig am 96a5482b: am fd6f3872: am 2985f81d: Merge "libdiskconfig: add missing LOCAL_MODULE_TAGS" 2011-08-30 09:51:01 -07:00
liblinenoise Improve linenoise.c compatability. 2010-06-04 14:32:01 +08:00
liblog Gracefully handle truncated log messages. 2011-10-26 18:59:42 -07:00
libmincrypt
libnetutils Wimax: wimax related changes for libnetutils 2011-11-07 17:15:19 -08:00
libnl_2 libnl_2: Fix memory leaks 2011-11-01 15:56:22 -07:00
libpixelflinger Fix DEBUG_NEEDS usage 2011-08-29 10:02:24 -07:00
libsysutils Remove log spam 2011-10-28 23:57:32 -07:00
libusbhost libusbhost: Limit bulk transfer requests to 16384 bytes 2011-03-12 14:06:49 -05:00
libzipfile
logcat logcat: add sanity check 2011-10-17 11:40:06 -07:00
logwrapper Get rid of warnings when compiled with -Wformat-security 2010-05-13 15:38:49 -07:00
mkbootimg dist for dist_files 2010-12-09 10:33:27 -08:00
netcfg Support adding, deleting, and clearing IPv6 addrs. 2011-09-28 17:12:13 -07:00
nexus - creates proper ifc.h and dhcp.h headers for libnetutils 2010-08-25 08:13:42 -07:00
rootdir am 5ebced39: init.rc: update the permission of /data/local. 2012-03-08 14:26:47 -08:00
run-as run-as: Bump the size of the internal packages list buffer. 2011-06-06 12:43:01 +02:00
sdcard Fix returning errno values which should be negative. 2011-07-22 22:05:27 +09:00
sh sh: null check signame list since sig 0 is not valid 2010-12-09 14:20:16 -08:00
toolbox Add md5 command to toolbox. 2012-01-13 11:24:50 -08:00
.gitignore
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Raise the viking killer min free values to match the system properties 2011-01-28 22:56:18 -08:00
README
ThirdPartyProject.prop add meta-files about 3rd party projects 2010-07-16 11:41:39 -07:00

README

The system/ directory is intended for pieces of the world that are the
core of the embedded linux platform at the heart of Android.  These
essential bits are required for basic booting, operation, and debugging.

They should not depend on libraries outside of system/... (some of them
do currently -- they need to be updated or changed) and they should not
be required for the simulator build.

The license for all these pieces should be clean (Apache2, BSD, or MIT).

Currently system/bluetooth/... and system/extra/... have some pieces
with GPL/LGPL licensed code.

Assorted Issues:

- pppd depends on libutils for logging
- pppd depends on libcrypt/libcrypto
- init, linker, debuggerd, toolbox, usbd depend on libcutils
- should probably rename bionic to libc