Commit graph

39299 commits

Author SHA1 Message Date
Elliott Hughes
211b21bbf9 Merge "Build toolbox with _FILE_OFFSET_BITS=64." am: 98aad49d58 am: 9e2d0b33f1
am: a87503d424

Change-Id: I0720907d554369cf19cd8b1cf29a66d0e9192ac8
2018-01-23 21:10:50 +00:00
Tom Cherry
0af69c2de1 Merge "Make vendor_init check SELinux before setting properties" am: f09649c231 am: 6c8ab36b0e
am: 2a9dd6e2ef

Change-Id: I2d7bc09846eff34923f3442c38ca94458634b007
2018-01-23 21:09:22 +00:00
Christopher Ferris
09efc61a75 Merge "Fix null ptr dereference if jit debug not enabled." am: b04bbccbb6 am: 67c7c1d911
am: acebf4f152

Change-Id: I3b2868820ccb59e6fd5c3d6df88934b4f77281a4
2018-01-23 21:08:48 +00:00
Elliott Hughes
a87503d424 Merge "Build toolbox with _FILE_OFFSET_BITS=64." am: 98aad49d58
am: 9e2d0b33f1

Change-Id: I1ef33edb235909badcea8c91803a41ff7dfc913a
2018-01-23 20:12:09 +00:00
Tom Cherry
2a9dd6e2ef Merge "Make vendor_init check SELinux before setting properties" am: f09649c231
am: 6c8ab36b0e

Change-Id: Ibc5af95683c83d81fd970725a453990a9678b374
2018-01-23 20:10:55 +00:00
Christopher Ferris
acebf4f152 Merge "Fix null ptr dereference if jit debug not enabled." am: b04bbccbb6
am: 67c7c1d911

Change-Id: I70f68f022f2dbf59078dfcb424fdd7c7f29ce402
2018-01-23 20:10:27 +00:00
Elliott Hughes
9e2d0b33f1 Merge "Build toolbox with _FILE_OFFSET_BITS=64."
am: 98aad49d58

Change-Id: I114766583ec2743b6c8f4b0c7508cd4a61b6e991
2018-01-23 19:31:48 +00:00
Tom Cherry
6c8ab36b0e Merge "Make vendor_init check SELinux before setting properties"
am: f09649c231

Change-Id: I352c9be985d9d87d861d7ef58230d845f06b23bf
2018-01-23 19:30:45 +00:00
Christopher Ferris
67c7c1d911 Merge "Fix null ptr dereference if jit debug not enabled."
am: b04bbccbb6

Change-Id: I50ab7b3b070781cf49716a13467a6296019fac42
2018-01-23 19:30:19 +00:00
Elliott Hughes
98aad49d58 Merge "Build toolbox with _FILE_OFFSET_BITS=64." 2018-01-23 19:15:39 +00:00
Todd Poynor
e030a10d0f Revert "Revert "healthd: don't report fake data for battery-less devices""
This reverts commit 1bc572dfe8.

The presubmit test that (incorrectly) fails on the original commit
has been marked @FlakyTest and a bug is failed on Assistant.

Bug: 34507420
Test: manual: gce_x6_phone (no battery or charger),
      boots and stays booted, inspect properties,
      presubmit tests on gce_x86
Change-Id: I5509bf5de9fceffdd5fd8abc3f1f4f6101119248
2018-01-23 19:07:23 +00:00
Badhri Jagan Sridharan
9eec2fcecb Merge "Initial commit for usb daemon" am: b9b54e7b7a am: 9f249c9dd4
am: 41fe1b5e2b

Change-Id: I91faddc4da66bbce08f6b98a8433fb0e187d4375
2018-01-23 18:57:40 +00:00
Badhri Jagan Sridharan
41fe1b5e2b Merge "Initial commit for usb daemon" am: b9b54e7b7a
am: 9f249c9dd4

Change-Id: I14c718fe49a4228a8d3272d7c80184461ba9fd32
2018-01-23 18:45:36 +00:00
Badhri Jagan Sridharan
9f249c9dd4 Merge "Initial commit for usb daemon"
am: b9b54e7b7a

Change-Id: Ib433b96e17920c335468238ae773120387716043
2018-01-23 18:36:30 +00:00
Tom Cherry
f09649c231 Merge "Make vendor_init check SELinux before setting properties" 2018-01-23 18:34:34 +00:00
Christopher Ferris
b04bbccbb6 Merge "Fix null ptr dereference if jit debug not enabled." 2018-01-23 14:58:09 +00:00
Badhri Jagan Sridharan
b9b54e7b7a Merge "Initial commit for usb daemon" 2018-01-23 03:09:27 +00:00
Logan Chien
736e4f1079 Merge "ld.config.txt: Move vendor vndk to vndk namespace" am: c6805c3e9c am: 0779a259b7
am: 5aa3d78ea7

