replicant-frameworks_native/include
Kenny Root 61ef747e0e Use pread() in ZipFileRO for Linux
AssetManager instances are created by zygote and passed to all its
children so that they don't have to individually open
frameworks-res.apk. This creates a problem for determining the current
file offset when using lseek() on those files, because you can't
guarantee the cross-process locking of a mutex. Luckily, Linux
implements pread() to get around this suckiness.

The problem is that only Linux implements this, so we have to keep the
old locking for use on host builds with aapt and friends. aapt doesn't
have this same problem of sharing file descriptors across forked
processes, so we can keep the local AutoMutex to protect accesses of
those files.

Change-Id: Ibe9f11499a53fe345f50fbaea438815ec0fd363e
2010-10-04 15:17:19 -07:00
..
binder Don't propagate StrictMode over one-way Binder calls. 2010-08-31 13:16:49 -07:00
gui Replace epoll() with poll() and rename PollLoop to Looper. 2010-09-14 01:59:45 -07:00
pim
private fix a race in SF buffer management 2010-08-26 17:42:27 -07:00
surfaceflinger add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
tts Update TTS plugin interface to receive engine configuration data 2010-03-18 11:52:41 -07:00
ui Wait for initial device scan to finish before updating config. 2010-10-01 18:55:43 -07:00
utils Use pread() in ZipFileRO for Linux 2010-10-04 15:17:19 -07:00