Commit graph

35921 commits

Author SHA1 Message Date
Elliott Hughes
6a8cb78acb Merge "Add comments to "public.libraries.*.txt"." am: e7b8fc22af am: 601e5ac55b am: 3cdb21a8c7
am: 54f2e52ab5

Change-Id: Id4b155e157da0c18f2cddebf4085366ae2d0afe0
2017-08-02 19:57:29 +00:00
Christopher Ferris
f403575209 Merge "Allow mips to build." am: 7009a3ccf7 am: 3b6bbb8178 am: fa700068f8
am: 86ee45499d

Change-Id: I6b0ea4e02aac760830b0440ff21c6c610464e3b7
2017-08-02 19:57:08 +00:00
Elliott Hughes
54f2e52ab5 Merge "Add comments to "public.libraries.*.txt"." am: e7b8fc22af am: 601e5ac55b
am: 3cdb21a8c7

Change-Id: I049c98243b522b8c3fcb64d917ff64a1e6d576c0
2017-08-02 19:52:26 +00:00
Christopher Ferris
86ee45499d Merge "Allow mips to build." am: 7009a3ccf7 am: 3b6bbb8178
am: fa700068f8

Change-Id: I9a3e85f2223d6b6e520056fb156b9158a277d41e
2017-08-02 19:52:08 +00:00
Elliott Hughes
3cdb21a8c7 Merge "Add comments to "public.libraries.*.txt"." am: e7b8fc22af
am: 601e5ac55b

Change-Id: I17f4d394ba671463d195a8a785a96c3b4502e1da
2017-08-02 19:48:46 +00:00
Christopher Ferris
fa700068f8 Merge "Allow mips to build." am: 7009a3ccf7
am: 3b6bbb8178

Change-Id: Ia29af9266e7bccb8865756ab974f7c591daca825
2017-08-02 19:47:44 +00:00
Elliott Hughes
601e5ac55b Merge "Add comments to "public.libraries.*.txt"."
am: e7b8fc22af

Change-Id: I8519a128238758433d194f35f6090633aeb85f0a
2017-08-02 19:43:01 +00:00
Christopher Ferris
3b6bbb8178 Merge "Allow mips to build."
am: 7009a3ccf7

Change-Id: I4564b2298e16258ccfe49f6651b751af35139f5f
2017-08-02 19:42:41 +00:00
Treehugger Robot
e7b8fc22af Merge "Add comments to "public.libraries.*.txt"." 2017-08-02 19:34:26 +00:00
Christopher Ferris
7009a3ccf7 Merge "Allow mips to build." 2017-08-02 19:30:16 +00:00
Tom Cherry
f331fa07d1 Merge "init: use unique_fd in builtins.cpp" am: c34afb1cd5 am: 76756aa1dd am: 54032d387a
am: 99a538a4bb

Change-Id: I83e3e48828adb1d2f10c1aab1021dc3f7553d5a0
2017-08-02 17:48:12 +00:00
Christopher Ferris
32766f1f52 Allow mips to build.
Test: Build mips.
Change-Id: Ice2fe1d11b7c628b325ea2ad1fd1252ad8e10668
2017-08-02 10:45:46 -07:00
Tom Cherry
99a538a4bb Merge "init: use unique_fd in builtins.cpp" am: c34afb1cd5 am: 76756aa1dd
am: 54032d387a

Change-Id: I20865544dd1692979c8fbd21c05272a98c00eca4
2017-08-02 17:27:03 +00:00
Tom Cherry
54032d387a Merge "init: use unique_fd in builtins.cpp" am: c34afb1cd5
am: 76756aa1dd

Change-Id: Idbb7f13966643faa2e38ac954e21d6af2daed4f5
2017-08-02 17:22:30 +00:00
Tom Cherry
76756aa1dd Merge "init: use unique_fd in builtins.cpp"
am: c34afb1cd5

Change-Id: I9f1fef77ab4d3f873180f305177e586d44a22c49
2017-08-02 17:18:33 +00:00
Tom Cherry
c34afb1cd5 Merge "init: use unique_fd in builtins.cpp" 2017-08-02 17:09:31 +00:00
Saurabh Shah
5a06d8cc79 Merge "sync: store the num_fences from first SYNC_IOC_FILE_INFO" into oc-mr1-dev
am: 3bb2dfd252

Change-Id: I780f2e1b64906c7bc0df3327a51288980938c7f9
2017-08-02 15:46:54 +00:00
TreeHugger Robot
3bb2dfd252 Merge "sync: store the num_fences from first SYNC_IOC_FILE_INFO" into oc-mr1-dev 2017-08-02 15:41:55 +00:00
Justin Yun
9560088743 libvndksupport: Change log level and message.
If no 'sphal' namespace exist, the sphal library may be found in
current namespace.
Change the log level and message to note this.

