Commit graph

47158 commits

Author SHA1 Message Date
Suren Baghdasaryan
c4e6cb6145 Add libprocessgroup into VNDK
Include libprocessgroup into vndk in preparation for sched_policy
functions to be moved into it.

Bug: 111307099
Test: builds, boots
Change-Id: I09a528cac8821df3201c2428b151fd2eaece3ccb
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-15 21:56:38 +00:00
Mark Salyzyn
abe548c707 Merge "fs_mgr: overlayfs: test fix problems with runtime apex bind mounts" am: 49398d3444 am: d7db249567
am: ffcf3969f4

Change-Id: Ic850e72f08e57fa54506b1972b4b2f0b456bd7dc
2019-01-15 13:56:24 -08:00
Mark Salyzyn
ffcf3969f4 Merge "fs_mgr: overlayfs: test fix problems with runtime apex bind mounts" am: 49398d3444
am: d7db249567

Change-Id: I7fbbd248d34adb904772ff5d386d01a5e9335c08
2019-01-15 13:47:15 -08:00
Mark Salyzyn
d7db249567 Merge "fs_mgr: overlayfs: test fix problems with runtime apex bind mounts"
am: 49398d3444

Change-Id: I6d286c227568cf28b956d17174fbf54a2221eed5
2019-01-15 13:37:56 -08:00
Mark Salyzyn
49398d3444 Merge "fs_mgr: overlayfs: test fix problems with runtime apex bind mounts" 2019-01-15 21:29:57 +00:00
Jiyong Park
509819b1ee Merge "Load build sysprops early" am: 4fc83b1885 am: 14471cbe5d
am: cf05b13182

Change-Id: I595b3e624676e691d290b2b657efe8dad996d1c8
2019-01-15 12:56:01 -08:00
Jiyong Park
cf05b13182 Merge "Load build sysprops early" am: 4fc83b1885
am: 14471cbe5d

Change-Id: I5956bcce7b4e0d0f977edfe0560157682d34b52e
2019-01-15 12:47:28 -08:00
Jiyong Park
14471cbe5d Merge "Load build sysprops early"
am: 4fc83b1885

Change-Id: I032a51a6d3ee60a0915942b647d15ed0fd563d9f
2019-01-15 12:41:58 -08:00
Treehugger Robot
4fc83b1885 Merge "Load build sysprops early" 2019-01-15 20:28:38 +00:00
Mark Salyzyn
7d6431d852 fs_mgr: overlayfs: test fix problems with runtime apex bind mounts
bind mounts create administrivia in /proc/mounts that can not be
easily discerned to confirm expectations.  We squash the stutter,
and filter out overlay backing references for /system/<path>/<file>.

Test: adb-remount-test.sh
Bug: 122737045
Change-Id: I61342f5f76f54a1a8201a52efb8054acde100a6f
2019-01-15 11:42:03 -08:00
dimitry
ce10e4a969 Merge "Actually apply version script to libnativebridge" am: 0ae6d74436 am: 00b4b40d91
am: ddf8c62315

Change-Id: I4b3d4c7b05bfed178a2c2a9c2464edc068a37cf2
2019-01-15 07:33:21 -08:00
dimitry
ddf8c62315 Merge "Actually apply version script to libnativebridge" am: 0ae6d74436
am: 00b4b40d91

Change-Id: I515e9589374330cfcadb3e3e13f0beee6efdbed0
2019-01-15 07:29:10 -08:00
dimitry
00b4b40d91 Merge "Actually apply version script to libnativebridge"
am: 0ae6d74436

Change-Id: I7dd06909372ee4938ee20492eb7dd5bcc9874648
2019-01-15 07:25:01 -08:00
Treehugger Robot
0ae6d74436 Merge "Actually apply version script to libnativebridge" 2019-01-15 15:13:22 +00:00
Jiyong Park
3b316ee201 Load build sysprops early
*/build.prop files are now loaded much earlier than before; from 'on
post-fs' to the time when the property service is started which is
before init starts the action loop.

This ensures that all processes that are launched by init have a
consistent view of system properties. Previously, the processes that
started before 'on post-fs' were initially with the small number of
sysprops loaded from */default.prop and then suddenly get additional
sysprops from */build.prop while they are executing.

Bug: 122714998
Test: device boots

Change-Id: Ic07528421dfbe8d4f43673cea41175d33cfbf298
2019-01-15 22:40:49 +09:00
dimitry
b1197e9bf7 Actually apply version script to libnativebridge
This way the list of exported symbols will be limited by symbols
that need to be exported.

Test: make
Change-Id: Iffc8e0b3b589e78f5d213f75971a54b473760c94
2019-01-15 14:34:29 +01:00
Zimuzo Ezeozue
445295b04e Merge "Identify post-apexd crashing processes" am: 91fa140312 am: 9469df055e
am: 5d97b68fdf

