Commit Graph

27130 Commits

Author SHA1 Message Date
Evgenii Stepanov ac3cf2ea9d Merge "Disable integer sanitization on host."
am: afe25958b6

Change-Id: Ife305a5aabaf4da63de54819f5895576e2078ba5
2017-02-01 19:33:01 +00:00
Evgenii Stepanov afe25958b6 Merge "Disable integer sanitization on host." 2017-02-01 19:23:40 +00:00
Greg Hackmann 16cebae0af Merge changes from topic 'adf-uapi-cleanup'
am: ae03c6917d

Change-Id: Ib23305be0f628cdb858d791474737bbfa34a13ea
2017-02-01 04:44:20 +00:00
Greg Hackmann 42429e6c0d libadf: move ADF uapi header out of bionic
am: fe79bcbef8

Change-Id: Ifdc2cd16dcdc50c96a578687aa280cf91010b3ef
2017-02-01 04:43:05 +00:00
Greg Hackmann 33d2307567 libadf: adf_test: fix clang + kati build
am: 09f8f986a9

Change-Id: Ie09d5973cae00ba2e54e6e062c2709207adf71e7
2017-02-01 04:42:59 +00:00
Treehugger Robot ae03c6917d Merge changes from topic 'adf-uapi-cleanup'
* changes:
  libadf: move ADF uapi header out of bionic
  libadf: adf_test: fix clang + kati build
2017-02-01 04:38:15 +00:00
James Hawkins 0d5300a12d Merge "bootstat: Update the wording of 'soft reboot' to 'runtime restart'."
am: 31cf946d5b

Change-Id: Ia8c25373932be946fc78d33622a2177d99154688
2017-02-01 03:23:15 +00:00
Treehugger Robot 31cf946d5b Merge "bootstat: Update the wording of 'soft reboot' to 'runtime restart'." 2017-02-01 03:18:18 +00:00
James Hawkins f1c2350668 bootstat: Update the wording of 'soft reboot' to 'runtime restart'.
In an effort to be more accurate with respect to terminology.

Bug: None
Test: None
Change-Id: Ida8e118975e715c686aa7fd526f964e78c06aa06
2017-02-01 01:30:08 +00:00
Paul Lawrence c6030b290d Merge "Expand seccomp whitelist"
am: 2cd07e8b97

Change-Id: Ifb12885c6fa7d0f16306984d10a8da4b4b9d1a20
2017-02-01 01:21:38 +00:00
Treehugger Robot 2cd07e8b97 Merge "Expand seccomp whitelist" 2017-02-01 01:17:43 +00:00
Evgenii Stepanov 54c7886c40 Disable integer sanitization on host.
Test: NFC until https://android-review.googlesource.com/#/c/329510
Change-Id: I4d1bb66821b2984bbee12438cfd72b9b63d56605
2017-01-31 16:33:53 -08:00
Paul Lawrence 8afdd2aac6 Expand seccomp whitelist
Bug: 34817266
Test: Boots, app starts
Change-Id: I39026064ec6c7130256ae463163c1f7634e3bdd4
2017-01-31 15:26:00 -08:00
Greg Hackmann fe79bcbef8 libadf: move ADF uapi header out of bionic
ADF isn't a candidate for upstreaming and isn't (directly) usable from
unprivileged NDK code, so it makes more sense to keep video/adf.h as a
private header inside libadf, where it'll still be usable by HWC
implementations without shipping in the NDK.

libadf exports its entire include/ directory, so this shouldn't have
any impact on HWC implementations that already link against libadf.

Test: mmm system/core/adf/libadf
Test: /data/nativetest64/adf-unit-tests/adf-unit-tests (on Nexus 9)
Change-Id: I14532d59005196e002f7465474ac3c7cc9e59bd3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2017-01-31 23:08:26 +00:00
Josh Gao 6462bb41e0 debuggerd_handler: add and use fatal_errno.
Bug: none
Test: mma
Change-Id: I24d913abdbe74f9463feda78f7817ca8b92af9cc
2017-01-31 14:59:05 -08:00
Greg Hackmann 09f8f986a9 libadf: adf_test: fix clang + kati build
kati needs us to add "tests" as a subdir of the libadf Android.bp.
clang also requires an explicit definition of AdfTest::dev_id where
g++ does not.