Change-Id: I68cbb5429e57f6f2a72775c5fc50b4b5e20b8cd4
2018-01-23 02:56:28 +00:00
Yifan Hong
c2b456649c Merge "healthd: move HealthServiceCommon" 2018-01-23 02:55:40 +00:00
Logan Chien
5aa3d78ea7 Merge "ld.config.txt: Move vendor vndk to vndk namespace" am: c6805c3e9c
am: 0779a259b7

Change-Id: I3cc02a497bb7e841c6a1d311c3105afe9e3aa2b0
2018-01-23 02:38:55 +00:00
Logan Chien
0779a259b7 Merge "ld.config.txt: Move vendor vndk to vndk namespace"
am: c6805c3e9c

Change-Id: I37769e578c41f8a699a77993c0ed0ae01d35f035
2018-01-23 02:20:52 +00:00
Logan Chien
c6805c3e9c Merge "ld.config.txt: Move vendor vndk to vndk namespace" 2018-01-23 02:02:21 +00:00
Christopher Ferris
2486d5a10d Fix null ptr dereference if jit debug not enabled.
Test: No crash when a jit debug object is not instantiated.
Change-Id: Ic4350a10258459ead7c5679ceb84372f1084f0ad
2018-01-22 17:37:59 -08:00
Elliott Hughes
16b82b7e24 Build toolbox with _FILE_OFFSET_BITS=64.
32-bit devices still exist...

Bug: http://b/72335947
Test: builds
Change-Id: Ia644640f19ad9d9160554e3fe329b3ce8e585c66
2018-01-22 16:15:55 -08:00
Steve Paik
fb95d3e6a4 Merge "Add force_suspend function" am: daac5aafa7 am: 0a8ab16db2
am: fc9197e9e5

Change-Id: Ie724e7b12435b957879d54d4c6f8a47887338c34
2018-01-22 23:54:46 +00:00
Steve Paik
fc9197e9e5 Merge "Add force_suspend function" am: daac5aafa7
am: 0a8ab16db2

Change-Id: I5e2c64b62bb5a23976816d4f16dc665e61353892
2018-01-22 23:49:43 +00:00
Steve Paik
0a8ab16db2 Merge "Add force_suspend function"
am: daac5aafa7

Change-Id: I764f10d0e310be0206e063334c1bd846ed88bc5c
2018-01-22 23:44:38 +00:00
Treehugger Robot
daac5aafa7 Merge "Add force_suspend function" 2018-01-22 23:32:55 +00:00
Steven Moreland
c5d57f996e Merge "Init remove direct calls to light sys nodes." am: 17b959c9ed am: 9380bfda08
am: 5c5b2724b8

Change-Id: I10ec9af85d5d2808972b4f8ff18a1152037655e9
2018-01-22 20:44:08 +00:00
Steven Moreland
5c5b2724b8 Merge "Init remove direct calls to light sys nodes." am: 17b959c9ed
am: 9380bfda08

Change-Id: I27f18491fdce054698f0a94493ae049be0b8bbbf
2018-01-22 20:39:13 +00:00
Steven Moreland
9380bfda08 Merge "Init remove direct calls to light sys nodes."
am: 17b959c9ed

Change-Id: I1ffd4e68ebcdc444bd673f108ddd205a84dc2885
2018-01-22 20:35:27 +00:00
Yifan Hong
affa24f28f healthd: move HealthServiceCommon
... to hardware/interfaces. HealthServiceCommon
becomes two separate libraries:
- libhealthservicedefault for services on vendor
- libhealthservicehealthd for healthd

Test: boots
Bug: 63702641
Change-Id: Ibc7096328bb36356cb653e542bab900cd046fe8a
2018-01-22 12:34:04 -08:00
Treehugger Robot
17b959c9ed Merge "Init remove direct calls to light sys nodes." 2018-01-22 20:27:17 +00:00
Tom Cherry
32228485ff Make vendor_init check SELinux before setting properties
Finishing a TODO from vendor_init, check SELinux permissions before
setting properties in vendor_init.

Bug: 62875318
Test: N/A
Change-Id: I3cb6abadd2613ae083705cc6b9c970587b6c6b19
2018-01-22 18:20:56 +00:00
Tom Cherry
1c08d5049f Merge "Move all of init to libinit" am: ad939afaf4 am: 12fbce5c2a
am: 0dfd62f2fe

