Files
frameworks_base/libs/utils
Rebecca Schultz Zavin bc4afde167 Need to dup file descriptor when reading from the binder for native handles
When reading a native handle that has passed through the binder,
the fds have to be duped to prevent them from getting closed when the binder
object is destructed.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-02-13 16:34:38 -08:00
..
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00

Android Utility Function Library

If you need a feature that is native to Linux but not present on other
platforms, construct a platform-dependent implementation that shares
the Linux interface.  That way the actual device runs as "light" as
possible.

If that isn't feasible, create a system-independent interface and hide
the details.

The ultimate goal is *not* to create a super-duper platform abstraction
layer.  The goal is to provide an optimized solution for Linux with
reasonable implementations for other platforms.