Go to file
Mike J. Chen 2a56688da9 Workaround Motorola ril.so incompatiblity with Netlink changes
To workaround a binary incompatiblity with Motorola's ril.so, I had to
temporarily provide the old constructor for NetlinkListener as well as
a new contructor that takes an additional format argument.
There's still a slight chance of a problem because the size of the
NetlinkListener has changed with the addition of the
mFormat member, but so far I've not seen any obvious problem with that
incompatiblity.

Another way we could have worked around the incompatiblity is to have
netd (the main user of the new format argument to NetlinkListener) keep
track of the format itself in it's NetlinkHandler (derived from NetlinkListener)
and supply it's own version of onDataAvailable() that's almost 100% identical
to NetlinkListener's except for the decode() call.  That would allow us
not to modify NetlinkListener at all.  Worth considering but I think it's
more properly divided right now and we just have to make Motorola fix their
code (and ideally not use our private APIs).

This change should be reverted when Motorola's has fixed their ril to
either not use our private APIs or to use our updated ones.

Change-Id: I255cca6908444e56cbbbed7eef1fa0cf1d8f0918
Signed-off-by: Mike J. Chen <mjchen@google.com>
2011-06-23 18:59:45 -07:00
adb Reimplement the "adb root" command to more closely match its previous behavior 2011-06-22 08:36:53 -04:00
cpio dist for dist_files 2010-12-09 10:33:27 -08:00
debuggerd am 716104b4: am 771f5146: am 4c0b9e3d: Merge "Fix crash reporting on x86 platform." 2011-06-09 11:24:17 -07:00
fastboot am c4eaebbe: am ab6e55f7: Merge "Enlarge USB bulk transfer size for faster downloads" 2011-04-27 11:38:29 -07:00
gpttool Add missing header to gpttool 2011-01-25 08:07:01 -08:00
include Workaround Motorola ril.so incompatiblity with Netlink changes 2011-06-23 18:59:45 -07:00
init init: Add support for assigning system properties to system properties in init.rc 2011-06-09 15:42:54 -07:00
libctest Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:50 -07:00
libcutils Merge "Config utils improvement" 2011-05-27 10:20:00 -07:00
libdiskconfig Disable building libdiskconfig on non-Linux hosts 2010-07-12 23:03:45 -07:00
liblinenoise Improve linenoise.c compatability. 2010-06-04 14:32:01 +08:00
liblog am 0c0f68e8: Fix a long standing bug in the output buffer size computation. 2010-08-18 13:38:04 -07:00
libmincrypt make DumpPublicKeys write 32-bit values as unsigned 2010-01-29 10:47:38 -08:00
libnetutils Revert some of change 109925 to fix connectivity 2011-05-25 21:22:56 -07:00
libpixelflinger pixelflinger: Provide more scanline shortcut functions. 2011-04-16 13:13:58 +02:00
libsysutils Workaround Motorola ril.so incompatiblity with Netlink changes 2011-06-23 18:59:45 -07:00
libusbhost libusbhost: Limit bulk transfer requests to 16384 bytes 2011-03-12 14:06:49 -05:00
libzipfile Fix a call to memset(3) with reversed arguments. 2009-09-03 11:52:31 -07:00
logcat Remove two unused event log tags. 2011-01-19 17:29:54 -08: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 update netcfg to use prefixLength not netmask 2011-02-15 11:39:55 -08:00
nexus - creates proper ifc.h and dhcp.h headers for libnetutils 2010-08-25 08:13:42 -07:00
rootdir Reimplement the "adb root" command to more closely match its previous behavior 2011-06-22 08:36:53 -04:00
run-as run-as: Bump the size of the internal packages list buffer. 2011-06-06 12:43:01 +02:00
sdcard am b26662c0: am c3e69903: am 97919656: Add support for the utime(2) family of system calls to the sdcard fuse filesystem. 2011-03-24 22:36:56 -07:00
sh sh: null check signame list since sig 0 is not valid 2010-12-09 14:20:16 -08:00
toolbox Enhance getevent to print event labels. 2011-06-15 17:44:52 -07:00
.gitignore Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets. 2009-05-26 13:23:23 -07:00
Android.mk Fix sim build. 2010-05-11 14:21:39 -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 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
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