Bug: 64162324
Test: Check log message for vndksupport tag.
Change-Id: I5ed6ba1e48f99e7d11d80a465177ac9f3a7fbd97
2017-08-02 14:21:14 +09:00
Jin Qian
7c2fd4e37d fastboot: call mke2fs to format ext4 filesystem on windows
am: 216ed8f61a

Change-Id: Id0c33813108d6f96002ce376923ba634b9ffb070
2017-08-02 03:55:13 +00:00
Jin Qian
4a89e11219 fastboot: enable uninit_bg for ext4
am: a86141aa81

Change-Id: Icf200677b074c9048bfcd3de706d6cf36e9b17cf
2017-08-02 03:54:53 +00:00
Christopher Ferris
1b58b4d179 Merge "Revert "Add support for the new unwind method."" am: 0d2cac9ea8 am: ce7c7c04d9 am: b736134dc9
am: aaea04cf0d

Change-Id: I02947988583b0eec48c808f306b188390e62b609
2017-08-02 02:23:07 +00:00
Christopher Ferris
aaea04cf0d Merge "Revert "Add support for the new unwind method."" am: 0d2cac9ea8 am: ce7c7c04d9
am: b736134dc9

Change-Id: I7369d1089ff5734bb69ad8add610c0790b797e7b
2017-08-02 02:18:37 +00:00
Christopher Ferris
b736134dc9 Merge "Revert "Add support for the new unwind method."" am: 0d2cac9ea8
am: ce7c7c04d9

Change-Id: Ia61d452721e9ec76823cf766a738f53ccd9b2c37
2017-08-02 02:14:35 +00:00
Christopher Ferris
ce7c7c04d9 Merge "Revert "Add support for the new unwind method.""
am: 0d2cac9ea8

Change-Id: I68903c1641ee0d439dc5f839b968cff4b739dd84
2017-08-02 02:06:06 +00:00
Christopher Ferris
0d2cac9ea8 Merge "Revert "Add support for the new unwind method."" 2017-08-02 01:49:03 +00:00
Christopher Ferris
bd625efbca Revert "Add support for the new unwind method."
This reverts commit 5b460d13a4.

Reason for revert: Strange sailfish boot problem.

Change-Id: Ibde9375405cca4343c262335647dac120aab4d73
2017-08-02 01:47:31 +00:00
Jin Qian
216ed8f61a fastboot: call mke2fs to format ext4 filesystem on windows
Bug: 35219933
Change-Id: I0cc8c165176e8dc9cbe4b6a52679937bc872e2d0
(cherry picked from commit 29fc859a6d)
2017-08-01 17:47:57 -07:00
Jin Qian
a86141aa81 fastboot: enable uninit_bg for ext4
This speeds up mke2fs as well as e2fsck.

Bug: 23686092
Bug: 64032335
Change-Id: I9f2d4c15e431647bb845d50a2361b2a9a091fba6
(cherry picked from commit 99e3964e0d)
2017-08-01 17:47:51 -07:00
Christopher Ferris
64ae139635 Merge "Add support for the new unwind method." am: 9ccf627e78 am: 61ef596862 am: 8216b64545
am: 0a063d5736

Change-Id: Iffae3c2c54a88524cbba931d4d87c209020b1488
2017-08-01 23:41:56 +00:00
Chih-Hung Hsieh
b7486369df Merge "Fix misc-macro-parentheses warnings in system/core." am: e4bd153e55 am: dfaa20c069 am: 3d0ff4ee98
am: c3357de3fd

Change-Id: I3c3c048851fe44a260a7f952b89d5b5dd72a4b4e
2017-08-01 23:38:19 +00:00
Christopher Ferris
0a063d5736 Merge "Add support for the new unwind method." am: 9ccf627e78 am: 61ef596862
am: 8216b64545

Change-Id: I586fa7b51c6ee6d86d2c8f39eaed01e5e49cff43
2017-08-01 23:37:55 +00:00
Christopher Ferris
8216b64545 Merge "Add support for the new unwind method." am: 9ccf627e78
am: 61ef596862

Change-Id: Ia13d7a19837313eccabb7c0fd84eebb5a7ae5236
2017-08-01 23:34:26 +00:00
Chih-Hung Hsieh
c3357de3fd Merge "Fix misc-macro-parentheses warnings in system/core." am: e4bd153e55 am: dfaa20c069
am: 3d0ff4ee98

Change-Id: Id161056885d346583e66ca49bf10934bc01e619f
2017-08-01 23:34:26 +00:00
Christopher Ferris
61ef596862 Merge "Add support for the new unwind method."
am: 9ccf627e78

Change-Id: Ie03fea9039dba17957a47edbc6d79e9c0727c86c
2017-08-01 23:29:59 +00:00
Chih-Hung Hsieh
3d0ff4ee98 Merge "Fix misc-macro-parentheses warnings in system/core." am: e4bd153e55
am: dfaa20c069

