Narayan Kamath
dd22aeff73
Don't allow SUPPORTED_ABIs to be set by the native bridge.
...
SUPPORTED_ABIs is a prioritized list of all ABIs a device
support, and must not vary depending on whether or not an app
is emulated.
bug: 18061712
(cherry picked from commit 66f0d93c26
)
Change-Id: I99cea3a56228dac43ae310c295881881e5a77c31
2014-10-22 18:56:32 +01:00
Chih-hung Hsieh
3a38717691
Merge "Don't build init with clang for now"
2014-10-16 16:22:03 +00:00
Chih-Hung Hsieh
7979f1ce5f
Merge "Do not inline rarely used trace function bodies."
2014-10-15 17:49:03 +00:00
Mark Salyzyn
a8aad1667f
Merge "logd: insert order for first entry"
2014-10-14 23:57:33 +00:00
Mark Salyzyn
eae155e1ce
logd: insert order for first entry
...
Change-Id: I39e8e6d32407a1796a0c3a121f9dc4dc5402c3df
2014-10-14 23:57:13 +00:00
Chih-Hung Hsieh
2d3150e736
Do not inline rarely used trace function bodies.
...
When atrace_* functions are inlined,
the rarely used 1024-byte buffers are allocated on stack.
BUG: 17444504
Change-Id: I773512aeb70e8b79f3803c6d59cba064d2aa65b6
2014-10-14 15:37:20 -07:00
Dmitriy Ivanov
e63fb8bd80
Merge "Remove libsigchain from LD_PRELOADs"
2014-10-14 17:39:22 +00:00
Riley Andrews
3bcd569490
Merge "Add gtest conformance tests for libsync."
2014-10-11 19:40:32 +00:00
Riley Andrews
d0d7f6ac08
Add gtest conformance tests for libsync.
...
Not complete yet, but substantially more comprehensive than the
interactive test that was there before.
(cherry-picked from internal master, same change-id).
Change-Id: I9019b0a8babbc91f78aa850e0e288bbf05f93500
2014-10-11 02:10:23 +00:00
Mark Salyzyn
6b66025f6f
Merge "fs_mgr: fix build breakage"
2014-10-09 14:14:55 +00:00
Mark Salyzyn
89fa114e2a
fs_mgr: fix build breakage
...
Some compilers are not as smart as other compilers
Change-Id: I9d93c73bdbd2dca37373d8a42a2ed510d0559274
2014-10-08 16:43:47 -07:00
Elliott Hughes
47d2441657
Merge "Fix top for very large VSS."
2014-10-08 18:20:31 +00:00
Elliott Hughes
052d78f334
Fix top for very large VSS.
...
Bug: 17913995
Change-Id: Ib8359345f3194780ae50019292c2746eb21a7612
2014-10-08 11:20:03 -07:00
Dmitriy Ivanov
c9f9f35efa
Remove libsigchain from LD_PRELOADs
...
Bug: 15345057
Bug: 15426766
Change-Id: If0b7f59a59824e30aa0c33dad76c7a44932180de
2014-10-07 13:39:02 -07:00
Mark Salyzyn
a083c8578a
Merge changes I7d0b85b5,I74796043
...
* changes:
logd: LogStatistics leak
logd: kill(0,0) issue
2014-10-07 14:23:46 +00:00
Mark Salyzyn
f48ea7c8dc
logd: LogStatistics leak
...
- uid = -1 in subtract operation to match add
Change-Id: I7d0b85b5334c5264fd04309cb78e0c9aec0ad261
2014-10-06 22:43:56 +00:00
Mark Salyzyn
df5aa61f05
logd: kill(0,0) issue
...
- Recognize pid=0 as special case (kernel or pre-init sourced)
and refrain from treating it in the general case.
Bug: 17526159
Change-Id: I74796043ac34753c6dd10018719ebc0bcd94e012
2014-10-06 22:43:46 +00:00
Mark Salyzyn
09dc063319
Merge changes I74796043,I74796043
...
* changes:
logd: Add control statistics enable/disable.
logd: cleanup
2014-10-06 22:43:26 +00:00
Mark Salyzyn
f5fc509589
logd: Add control statistics enable/disable.
...
- ro.build.type=user turn off statistics
- ro.config.low_ram=true turn off statistics
- logd.statistics override
Bug: 17526159
Bug: 17526187
Change-Id: I74796043ac34753c6dd10018719ebc0bcd94e00f
2014-10-06 22:42:47 +00:00
Mark Salyzyn
e72c6e4366
logd: cleanup
...
- simplify access and control exposure to class list
- indent
- compile warning
- Follow standard naming convention for variables and methods
- merge common fragments
- Side Effects: none
Change-Id: I74796043ac34753c6dd10018719ebc0bcd94e010
2014-10-06 22:42:07 +00:00
Chih-Hung Hsieh
4fceda2b53
Merge "Add -no-integrated-as at local level."
2014-10-06 22:02:06 +00:00
Chih-Hung Hsieh
60c57dad4e
Add -no-integrated-as at local level.
...
Later we will enable integrated-as as default at the global level.
BUG: 17820427
Change-Id: I1beed3e75d074d970fa9112ec1c0f0df3d43947a
2014-10-06 13:33:25 -07:00
Elliott Hughes
b1dd4af7c4
Merge "Fix a typo in ioctl usage message."
2014-10-06 17:12:01 +00:00
Elliott Hughes
a0d61ba3e9
Fix a typo in ioctl usage message.
...
Change-Id: I850dd9995a8ad6cb1f606cca2f57d7dbba2f40ed
2014-10-06 10:09:25 -07:00
Hans Boehm
41198eea42
Merge "Revert "Rewrite atomic.h to use stdatomic.h.""
2014-10-04 01:31:49 +00:00
Hans Boehm
2789faabfa
Revert "Rewrite atomic.h to use stdatomic.h."
...
This reverts commit cb344d4640
.
Change-Id: Ib17cd8d00695062177ce863cedc4ec7148012317
2014-10-04 00:49:06 +00:00
Hans Boehm
028928fe3c
Merge "Rewrite atomic.h to use stdatomic.h."
2014-10-03 23:47:36 +00:00
Bernhard Rosenkraenzer
84e07fb7a4
Don't build init with clang for now
...
init doesn't start when built with clang.
Set LOCAL_CLANG:=false until this is analyzed and fixed.
Change-Id: I5a7944aef676ce88defe5c0449e712d9812fb5f3
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2014-10-04 01:36:49 +02:00
Calin Juravle
c60836263e
Merge "Use initUnchangeableSystemProperty for initializing os.arch."
2014-10-02 17:28:39 +00:00
Hans Boehm
cb344d4640
Rewrite atomic.h to use stdatomic.h.
...
Replace atomic-inl.h with a file that just includes atomic.h.
Remove platform specific implementations.
Change-Id: If16d74fbe0af7836ed8c1296c17e13a2d0d20f64
2014-10-01 17:37:20 -07:00
Calin Juravle
c3eb4314b7
Use initUnchangeableSystemProperty for initializing os.arch.
...
Bug: 17713104
(cherry picked from commit 00851a53be
)
Change-Id: Ibddc535248a10e3534586eafb76c074332e025c4
2014-10-01 21:16:16 +01:00
Mark Salyzyn
fc1357cffb
Merge "logd: in nonblocking read, sched_yield() synchronization"
2014-09-29 17:41:11 +00:00
Mark Salyzyn
f669acb018
logd: in nonblocking read, sched_yield() synchronization
...
- sched_yield and lock synchronization in reader thread
startup to give writer thread a chance to catch up
Bug: 17512203
Change-Id: I43cf0b4e2829b22b3ab4e537fa95ce13c76a869c
2014-09-29 17:40:10 +00:00
Andreas Gampe
68c19686e8
Merge "Fix mac build for nativebridge tests."
2014-09-29 14:59:50 +00:00
Calin Juravle
c00994df05
Fix mac build for nativebridge tests.
...
Bug: 17671501
(cherry picked from commit 2e5e8cc92081da6b0af658d12a60334acea441a1)
Change-Id: Id0d729a25a5cea2fed5005cdea750e9e94f46d21
2014-09-29 07:58:15 -07:00
Mark Salyzyn
aa68f3e9dd
Merge "logd: auditd: report facility LOG_AUTH"
2014-09-28 22:41:29 +00:00
Mark Salyzyn
7ee2aef8e0
logd: auditd: report facility LOG_AUTH
...
Change-Id: Ie325e1b58f52b6c728d5cfd6f6b87287fcf32e10
2014-09-28 14:42:05 -07:00
Alex Klyubin
e3d3016d46
Merge "Switch from using base64 BIOs to encoding funcs."
2014-09-26 21:51:36 +00:00
Andreas Gampe
3496e327ae
Merge "LibNativeBridge: Add testing"
2014-09-26 19:59:37 +00:00
Dan Albert
19d686ee93
Merge "Don't manually link stlport."
2014-09-26 19:39:44 +00:00
Dan Albert
b50af2bc60
Don't manually link stlport.
...
Change-Id: I60d2bc868fb9052f120103e9675046ef54f510d0
2014-09-26 10:37:30 -07:00
Andreas Gampe
04054e28e2
LibNativeBridge: Add testing
...
Change PreInitializeNativeBridge to have a different path for
the host to allow testing. Add a test (needs root privileges).
Add a test for NeedsNativeBridge.
Change error reporting to use strerror.
Change-Id: Id2d488f0484ff8b0438863b48ef43770e784505f
2014-09-25 23:18:31 -07:00
Andreas Gampe
9f93e297ee
Merge "LibNativeBridge: Fix two bugs"
2014-09-26 04:47:10 +00:00
Andreas Gampe
2f71cb24fa
LibNativeBridge: Fix two bugs
...
Instruction set comparison must include the termination character
so that prefixes are not identified as equal.
Mount argument order was wrong.
Change-Id: Ib70e36ce2ea5af158ebc9d7fafd00e978348d73d
2014-09-25 21:34:25 -07:00
Dan Albert
5b4a1767f6
Merge "Revert "Switch adb to epoll(2).""
2014-09-25 22:17:13 +00:00
Dan Albert
45741ae2ea
Revert "Switch adb to epoll(2)."
...
This reverts commit 67de1557b0
.
2014-09-25 15:10:34 -07:00
Ian Rogers
f502b38427
Merge "LibNativeBridge: Fix mac build warning"
2014-09-25 03:44:40 +00:00
Andreas Gampe
4390a63236
LibNativeBridge: Fix mac build warning
...
Change-Id: I5a819cb5edb064b8a7288b5f2b3100c515421adf
2014-09-24 20:14:28 -07:00
Andreas Gampe
13f00594f8
Merge "LibNativeHelper: No bind mount on mac"
2014-09-24 23:40:28 +00:00
Andreas Gampe
962eb40abb
LibNativeHelper: No bind mount on mac
...
Cannot bind-mount /proc/cpuinfo on the mac.
Change-Id: Id5f0cd46ba0eba484477c56bbecf14d95e88d6f2
2014-09-24 16:36:17 -07:00