| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using a getenv('OUT') in such a deep down function is a wrong design
choice. Replacing with explicit parameter that may be NULL in case
device specific files can be accessed from /.
Since TARGET_COPY_OUT_SYSTEM may be defined to something different than
system we also ensure that we use a path relative to TARGET_OUT to
compute path to fs_config_* files.
Bug: 21989305
Bug: 22048934
Change-Id: Id91bc183b29beac7379d1117ad83bd3346e6897b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a thread is created while the parent thread is "Background",
then the default timerslack value gets set to the current
timerslack value of the parent (40ms). The default value is
used when transitioning to "Foreground" -- so the effect is that
the timerslack value becomes 40ms regardless of foreground/background.
This does occur intermittently for systemui when creating its
render thread (pretty often on hammerhead and has been seen on
shamu). If this occurs, then some systemui animations like navbar
ripples can wait for up to 40ms to draw a frame when they intended
to wait 3ms -- jank.
This fix is to explicitly set the foreground timerslack to 50us.
A consequence of setting timerslack behind the process' back is
that any custom values for timerslack get lost whenever the thread
has transition between fg/bg.
See Bug: 19398120
Change-Id: Idc259717f62fa2255f8bafbbf88b68c0043f29cf
|
|/
|
|
|
|
| |
bug 21782794
Change-Id: I3b2cf8ae4f3ed0c14f206584ae7fa2b1a1d11ad0
|
|
|
|
|
|
| |
bug 21782794
Change-Id: I249531754fb29442dc3c7434d77dbb103f4220a7
|
|
|
|
|
|
| |
Bug: http://b/20501816
Change-Id: I1839b48ee4f891b8431ecb809e37a4566a5b3e50
(cherry picked from commit 47b0134ec2b5e8c8b5b5671cd4a3e41261275532)
|
|
|
|
|
|
|
|
|
|
|
|
| |
If /dev/kmsg already exists, it's unnecessary for klog_init()
to create it's own copy. This avoids needing to grant the mknod
permission to everyone who uses kmsg. Typically the only time
/dev/kmsg doesn't exist is before ueventd starts.
(cherrypicked from commit 4d32a486fe62ef2c1440167604654a2f4e023fbd)
Bug: 21242418
Change-Id: I0c88d80feca6899fcdbc8c9f2f99448ee0a3422d
|
|
|
|
|
|
|
|
|
| |
User specified values of numInts and numFds can overflow
and cause malloc to allocate less than we expect, causing
heap corruption in subsequent operations on the allocation.
Bug: 19334482
Change-Id: I43c75f536ea4c08f14ca12ca6288660fd2d1ec55
|
|
|
|
|
|
|
|
|
|
|
| |
Also simplifies the Darwin implementation of gettid, because
apparently libbacktrace had a better way of doing it.
Bug: 19517541
(cherry picked from commit 23f750b068ddf5b20fb5d153a798b22562368992)
Change-Id: I2f888e8ed7a2f5719973786cbcbb399a81867ee9
|
|
|
|
|
|
|
|
|
|
| |
Accidentally had this all hidden by an #ifndef _WIN32 when I wrote it.
Bug: 19517541
(cherry picked from commit b3a36ca5ee79411c18984b85b224d9285b4468af)
Change-Id: Ifbd5d19e506e7313700e2e29a2dae5736e049844
|
|
|
|
|
|
| |
We weren't even building this.
Change-Id: I8b2afbc76d784a7b24bbe0be6502b9fbcf0b5c09
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix broken mips64 build by replacing mips32r2-only android_memset.S.
Use HW-bonded pairs of 64-bit stores to fill 128 bits/cycle.
Rely on HW automatic cache prefetch optimizations.
Software cache prefetching is counterproductive on next mips cores.
New method is coded in C, and also works okay on non-Mips architectures.
Change-Id: Id7153a8fe11538fe25287e101375661b0e99e2a2
|
|\ \ |
|
| | |
| | |
| | |
| | | |
This reverts commit c3bac8b6719332f31140b2a034b70cf7f9eb3e51.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cutils/endian.h provides the helpers defined in endian(3), either by
pulling in the OS's built-in endian.h (where available) or recreating
them using GCC builtins.
Change-Id: Ic8965f67e1efdc03f884dbe6b7fe0276f840e4fc
Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 20262261
Change-Id: Idaf984786804eb76c285f38b11abbbc0d3706509
|
| | |
| | |
| | |
| | |
| | | |
Bug: 19908228
Change-Id: I3273cf99b320941f9530a015c9e582af72469acb
|
| |/
|/|
| |
| |
| | |
Bug: 19908228
Change-Id: Ia725d20ca4f8a87deec63b6c661f6a09c8671231
|
| |
| |
| |
| |
| |
| |
| | |
- Causes a build break for MAC and Windows
Bug: 19908228
Change-Id: I9d69967aa988c9ca202805593fa846cb670101cf
|
| |
| |
| |
| |
| | |
Bug: 19908228
Change-Id: Icb0e189a86758bb779b9bdf7c0d92216d297869f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Intention is to read from ${OUT}/system/etc/fs_config_dirs and
${OUT}/system/etc/fs_config_files on host. And
/system/etc/fs_config_dirs and /system/etc/config_files
on target systems.
Bug: 19908228
Change-Id: Ieaedd99e88c7f7f717878d9344c387ddf335ccbb
|
|/
|
|
|
|
|
|
| |
There is no endian.h on windows
This reverts commit 4e5f71ae727c5993db05d0024da026bf68eabc59.
Change-Id: I6aedf35ed319c7f8febc7ab98e104a625fb27f69
|
|
|
|
|
|
|
|
|
|
| |
Intention is to read from ${OUT}/system/etc/fs_config_dirs and
${OUT}/system/etc/fs_config_files on host. And
/system/etc/fs_config_dirs and /system/etc/config_files
on target systems.
Bug: 19908228
Change-Id: I0966a94f79a3fae4f7325056c701ea355370f9df
|
|
|
|
|
| |
Bug: 19908228
Change-Id: Id51c0c50eb2677824d052882f4263193a08e1402
|
|
|
|
|
| |
Bug: 19908228
Change-Id: I78e6a8d780e578a287ffdee7b7120ecc74797e80
|
|
|
|
| |
Change-Id: I572c553227a5a2cd57ec304de7e898d7c801fe93
|
|
|
|
|
|
|
| |
Several people have been independently confused about when this gets
built and why over the past couple of days.
Change-Id: I2d4a02f66e24c0734327585b7d27e50a344b1e94
|
|
|
|
|
|
|
|
|
|
|
| |
This also fixes the bug where we were always testing against the fake
strlcpy we provide for glibc/Windows rather than the Android one.
This also removes some unnecessary library dependencies.
This also builds all the cutils tests for the host (static and dynamic).
Change-Id: Icd129d5b025c0ca801be5acf31a54ecd88608df9
|
|
|
|
| |
Change-Id: Ia826dd872f64cc80635f50525a0c393f43ae5204
|
|
|
|
| |
Change-Id: Ic727508d9cfadea0050d1ccc491ee61aac1ef55a
|
|
|
|
|
|
|
|
|
|
| |
Also move them to libc++ since stlport is dead.
Bug: 18389856
This reverts commit bb28776db0f5a107ef2b90ff1322f4c06b6cc7de.
Change-Id: Icdf9be3bc5cc40433727ff71a121b145002dda72
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This change defines atrace_* functions for the host that act as
no-ops, which makes it easier to add tracing in ART.
Change-Id: I89397e83986686a2b6a6f245c25017eb379081b1
|
| |
| |
| |
| |
| |
| | |
Whether the open succeeds or fails, we should unlink.
Change-Id: Ic2f1e10dc7b6d6e459c56049da00d165bd63ba8f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also make important events in init's life NOTICE rather than INFO,
and ensure that NOTICE events actually make it to the kernel log.
Also fix the logging so that if you have a printf format string
error, the compiler now catches it.
Also give messages from init, ueventd, and watchdogd distinct tags.
(Previously they'd all call themselves "init", and dmesg doesn't
include pids, so you couldn't untangle them.)
Also include the tag in SELinux messages.
Bug: 19544788
Change-Id: Ica6daea065bfdb80155c52c0b06f346a7df208fe
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Needed by host dex2oat.
Change-Id: Ia5b53136de3d531c820f03c3f251e58418204be1
|
| |
| |
| |
| |
| |
| | |
Add include files for types and functions that were not included properly.
Change-Id: I4849f5bdf535c6eec9254228cf980c30d11a5a1b
|
| |
| |
| |
| | |
Change-Id: I7a1f726819c68eea1afb7e45f92954325f8933e1
|
| |
| |
| |
| | |
Change-Id: I7d1ee439d25e17c31c0be448e67a90a0f626ff42
|
| |
| |
| |
| | |
Change-Id: I4209f2d66d8701df2f32dcfb79abea9ea6d3dc69
|
|/
|
|
| |
Change-Id: Ic8a15036833e6d129b7998d954b804be391de399
|
|\
| |
| |
| |
| | |
* commit '6864e6739027adf725ced33777d3e21f80a95479':
More SOCK_CLOEXEC
|
| |
| |
| |
| | |
Change-Id: I3e18f34d08a6443aaf55d7c91c27867840ac1773
|
|\ \
| |/
| |
| |
| | |
* commit 'f1ac6917da172dd3e6829bac41fcbf23e96da079':
Remove loghack.h.
|
| |
| |
| |
| |
| |
| |
| | |
This was supposedly used to enable logging when !HAVE_ANDROID_OS
but it's only used in a file that's target specific.
Change-Id: Id83f2597e48a66b4821fc3b1237e212872b909fb
|
|\ \
| |/
| |
| |
| | |
* commit '623eebe68f3c6c9e54cf5b186696052d2948410c':
Libcutils: Remove unused variable
|