Test: mmm system/core/adf/libadf
Test: /data/nativetest64/adf-unit-tests/adf-unit-tests (on Nexus 9)
Change-Id: I1fc371af1b5b115f088edd963a87e6647a52882b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2017-01-31 22:55:46 +00:00
Paul Lawrence 329417241e Merge "Expand seccomp whitelist"
am: 301e7e2cdb

Change-Id: I95275cc837f87c7025b74ddc56ba3477d2789798
2017-01-31 22:48:45 +00:00
Treehugger Robot 301e7e2cdb Merge "Expand seccomp whitelist" 2017-01-31 22:44:44 +00:00
Paul Lawrence ae3f906093 Expand seccomp whitelist
Bug: 34813887
Bug: 34809883
Bug: 34767389
Bug: 34719286
Test: Device boots, the app in b/34719286 runs when it didn't before
Change-Id: Iad198e3ca620e7a07464b0d182f969bb807bd948
2017-01-31 08:35:00 -08:00
Mark Salyzyn 7acdb2c9e3 Merge "logcat: test: inject() tuning"
am: 26a714a0ab

Change-Id: Ie7f63c15466e8d82cc61da100439466984b89472
2017-01-31 16:03:26 +00:00
Treehugger Robot 26a714a0ab Merge "logcat: test: inject() tuning" 2017-01-31 15:59:22 +00:00
Josh Gao 4178ab53c2 Merge changes Ibd7bbddb,I2f571009
am: 53f2d82951

Change-Id: If9a0933ff470540e8d03d20379f6d593d3422f8c
2017-01-31 04:02:41 +00:00
Josh Gao cc1110f1f3 debuggerd: fix `debuggerd <pid>`
am: 1e4afb52c5

Change-Id: I331559a71d88b495d81e7b980864560597d57492
2017-01-31 04:02:40 +00:00
Josh Gao b5be6e3017 debuggerd: fix `debuggerd -b <pid>`
am: b53f903cf1

Change-Id: I1debdd851ae51a5e9aeeca9f7c7f970518c17283
2017-01-31 04:02:33 +00:00
Josh Gao d78eb9cd9e Merge "debuggerd_handler: improve nonfatal signal message."
am: 698035b8fe

Change-Id: Ia7f8c7629c8a2390fb7b4e048e2d46216678c811
2017-01-31 04:02:17 +00:00
Treehugger Robot 53f2d82951 Merge changes Ibd7bbddb,I2f571009
* changes:
  debuggerd: fix `debuggerd <pid>`
  debuggerd: fix `debuggerd -b <pid>`
2017-01-31 03:58:10 +00:00
Josh Gao 698035b8fe Merge "debuggerd_handler: improve nonfatal signal message." 2017-01-31 03:57:20 +00:00
Josh Gao 1e4afb52c5 debuggerd: fix `debuggerd <pid>`
Bug: none
Test: `debuggerd mediaserver`
Change-Id: Ibd7bbddb92a99ce49622c0ecc9329a3723f2085d
2017-01-30 17:58:04 -08:00
Josh Gao b53f903cf1 debuggerd: fix `debuggerd -b <pid>`
Dump all of the threads when using `debuggerd -b`.

Bug: http://b/34719257
Test: `debuggerd -b mediaserver`
Change-Id: I2f57100985e5b0c2bf019482ba9feff31921692f
2017-01-30 17:58:04 -08:00
Josh Gao 4ed00c8d73 debuggerd_handler: improve nonfatal signal message.
"Fatal signal 35 (???)" -> "Requested dump for"

Bug: http://b/34809044
Test: debuggerd -b $$
Change-Id: I9ece0ee1117203d30142b843973ed7e5435e21da
2017-01-30 17:58:04 -08:00
mtezych 32b3c649f5 Merge "libsync: Replace inserting tuple into unordered_map in favour of pair."
am: 0617179c8c

Change-Id: I6a4059685b8fd18ecc2b54d8ee3b0e4630e7f3a7
2017-01-31 01:18:42 +00:00
mtezych 3500cee3e1 libsync: Replace inserting tuple into unordered_map in favour of pair.
am: 380b2f4fea

Change-Id: I7d51073a79862b2f7f03acb5b175d3956b407b0d
2017-01-31 01:17:12 +00:00
Treehugger Robot 0617179c8c Merge "libsync: Replace inserting tuple into unordered_map in favour of pair." 2017-01-31 01:14:15 +00:00
Mark Salyzyn cb29e6e94f Merge "Revert "Continue using the legacy NDK android/log.h.""
am: 33aa9fc0e1

