Wei Wang
80de24f484
libcutils: remove schedgroup fds [DO NOT MERGE]
...
am: bcb6419fc9
-s ours
Change-Id: Ib8af1c5c4066d280811211c28c9388574813028d
2017-03-30 00:06:17 +00:00
Wei Wang
bcb6419fc9
libcutils: remove schedgroup fds [DO NOT MERGE]
...
After removing bg_non_interactive cgroup, there is only a ROOT cgroup.
This CL removes the no-op trying to set cgroup.
It also removes the attempt to open non-exist bg_non_interactive cgroup.
Bug: 36649832
Test: marlin boosts and cgroup ROOT task looks normal
Change-Id: Idef1dfdaa71fde63c98c73a3d37f65416aa6f2e2
2017-03-29 14:34:46 -07:00
Keun-young Park
6ae0a9eeeb
Merge "set zero shutdown timeout for eng build" am: 6fb2ef1d03
...
am: 5579d46471
Change-Id: I10fe8d29054c15220a4a354eb3629353d307cc9d
2017-03-29 21:31:37 +00:00
Keun-young Park
5579d46471
Merge "set zero shutdown timeout for eng build"
...
am: 6fb2ef1d03
Change-Id: Id9fbc2ad91d6e337be7e39ab747187427e69003f
2017-03-29 21:29:37 +00:00
Treehugger Robot
6fb2ef1d03
Merge "set zero shutdown timeout for eng build"
2017-03-29 21:25:19 +00:00
Keun-young Park
c4ffa5c47d
set zero shutdown timeout for eng build
...
- still it will take time to kill services, < 3 secs in tested device.
bug: 36678028
Test: reboot
Change-Id: I3f3eb83aede8cd950da12e3fcc259eeaf8517c3b
2017-03-29 12:25:33 -07:00
Tom Cherry
5b591daf83
Merge changes from topic 'exec-start-update-verifier' am: 8772b3686e
...
am: 571cb53797
Change-Id: I04ded5d3ff9d019c0c4ec25044d642e9c111f94b
2017-03-29 18:47:11 +00:00
Tom Cherry
51579e8664
init: add exec_start command am: b27004aa05
...
am: 64cb3d5c62
Change-Id: I7ba8d3afca552d2e87e402aedb703bc363968fcc
2017-03-29 18:47:03 +00:00
Tom Cherry
571cb53797
Merge changes from topic 'exec-start-update-verifier'
...
am: 8772b3686e
Change-Id: Ifaa071b38d1e34075890fd28adc4a5ccee12de53
2017-03-29 18:45:21 +00:00
Tom Cherry
64cb3d5c62
init: add exec_start command
...
am: b27004aa05
Change-Id: I98ce17c11621eece46728aa94dc64f54273e5a99
2017-03-29 18:45:10 +00:00
Treehugger Robot
8772b3686e
Merge changes from topic 'exec-start-update-verifier'
...
* changes:
init.rc: launch update_verifier with exec_start
init: add exec_start command
2017-03-29 18:39:32 +00:00
Tom Cherry
b324ffeb79
Merge "init: replace property_get with its android::base equivalent" am: 7bcce1e3c0
...
am: 6ee34f0286
Change-Id: Ibca5d90522ec47397f030501782c125002a27f3b
2017-03-29 18:38:54 +00:00
Tom Cherry
6ee34f0286
Merge "init: replace property_get with its android::base equivalent"
...
am: 7bcce1e3c0
Change-Id: I877b59339d1cfc3a8953b298f975365db55d3a22
2017-03-29 18:34:54 +00:00
Treehugger Robot
7bcce1e3c0
Merge "init: replace property_get with its android::base equivalent"
2017-03-29 18:28:51 +00:00
Tom Cherry
ccf23537ee
init: replace property_get with its android::base equivalent
...
Slowly try to decouple property_service.cpp from the rest of init.
Test: Boot bullhead
Change-Id: I267ae0b057bca0bf657b97cb8bfbb18199282729
2017-03-29 10:07:54 -07:00
Neil Fuller
01d885e095
Merge "Update to support staging behavior" am: ec16825cb8
...
am: 1fd9390f0b
Change-Id: I52acdd7cfa145f61f613dc94cb34bd6646b5b418
2017-03-29 12:44:16 +00:00
Neil Fuller
1fd9390f0b
Merge "Update to support staging behavior"
...
am: ec16825cb8
Change-Id: Iee19b80e6b722cd87c70b48870e4040713f47fa2
2017-03-29 12:41:47 +00:00
Treehugger Robot
ec16825cb8
Merge "Update to support staging behavior"
2017-03-29 12:39:47 +00:00
Neil Fuller
ae52ab2acf
Update to support staging behavior
...
The tzdatacheck binary is being modified to support
"staging" of an install / uninstall. tzdatacheck is now
responsible for making time zone distros "live" during
boot. It was previously the responsibility of the
TimeZoneDistroInstaller.
Bug: 31008728
Test: Manual testing
Test: CTS: run cts -m CtsHostTzDataTests
Change-Id: I1d390bf2b383a9505320e3455a20ae640bf83d7b
2017-03-29 10:56:45 +01:00
Elliott Hughes
095164e1d1
Merge "Make demangle work more like c++filt." am: 58c1804653
...
am: 939cb2950f
Change-Id: I6df5fa2000910831b310b9412067b52833fc0401
2017-03-29 05:10:38 +00:00
Elliott Hughes
939cb2950f
Merge "Make demangle work more like c++filt."
...
am: 58c1804653
Change-Id: I9a1ae42f7808b63a6b3e3fa204b8e60d57920c93
2017-03-29 05:08:07 +00:00
Treehugger Robot
58c1804653
Merge "Make demangle work more like c++filt."
2017-03-29 05:02:42 +00:00
Tom Cherry
3358471903
Merge "init: remove unused cutils includes" am: 20e43a2f2c
...
am: 375cc20455
Change-Id: I0d6332498f13ec6829544422ab275e9ae9e66080
2017-03-29 01:35:23 +00:00
Tom Cherry
375cc20455
Merge "init: remove unused cutils includes"
...
am: 20e43a2f2c
Change-Id: I6c4e89c9b0ce39669ca6914cc134e28f005e4d55
2017-03-29 01:31:23 +00:00
Treehugger Robot
20e43a2f2c
Merge "init: remove unused cutils includes"
2017-03-29 01:27:19 +00:00
Elliott Hughes
102183ee66
Make demangle work more like c++filt.
...
Also tweak the help output to fit the toybox style.
Bug: N/A
Test: readelf -aW | demangle
Change-Id: I110b9e385f583d5047c785364c8a5a33575d8357
2017-03-28 17:38:01 -07:00
Tom Cherry
1ec1bd918c
init: remove unused cutils includes
...
Test: Boot bullhead
Change-Id: I629f9c3863f00fa38f87a68442c2380d28764718
2017-03-28 16:22:33 -07:00
Tom Cherry
1e2d8c7fce
init.rc: launch update_verifier with exec_start
...
This allows update_verifier to raise it's priority and ioprio.
Bug: 36511808
Bug: 36102163
Test: Boot bullhead
Test: Verify boottime decrease on sailfish
Change-Id: I5710c6a98dc7acee9063d1fa1d1c80668f0f1528
2017-03-28 15:54:45 -07:00
Wei Wang
587d37636b
Merge "libcutils: remove sched_set/getscheduler" am: e0bec6b11e
...
am: 446cfa74ef
Change-Id: I95b2766342a899c01c32cce292adbbfdf2291eb2
2017-03-28 22:43:24 +00:00
Wei Wang
446cfa74ef
Merge "libcutils: remove sched_set/getscheduler"
...
am: e0bec6b11e
Change-Id: I3f9a133401ac8a85ba3c6fd220875066df99271a
2017-03-28 22:39:56 +00:00
Treehugger Robot
e0bec6b11e
Merge "libcutils: remove sched_set/getscheduler"
2017-03-28 22:32:29 +00:00
Christopher Ferris
6d42bf740b
Merge "Only allow short functions in class definitions." am: e3b27d22bf
...
am: 8726529e3e
Change-Id: I54f811e364fdec10f6b847da1f4e0e23a8fc5f28
2017-03-28 21:39:46 +00:00
Christopher Ferris
8726529e3e
Merge "Only allow short functions in class definitions."
...
am: e3b27d22bf
Change-Id: Id56de01fede79702bc1942abcd4baf147968141f
2017-03-28 21:34:47 +00:00
Christopher Ferris
e3b27d22bf
Merge "Only allow short functions in class definitions."
2017-03-28 21:20:17 +00:00
Tom Cherry
68a91fb95b
Merge "Fix timeouts for android::base::WaitForProperty*" am: 57d78354d6
...
am: f30abecf3c
Change-Id: I7037dfe31f5ffb433e798c12efb65fcc1fcb9dd8
2017-03-28 20:48:52 +00:00
Tom Cherry
f30abecf3c
Merge "Fix timeouts for android::base::WaitForProperty*"
...
am: 57d78354d6
Change-Id: Ic755f2a42dcbc271aa7271da1988f035f4c18a6b
2017-03-28 20:43:50 +00:00
Tom Cherry
57d78354d6
Merge "Fix timeouts for android::base::WaitForProperty*"
2017-03-28 20:38:24 +00:00
Wei Wang
a8d59faa75
libcutils: remove sched_set/getscheduler
...
Bug: 36667354
Test: angler taking video
Change-Id: Ie7fbcccbd02314468c03317319574ee7e433561d
2017-03-28 13:01:20 -07:00
Christopher Ferris
a11c814d3d
Only allow short functions in class definitions.
...
The previous rules would force short functions to be on a single line.
This change only allows single function lines in class definitions.
Test: Ran on a CL and verified single line functions only allowed in
Test: class defintions.
Change-Id: I5422543fdbb39da842bbd799c19fe2c443ff483c
2017-03-28 12:31:37 -07:00
Mark Salyzyn
a31d895910
Merge "libcutils: handle root directory empty path" am: 6105dbd01b
...
am: 621ae033a4
Change-Id: Ibde5e2b3d703b1dbd42d01f9e5720d6075a2dd45
2017-03-28 17:23:24 +00:00
Mark Salyzyn
621ae033a4
Merge "libcutils: handle root directory empty path"
...
am: 6105dbd01b
Change-Id: I48f4607f72c56ffb8bbf63682a70954995d48a28
2017-03-28 17:19:16 +00:00
Mark Salyzyn
6105dbd01b
Merge "libcutils: handle root directory empty path"
2017-03-28 17:09:15 +00:00
Bowgo Tsai
73d9e8e938
Merge "fs_mgr: change the log level in fs_mgr_get_boot_config()" am: c8c3e61eeb
...
am: c30261f266
Change-Id: I31d1a7adf5aa86dc50a1b971d075a83f5d1e655a
2017-03-28 15:53:47 +00:00
Bowgo Tsai
c30261f266
Merge "fs_mgr: change the log level in fs_mgr_get_boot_config()"
...
am: c8c3e61eeb
Change-Id: Ia5e4c77d45652c8b6d4e147175db99e44fecc0d5
2017-03-28 15:49:18 +00:00
Treehugger Robot
c8c3e61eeb
Merge "fs_mgr: change the log level in fs_mgr_get_boot_config()"
2017-03-28 15:43:56 +00:00
Mark Salyzyn
657ae57bf3
Merge "logd: strip out empty trailing iovec" am: 6b11faeb42
...
am: d749a054ff
Change-Id: If8441997a5cefc4af09d3930a23ae69412ce11fa
2017-03-28 15:12:44 +00:00
Mark Salyzyn
d749a054ff
Merge "logd: strip out empty trailing iovec"
...
am: 6b11faeb42
Change-Id: Ib6244cf3cd089c44dd71524e09f6d4a2227c65bd
2017-03-28 15:08:15 +00:00
Mark Salyzyn
6b11faeb42
Merge "logd: strip out empty trailing iovec"
2017-03-28 15:00:38 +00:00
Jeremy Compostella
3d642d48e2
libcutils: handle root directory empty path
...
Usually, the canned paths lack the leading '/' which means that the
root directory is an empty path. This patch makes
load_canned_fs_config() handle this empty path as the root directory.
It also make it flexible enough to handle an optional leading '/'.
Original-Author: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Gaelle Nassiet <gaellex.nassiet@intel.com>
Change-Id: Ice759ef37d1df23a54df1158ec0d3ad7f577a069
2017-03-28 14:57:22 +00:00
Bowgo Tsai
0f34094a17
fs_mgr: change the log level in fs_mgr_get_boot_config()
...
fs_mgr might try to get a non-existing config through fs_mgr_get_boot_config()
on a device (e.g., for backward compatibility). Lower the log level to INFO
so it won't appear on the recovery screen.
Bug: 35811655
Test: recovery boot sailfish
Change-Id: I81497259aff3691740170abeef932d363b52be35
2017-03-28 18:52:04 +08:00