Change-Id: I2a2376e19bdd415f784f708e2b8c910734e866a9
2017-08-01 23:29:59 +00:00
Chih-Hung Hsieh
dfaa20c069 Merge "Fix misc-macro-parentheses warnings in system/core."
am: e4bd153e55

Change-Id: I6b38149a0fa15874eff68cbf7ee62e4acd41c595
2017-08-01 23:26:06 +00:00
Christopher Ferris
9ccf627e78 Merge "Add support for the new unwind method." 2017-08-01 23:22:42 +00:00
Treehugger Robot
e4bd153e55 Merge "Fix misc-macro-parentheses warnings in system/core." 2017-08-01 23:08:18 +00:00
Chih-Hung Hsieh
85244e8bc2 Fix misc-macro-parentheses warnings in system/core.
Add NOLINT comment to work around clang-tidy
error in checking macro arguments used in
type expressions.

Bug: 28705665
Test: make with WITH_TIDY=1 WITH_TIDY_CHECKS=-*,misc-macro-* \
      WITH_TIDY_FLAGS=-header-filter=system/core/.*

Change-Id: I7619978c1804e151a11a8b0477e80076bcf21cab
2017-08-01 22:12:57 +00:00
Tom Cherry
7037991f04 init: use unique_fd in builtins.cpp
Test: boot

Change-Id: I09295856dbd0de9436a95a2fe99ab6be156b995f
2017-08-01 14:22:44 -07:00
Saurabh Shah
cad5925fc9 sync: store the num_fences from first SYNC_IOC_FILE_INFO
Fixes a bug with the signal time of devices using the
modern sync file interface. The bug only affects kernels running
an Android kernel 4.9 and later.

b/63395253

Test: tests/sync_test.cpp

Change-Id: I6fb00bcb8e16a3268c357153edd8e35a44546caa
2017-08-01 21:05:33 +00:00
Tom Cherry
48b9bccf48 Merge changes Ibd57c103,I81f1e8ac,Ia6e546fe am: 2a2a8d9ec0 am: b1c18af247 am: 3d6b46a789
am: c31c4d5c6d

Change-Id: I0c20d57379aa545ea91633e33a7583604d947a52
2017-08-01 20:35:46 +00:00
Tom Cherry
c31c4d5c6d Merge changes Ibd57c103,I81f1e8ac,Ia6e546fe am: 2a2a8d9ec0 am: b1c18af247
am: 3d6b46a789

Change-Id: I704cb309efb106cff34c28b9c7fde3e86bb34cc0
2017-08-01 20:32:12 +00:00
Tom Cherry
3d6b46a789 Merge changes Ibd57c103,I81f1e8ac,Ia6e546fe am: 2a2a8d9ec0
am: b1c18af247

Change-Id: I501b47b2aecaed3b4c15636f09bd337b4ea799c0
2017-08-01 20:29:10 +00:00
Tom Cherry
b1c18af247 Merge changes Ibd57c103,I81f1e8ac,Ia6e546fe
am: 2a2a8d9ec0

Change-Id: Id39de0d3d62c1e0f3585ae7817940dbbebfa6ae3
2017-08-01 20:25:57 +00:00
Tom Cherry
2a2a8d9ec0 Merge changes Ibd57c103,I81f1e8ac,Ia6e546fe
* changes:
  init: rename ServiceManager to ServiceList and clean it up
  init: move reaping from ServiceManager to signal_handler.cpp
  init: move exec operations out of ServiceManager
2017-08-01 20:15:02 +00:00
Tom Cherry
911b9b1d6e init: rename ServiceManager to ServiceList and clean it up
ServiceManager is essentially just a list now that the rest of its
functionality has been moved elsewhere, so the class is renamed
appropriately.

The ServiceList::Find* functions have been cleaned up into a single
smaller interface.
The ServiceList::ForEach functions have been removed in favor of
ServiceList itself being directly iterable.

Test: boot bullhead
Change-Id: Ibd57c103338f03b83d81e8b48ea0e46cd48fd8f0
2017-08-01 11:06:17 -07:00
Tom Cherry
eeee83106b init: move reaping from ServiceManager to signal_handler.cpp
signal_handler.cpp itself needs to be cleaned up, but this is a step
to clean up ServiceManager.

Test: boot bullhead
Change-Id: I81f1e8ac4d09692cfb364bc702cbd3deb61aa55a
2017-08-01 11:06:17 -07:00
Tom Cherry
3b81f2d623 init: move exec operations out of ServiceManager
These can be implemented without ServiceManager, so we remove them and
make ServiceManager slightly less of a God class.

Test: boot bullhead
Test: init unit tests
Change-Id: Ia6e546fe5292255412245256f7d230af4ece135f
2017-08-01 11:06:04 -07:00