Change-Id: I3503c798091849462ac68fae662bbf61eed2a799
2017-01-31 00:17:29 +00:00
Treehugger Robot 33aa9fc0e1 Merge "Revert "Continue using the legacy NDK android/log.h."" 2017-01-31 00:13:28 +00:00
Mark Salyzyn 9b4d7e1c38 logcat: test: inject() tuning
Add a hidden -v nsec flag to logcat (actually logprint in liblog.so)
so that we can do more exacting tests of logcat.tail_time.  Halve the
spam pressure of logcat.tail_* in inject() routine, and give us a few
more retries at the higher counts.  Add instrumentation to
logcat.logrotate failures.  Add inject for logcat.year test.

Test: gTest logcat-unit-tests
Bug: 34454772
Change-Id: If6f3bd21892c8a2b9ccee8c8bbf592a1ae0b2a57
2017-01-30 15:42:56 -08:00
mtezych 380b2f4fea libsync: Replace inserting tuple into unordered_map in favour of pair.
Inserting tuple into unordered_map relies on non standard libc++ extension:
http://stackoverflow.com/a/21313229
This change removes this dependency.

Test: sync-unit-tests (on hikey with SW_SYNC_USER built into kernel)
2017-01-30 23:39:03 +00:00
Christopher Ferris f2950bd60f Merge "Do not build any host targets on mac."
am: a6c62f6832

Change-Id: Ib4252fceaf07be8f2bd55ec2bc7da42e4b1993a1
2017-01-30 23:38:26 +00:00
Treehugger Robot a6c62f6832 Merge "Do not build any host targets on mac." 2017-01-30 23:34:03 +00:00
Mark Salyzyn bdac221cc3 Revert "Continue using the legacy NDK android/log.h."
Use refreshed android/log.h for NDK

This effectively a modern revert of the commit
b7c3996f7c

Test: build
Bug: 30465923
Bug: 34250038
Change-Id: I7d4a5134bb711051283c36a2d5bc803436dca12e
2017-01-30 22:14:59 +00:00
Christopher Ferris 01d50374ad Do not build any host targets on mac.
Bug: 23762183

Test: Compiled.
Change-Id: I42afabeb7d3576ea4afd4af05bb1cabd79ac76e5
2017-01-30 13:45:16 -08:00
Christopher Ferris 7ac7dd82dc Merge "Remote reference to log/logger.h"
am: a5cfc8b1e6

Change-Id: I575b0fd3c82b548be50519c68be254a34d344f67
2017-01-30 21:36:49 +00:00
Christopher Ferris a5cfc8b1e6 Merge "Remote reference to log/logger.h" 2017-01-30 21:32:17 +00:00
Christopher Ferris 71a2dcfc64 Remote reference to log/logger.h
It was made an error to include this file after I went through the
presubmit checks.

Test: Compiles.
Change-Id: If00b0b644ecef95325636cec094cfcb399e307f9
2017-01-30 13:24:51 -08:00
Christopher Ferris 46895b8af7 Merge "New version of unwinder."
am: e69b1b9831

Change-Id: Ifaf9faa0d6e1cbdbbd55638ceb0f55b79a82922c
2017-01-30 21:06:16 +00:00
Christopher Ferris e69b1b9831 Merge "New version of unwinder." 2017-01-30 21:01:56 +00:00
Sandeep Patil b6aa686c71 Merge "init: split property context into platform & non-platform components"
am: d04b1ac006

Change-Id: I2ba052e3823606d8171aa39391b7d0259033c5cf
2017-01-30 19:25:19 +00:00
Sandeep Patil a0f91e8efc init: split property context into platform & non-platform components
am: 7a5db4ec7f

Change-Id: Ic0e4926d9142b56256cce3ba7e27d4dc231fe856
2017-01-30 19:21:52 +00:00
Sandeep Patil d04b1ac006 Merge "init: split property context into platform & non-platform components" 2017-01-30 19:16:17 +00:00
Elliott Hughes 1890bd1b2e Merge "bionic and init don't need to share knowledge of property file locations."
am: 9cd890e9b7

Change-Id: I5dea4b63c71322d1e5502c3f1a4f449a91b15b71
2017-01-28 16:48:37 +00:00