Change-Id: I6db82e4b9bec0f62522621507a5600c9955ff063
2018-01-22 18:01:30 +00:00
Tom Cherry
0dfd62f2fe Merge "Move all of init to libinit" am: ad939afaf4
am: 12fbce5c2a

Change-Id: I31e17ff558845ea7a38076c1b9472dc970df069d
2018-01-22 17:59:01 +00:00
Tom Cherry
12fbce5c2a Merge "Move all of init to libinit"
am: ad939afaf4

Change-Id: Ib2df5914dd2f24958d95f5b9dfe01577c8b796b0
2018-01-22 17:56:27 +00:00
Tom Cherry
ad939afaf4 Merge "Move all of init to libinit" 2018-01-22 17:50:56 +00:00
Logan Chien
91b3fb4f3f ld.config.txt: Move vendor vndk to vndk namespace
This commit moves /{odm,vendor}/lib[64]/vndk[-sp] to vndk namespace so
that vndk extension can override vndk libs from
/system/lib[64]/vndk[-sp].

Bug: 69824336

Test: Create libutils_ext locally and it can be called from
android.hardware.nfc@1.0-service.

Change-Id: Id63e58d665fa41eda85950ee1d16fe06c35cd7d3
2018-01-22 11:30:56 +08:00
Christopher Ferris
72fc33fcd0 Merge "Fix regression caused by libbacktrace API change." am: 0ba2c9f4a2 am: 91f68e9340
am: 4794e07e0a

Change-Id: I3f6717ed6ec359608ab049729801078b5e973a73
2018-01-20 18:29:57 +00:00
Christopher Ferris
4794e07e0a Merge "Fix regression caused by libbacktrace API change." am: 0ba2c9f4a2
am: 91f68e9340

Change-Id: I99d2fcdfcfc1712d0281c86188b3e05082a76d18
2018-01-20 18:27:49 +00:00
Christopher Ferris
91f68e9340 Merge "Fix regression caused by libbacktrace API change."
am: 0ba2c9f4a2

Change-Id: I16e50d5d317cd43440338c1ad0da7aacaadc43a2
2018-01-20 18:25:16 +00:00
Christopher Ferris
0ba2c9f4a2 Merge "Fix regression caused by libbacktrace API change." 2018-01-20 18:18:43 +00:00
TreeHugger Robot
f26d0dd76f Merge "Create versioned graphics-base-* files." 2018-01-20 16:42:51 +00:00
Christopher Ferris
e36afb0429 Fix regression caused by libbacktrace API change.
The stack dump was not printing leading zeros for data after the
change to remove uintptr_t types from the libbacktrace API.

Bug: 65682279

Test: Created an arm tombstone and an arm64 tombstone and verified
Test: that the stack data has leading zeros.
Change-Id: I1fbec2c4fa7c8b0fab18894c5628d18c5a580299
2018-01-20 00:59:11 -08:00
Suren Baghdasaryan
979591b627 lmkd: Select in-kernel vs userspace lmk based on kernel driver presence
Currently selection criteria for in-kernel vs userspace lmk is kernel
driver presence and device not being a Go device. This change removes
Go device check leaving kernel driver presence to be the only selection
criteria.

Bug: 71502948

Change-Id: I394a7920433a8d090e207ea86296356413a63fe7
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-01-20 03:50:41 +00:00
Suren Baghdasaryan
caa2dc56fd lmkd: Implement kill timeout
New ro.lmk.kill_timeout_ms property defines timeout in ms after a
successful kill cycle for more kills to be considered. This is
necessary because memory pressure after a kill does not go down
instantly and system needs time to reflect new memory state. This
timeout prevents extra kills in the period immediately after a
kill cycle. By default it is set to 0 which disables this feature.

Bug: 63631020
Test: alloc-stress

Change-Id: Ia847118c8c4a659a7fc38cd5cd0042acb514ae28
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-01-20 03:49:35 +00:00
Josh Gao
5004e14dfb Merge "debuggerd: add seccomp policies and tests." am: fd0e0db391 am: 76dd792450
am: 5e0ae3f386

Change-Id: Ie1fb2f83e95edfb594cb6d2e8cc52615695ec1aa
2018-01-20 02:56:31 +00:00
Josh Gao
5e0ae3f386 Merge "debuggerd: add seccomp policies and tests." am: fd0e0db391
am: 76dd792450

Change-Id: I660e0fb6805bde7e2adf4b4c07030aa7b8f1eadd
2018-01-20 02:54:26 +00:00
Josh Gao
76dd792450 Merge "debuggerd: add seccomp policies and tests."
am: fd0e0db391

Change-Id: If95e65c018e78dc62d351f03a8c2a0365f4cc0e6
2018-01-20 02:51:47 +00:00