Change-Id: Id1cdfce8c2225b8ec98eb0ff210643e5ab1be006
2019-01-15 02:29:25 -08:00
Zimuzo Ezeozue
5d97b68fdf Merge "Identify post-apexd crashing processes" am: 91fa140312
am: 9469df055e

Change-Id: Ia012f09dc8aea72b3803f4e552da5dd36fd92c89
2019-01-15 02:21:45 -08:00
Zimuzo Ezeozue
9469df055e Merge "Identify post-apexd crashing processes"
am: 91fa140312

Change-Id: I8b55a6f4a4e11dc1f9abc4b2a69d263abf4da943
2019-01-15 02:16:58 -08:00
Zimuzo Ezeozue
91fa140312 Merge "Identify post-apexd crashing processes" 2019-01-15 10:05:41 +00:00
Xin Li
9a1e44579f [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into stage-aosp-master" into stage-aosp-master am: 75d50cab7c -s ours
am: 0d8a7e066e -s ours
am skip reason: subject contains skip directive

Change-Id: I84e07cc8ddcd112e52e07b014d2ca8d03cac4b6a
2019-01-14 18:49:15 -08:00
Xin Li
966b924f65 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into stage-aosp-master am: 9b1c496dda -s ours
am: c699ab9384 -s ours
am skip reason: subject contains skip directive

Change-Id: Icf032bf35e4b44060048b0c4abbd2aa3f4ffc560
2019-01-14 18:41:22 -08:00
Xin Li
0d8a7e066e [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into stage-aosp-master" into stage-aosp-master
am: 75d50cab7c -s ours
am skip reason: subject contains skip directive

Change-Id: Ic681788b9a0bc4a421e9059fad2b02b6fab75cd8
2019-01-14 18:30:18 -08:00
Xin Li
c699ab9384 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into stage-aosp-master
am: 9b1c496dda -s ours
am skip reason: subject contains skip directive

Change-Id: I29791710a51c0c6de6715720d168a1801d509b4e
2019-01-14 18:19:32 -08:00
TreeHugger Robot
75d50cab7c Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into stage-aosp-master" into stage-aosp-master 2019-01-15 01:44:45 +00:00
dimitry
0e69deef7c Merge "Add eaeltsin to OWNERS" am: a0ca0191d6 am: 72e2d9b2c8
am: 063ecb0279

Change-Id: Ia40657ba4048e17b2512311889cb6f10ad6f3b0a
2019-01-14 16:25:03 -08:00
Sandeep Patil
95d751fcb8 [automerger skipped] Merge changes from topic "meminfo-apis" am: e16c2ce649 am: fd7b2b2e35
am: 4bdced8d2a -s ours
am skip reason: change_id I992057f06b54569025fa0cdade9618da2675d1de with SHA1 7a6b5e8208 is in history

Change-Id: I358edb60235e5fa988426da5c59648fef900728c
2019-01-14 16:16:18 -08:00
Xin Li
9b1c496dda DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into stage-aosp-master
Bug: 122685541
Change-Id: If1bd13c44894ae38126f83f4b42a885369a9a2b2
2019-01-14 16:14:41 -08:00
Mark Salyzyn
ce4dba8f02 Merge "adb remount documentation error" am: 365b43b933 am: 85eceb2ced
am: d417e5a5fb

Change-Id: I507d3af1e1f9cfffffc4cc1192b1ff618af58fad
2019-01-14 16:14:16 -08:00
dimitry
063ecb0279 Merge "Add eaeltsin to OWNERS" am: a0ca0191d6
am: 72e2d9b2c8

Change-Id: I6b5ff1b7bbb401ce84802ba5f05dea82b522317e
2019-01-14 16:13:53 -08:00
Sandeep Patil
4bdced8d2a Merge changes from topic "meminfo-apis" am: e16c2ce649
am: fd7b2b2e35

Change-Id: I89421f1fab7b6c9da570cc2195543e64ea4d4137
2019-01-14 15:59:42 -08:00
dimitry
72e2d9b2c8 Merge "Add eaeltsin to OWNERS"
am: a0ca0191d6

Change-Id: I4d4577872c28e6ab29e3d57dfa12d34b2d114adb
2019-01-14 15:48:51 -08:00
Sandeep Patil
fd7b2b2e35 Merge changes from topic "meminfo-apis"
am: e16c2ce649

Change-Id: Ic343b1f5702d0aa741e6a01ad124ff80697686fe
2019-01-14 15:47:56 -08:00
Mark Salyzyn
d417e5a5fb Merge "adb remount documentation error" am: 365b43b933
am: 85eceb2ced

Change-Id: I63d619b0ffe942182a53c5cd0ea01b89a7846947
2019-01-14 15:38:38 -08:00
Treehugger Robot
a0ca0191d6 Merge "Add eaeltsin to OWNERS" 2019-01-14 23:25:37 +00:00
Sandeep Patil
e16c2ce649 Merge changes from topic "meminfo-apis"
* changes:
  meminfo: Add IsSmapsRollupSupported Api
  meminfo: Add SmapsOrRollupPss
  meminfo: Remove unnecessary working set stats
  meminfo: Fix ProcMemInfo ForEachVmaFromFile
2019-01-14 23:16:00 +00:00
Mark Salyzyn
85eceb2ced Merge "adb remount documentation error"
am: 365b43b933

Change-Id: Ic72a571a47d964df3a181e9890a57fc10c6a0157
2019-01-14 14:54:27 -08:00
Steven Moreland
2cc9edb2b8 Merge "Init: error on oneway calls." am: ebae0d3ad9 am: 2a99b2011f
am: 998a8a965e

Change-Id: I32edf31026417898cd96833b4fd953e594a55a87
2019-01-14 14:47:25 -08:00
Mark Salyzyn
365b43b933 Merge "adb remount documentation error" 2019-01-14 22:40:28 +00:00
Steven Moreland
998a8a965e Merge "Init: error on oneway calls." am: ebae0d3ad9
am: 2a99b2011f

Change-Id: I091bc46e26e638d4b867b933db5a2a7368f7ffd6
2019-01-14 14:19:23 -08:00
Bo Hu
e21625cdd6 Merge "disable darwin build for libfstab" am: 400c71fccd am: 7e3a2d8aa0
am: 65180d2d93

Change-Id: I8c6123ac47b665f87013352c80796f60a07ad8a7
2019-01-14 13:57:30 -08:00
Steven Moreland
2a99b2011f Merge "Init: error on oneway calls."
am: ebae0d3ad9

Change-Id: I119401688a2fe3fc8f4d5b45678363064159e286
2019-01-14 13:47:00 -08:00
Mark Salyzyn
71df3ca70f adb remount documentation error
It is not adb reboot -R, it is adb remount -R

Bug: 122602260
Test: view file in gitties
Change-Id: I7c419b0b7f98cc0f5bb69284f5998515e9b8408e
2019-01-14 13:25:01 -08:00
Steven Moreland
ebae0d3ad9 Merge "Init: error on oneway calls." 2019-01-14 20:50:12 +00:00
Bo Hu
65180d2d93 Merge "disable darwin build for libfstab" am: 400c71fccd
am: 7e3a2d8aa0

Change-Id: If7be126741159a51731c6e1f336928fd41513fc8
2019-01-14 12:41:58 -08:00
Bo Hu
7e3a2d8aa0 Merge "disable darwin build for libfstab"
am: 400c71fccd

Change-Id: Ie3c6a575811a40efcffaf33251e3670bf18e6648
2019-01-14 12:15:02 -08:00
Bo Hu
400c71fccd Merge "disable darwin build for libfstab" 2019-01-14 19:04:39 +00:00
Sandeep Patil
dfd34be42b meminfo: Add IsSmapsRollupSupported Api
Consolidate the checking of /proc/<pid>/smaps_rollup support
in libmeminfo and do it in a thread safe way.

Use the API in ProcMemInfo as well to eliminate the extra
parameters passed to SmapsOrRollup* methods.

Bug: 111694435
Test: libmeminfo_test 1 --gtest_filter=TestProcMemInfo.IsSmapsSupportedTest
Test: Tested with and without the smaps_rollup support in kernel.

Change-Id: I992057f06b54569025fa0cdade9618da2675d1de
Merged-In: I992057f06b54569025fa0cdade9618da2675d1de
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-14 09:43:32 -08:00
Sandeep Patil
8871e7e90f meminfo: Add SmapsOrRollupPss
Adds SmapsOrRollup parsing methods to only read Pss of the
process fomr /proc/<pid>/{smaps, smaps_rollup}.

Bug: 111694435
Test: libmeminfo_test 1 --gtest_filter=TestProcMemInfo.*

Change-Id: I31b982ae5ff2bb5b165ea33f6c57755ee34cbbc7
Merged-In: I31b982ae5ff2bb5b165ea33f6c57755ee34cbbc7
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-14 09:43:12 -08:00
Sandeep Patil
56c414e872 meminfo: Remove unnecessary working set stats
The Vma and ProcMemInfo objects do not need separate stats
objects for storing working set. The Vma either has working set
or memory usage information and never both.

Bug: 111694435
Test: libmeminfo_test 1

Change-Id: I2df05f7e750bbba4325474633e705d6d68dd2ccb
Merged-In: I2df05f7e750bbba4325474633e705d6d68dd2ccb
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-14 09:42:50 -08:00