Nick Vaccaro
485c647432
resolve merge conflicts of e3083de
to nyc-mr1-dev-plus-aosp
...
Change-Id: Iba35210bc2133d79b2ba8ceb63e355507c7c0f03
2016-11-29 11:28:26 -08:00
Damien Bargiacchi
b0686f88cf
Merge "Always show the battery percentage unless it is unknown" into cw-f-dev am: cd542213e8
...
am: f2fabc9926
Change-Id: I73047338741bba452010957197c922ed1354f9a1
2016-11-29 19:16:45 +00:00
Damien Bargiacchi
bbff20dc1d
Always show the battery percentage unless it is unknown am: 3f0250c3cc
...
am: fdce0878f1
Change-Id: I5d3eca6bb9a8c0c1f2f3d318f8452ae03ec7dd84
2016-11-29 19:16:30 +00:00
Nick Vaccaro
7216ba476f
Merge "healthd: allow override of wake interval timing" into cw-f-dev am: a1be7d1bb5
...
am: 610e0ec98f
Change-Id: Ife5308dd430ca75391a72457ed05642d4a656426
2016-11-29 19:16:11 +00:00
Nick Vaccaro
e5f6c292ca
Merge "resolve merge conflicts of 1f1a6fd
to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp
...
am: 75c815251c
Change-Id: I0a55381fd4b7f66e79bc6d8a725cfa1d9004255a
2016-11-29 19:15:49 +00:00
Nick Vaccaro
4cf68bd5e4
resolve merge conflicts of 1f1a6fd
to nyc-mr1-dev-plus-aosp
...
am: 1e811fca22
Change-Id: Ifeb99e360cdea1db9fa54f5d7a1561ba4f2626f5
2016-11-29 19:15:48 +00:00
Damien Bargiacchi
f2fabc9926
Merge "Always show the battery percentage unless it is unknown" into cw-f-dev
...
am: cd542213e8
Change-Id: Ia18309b80e0b628e2f1e2a08818195dc141ec5f5
2016-11-29 19:10:59 +00:00
Damien Bargiacchi
fdce0878f1
Always show the battery percentage unless it is unknown
...
am: 3f0250c3cc
Change-Id: If5027f2fc94aaf1f2db1d6df79866185e2cfe86d
2016-11-29 19:10:58 +00:00
Nick Vaccaro
610e0ec98f
Merge "healthd: allow override of wake interval timing" into cw-f-dev
...
am: a1be7d1bb5
Change-Id: I5f8518d908d6ec1cc5b9a40d0e62a31fa212c517
2016-11-29 19:10:41 +00:00
Nick Vaccaro
75c815251c
Merge "resolve merge conflicts of 1f1a6fd
to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp
2016-11-29 19:08:45 +00:00
Josh Gao
77a97a62d0
Merge changes I1d03564f,I883e4e6c am: 5b21deb786
am: c58f49bf1b
...
am: 0c484ca04a
Change-Id: I74bae9e331ecfb3f98acc4ef6e2f40811d1a3f7e
2016-11-29 18:28:53 +00:00
Josh Gao
299ddad6ee
adb: be more permissive in test_push_error_reporting. am: 79ce3fe7db
am: b6e9e5ddde
...
am: dfeb4ae52b
Change-Id: I0d608756f56b5ebfce9e273747a9ca6aeb1969a9
2016-11-29 18:28:49 +00:00
Josh Gao
22436ab727
adb: make sure that file mode macros match linux. am: 05a3abfef3
am: 68fd28e334
...
am: ebccf90991
Change-Id: I9c06688cd4590a7f911bfdf4dde11241409828eb
2016-11-29 18:28:44 +00:00
Josh Gao
0c484ca04a
Merge changes I1d03564f,I883e4e6c am: 5b21deb786
...
am: c58f49bf1b
Change-Id: Ie3c79101d3e81538de0ba72d587c927be4fd4b53
2016-11-29 18:23:56 +00:00
Josh Gao
dfeb4ae52b
adb: be more permissive in test_push_error_reporting. am: 79ce3fe7db
...
am: b6e9e5ddde
Change-Id: Ic163698b4482d64add36c9cebafaff6e62c3c949
2016-11-29 18:23:50 +00:00
Elliott Hughes
e12635cc34
Merge "Revert "init: Reworked how we wait for COLDBOOT_DONE"" am: a10bd47d60
am: c509c36892
...
am: 83b8df0e8c
Change-Id: I2dcbc2315f282ba87cf69d105ff2dbc9e6ebfc1d
2016-11-29 18:23:44 +00:00
Josh Gao
ebccf90991
adb: make sure that file mode macros match linux. am: 05a3abfef3
...
am: 68fd28e334
Change-Id: I916140ca332f33f963ca531399f4da31b5ae65d3
2016-11-29 18:23:44 +00:00
Josh Gao
c58f49bf1b
Merge changes I1d03564f,I883e4e6c
...
am: 5b21deb786
Change-Id: I0a92e6f94174c76731159957172a6596cb9147ce
2016-11-29 18:18:50 +00:00
Josh Gao
b6e9e5ddde
adb: be more permissive in test_push_error_reporting.
...
am: 79ce3fe7db
Change-Id: I1239b5af85edca9ae6fa1a38f755b5707bbc614b
2016-11-29 18:18:49 +00:00
Josh Gao
68fd28e334
adb: make sure that file mode macros match linux.
...
am: 05a3abfef3
Change-Id: I39a6938adc8b9b1da0185d36a1891f755bf2ca38
2016-11-29 18:18:44 +00:00
Elliott Hughes
83b8df0e8c
Merge "Revert "init: Reworked how we wait for COLDBOOT_DONE"" am: a10bd47d60
...
am: c509c36892
Change-Id: I081414e6eff9c9bae3b9152760da580439d376aa
2016-11-29 18:18:43 +00:00
Elliott Hughes
c509c36892
Merge "Revert "init: Reworked how we wait for COLDBOOT_DONE""
...
am: a10bd47d60
Change-Id: Ibad56dbe843c16863a70552ea27aa3e7ffca0787
2016-11-29 18:14:19 +00:00
Treehugger Robot
5b21deb786
Merge changes I1d03564f,I883e4e6c
...
* changes:
adb: be more permissive in test_push_error_reporting.
adb: make sure that file mode macros match linux.
2016-11-29 18:13:07 +00:00
Mark Salyzyn
678194ddac
libcutils: tests
...
Respect "android" and "not_windows" (linux + darwin). This
means the string test and control support routines were not
being tested on android.
Test: gTest libcutils_test
Bug: 32450474
Change-Id: I9505fefeb0a4a8c5b54aa637812b4f3c07c2893c
2016-11-29 10:08:12 -08:00
Treehugger Robot
a10bd47d60
Merge "Revert "init: Reworked how we wait for COLDBOOT_DONE""
2016-11-29 18:05:51 +00:00
Billy Lau
d885cfbef1
Merge "init: Reworked how we wait for COLDBOOT_DONE" am: 57c31d0f17
am: 6be1d976f6
...
am: 93d6a6fada
Change-Id: I824f32d950d089b178bdb8e3abfbb83f3a8ed370
2016-11-29 16:46:37 +00:00
Billy Lau
93d6a6fada
Merge "init: Reworked how we wait for COLDBOOT_DONE" am: 57c31d0f17
...
am: 6be1d976f6
Change-Id: Ibcd178a0173e45ba32dbdd724436f0a4389df021
2016-11-29 16:41:38 +00:00
Mark Salyzyn
52ed8c68ee
liblog: CTS test
...
Utilize liblog-unit-tests as a CTS test
Replacement for EventLogTest#testWriteEventWithOversizeValue
along with some other mandatory logging functionality.
Test: run cts tests
Bug: 26235244
Change-Id: I71f549bd0b93f6c41e1f91565b0fbddf042e4991
2016-11-29 08:40:16 -08:00
Billy Lau
6be1d976f6
Merge "init: Reworked how we wait for COLDBOOT_DONE"
...
am: 57c31d0f17
Change-Id: I40c0183e3bc22bc85977e4e8db3b4ce6ad76375e
2016-11-29 16:36:37 +00:00
Elliott Hughes
a452660d92
Revert "init: Reworked how we wait for COLDBOOT_DONE"
...
This reverts commit d36115ef2f
.
Change-Id: I599b0eeebf9c062852323f2a4a986b18dd85288a
2016-11-29 16:34:56 +00:00
Billy Lau
57c31d0f17
Merge "init: Reworked how we wait for COLDBOOT_DONE"
2016-11-29 16:31:12 +00:00
Daniel Rosenberg
fc592327a9
Switch sdcardfs over to bind mounts.
...
Sdcardfs has been modified to use bind mounts
in place of three separate mounts. This lowers
resource usage, and removes a number of race
conditions around updates via differnt views.
Test: Run storage cts tests with sdcardfs enabled
Change-Id: Icdc196ba3d6f46d54d27ef91c01ffebcf81dd47e
2016-11-28 20:07:54 -08:00
Mark Salyzyn
0b37d01f72
liblog: event_tag_map benchmark
...
Tested on Hikey, all services stopped, shell only access, CPUs not
locked.
$ /data/nativetest64/liblog-benchmarks/liblog-benchmarks BM_lookupEvent*
iterations ns/op
Precharge: start
Precharge: stop 231
BM_lookupEventTag 10000000 153
BM_lookupEventTag_NOT 20000000 139
BM_lookupEventFormat 10000000 153
Test: run benchmarks
Bug: 31456426
Change-Id: Ice3ffa0b061d9a6b917718b2d9aedcc2348b7005
2016-11-28 15:15:58 -08:00
Nick Vaccaro
1e811fca22
resolve merge conflicts of 1f1a6fd
to nyc-mr1-dev-plus-aosp
...
Change-Id: Ic07b6db6f47d2157aef0d04d025ba747d0a4247d
2016-11-28 14:58:30 -08:00
Mark Salyzyn
98b5137946
logd: mLastWorstPidOFSystem crash am: ab8ad62939
am: 045bd50ca4
-s ours
...
am: 431c355cb5
Change-Id: I48f34024eb634c3c2d63c2023db9019f95996161
2016-11-28 22:36:41 +00:00
Mark Salyzyn
431c355cb5
logd: mLastWorstPidOFSystem crash am: ab8ad62939
...
am: 045bd50ca4
-s ours
Change-Id: I5dfa731304b31ee2a986da4aae63f130e91c3c56
2016-11-28 22:24:54 +00:00
liminghao
043edd0b4e
fs_mgr: support to reserved some blocks for an ext2/3/4 partition.
...
am: 7ac1234b08
Change-Id: Iafbe1f2108f08f88f854a35f6774dad9d1827e03
2016-11-24 01:13:22 +00:00
liminghao
7ac1234b08
fs_mgr: support to reserved some blocks for an ext2/3/4 partition.
...
These reserved blocks used to root or claim to CAP_SYS_RESOURCES process.
Change-Id: I4893bdb08399bf31a7640d4a63f4952cd636576f
Merged-In: I4893bdb08399bf31a7640d4a63f4952cd636576f
Signed-off-by: liminghao <liminghao@xiaomi.com>
2016-11-23 14:58:13 -08:00
Ting-Yuan Huang
d05783f75d
Merge "toolbox: exit when failed to allocate buffer for ioctl" am: 16017b3fbb
am: a2c763de6f
...
am: 93865880e5
Change-Id: I4cf73ee6b9cdd1c1fda73a03b9299ac40adc235b
2016-11-23 01:48:31 +00:00
Ting-Yuan Huang
93865880e5
Merge "toolbox: exit when failed to allocate buffer for ioctl" am: 16017b3fbb
...
am: a2c763de6f
Change-Id: I1f827779131f45444f1ed3c42ad5b6dfea14cfe5
2016-11-23 01:46:32 +00:00
Ting-Yuan Huang
a2c763de6f
Merge "toolbox: exit when failed to allocate buffer for ioctl"
...
am: 16017b3fbb
Change-Id: I9b83aa7be127654ab1997393cd118d57d01a1122
2016-11-23 01:44:02 +00:00
Treehugger Robot
16017b3fbb
Merge "toolbox: exit when failed to allocate buffer for ioctl"
2016-11-23 01:40:04 +00:00
Nick Kralevich
c3f9d38a4c
Merge "change /data/bugreports to /bugreports" am: 1b2e6abf3b
am: 5fae86b5fa
...
am: cb9fbb4cf6
Change-Id: I9bf9253db9377ac81f2a37f8976e042fd54f74c2
2016-11-23 00:16:14 +00:00
Nick Kralevich
cb9fbb4cf6
Merge "change /data/bugreports to /bugreports" am: 1b2e6abf3b
...
am: 5fae86b5fa
Change-Id: I2df004fd046f3bae8732d0cba128e19c64814db4
2016-11-23 00:13:43 +00:00
Nick Kralevich
5fae86b5fa
Merge "change /data/bugreports to /bugreports"
...
am: 1b2e6abf3b
Change-Id: I7de15de91a688f8fe4a203a84b54e7dcfa106782
2016-11-23 00:11:13 +00:00
Treehugger Robot
1b2e6abf3b
Merge "change /data/bugreports to /bugreports"
2016-11-23 00:06:30 +00:00
Ting-Yuan Huang
1c2f612c18
toolbox: exit when failed to allocate buffer for ioctl
...
This is a "shouldn't happen" case.
Test: make WITH_TIDY=1 mmma system/core/toolbox
Change-Id: I51e44e17837b03d6df6f8c4c3e1aeab8253e094d
2016-11-22 15:33:34 -08:00
Billy Lau
d36115ef2f
init: Reworked how we wait for COLDBOOT_DONE
...
Bug: 31800756
Instead of strictly timing out after 1s waiting for COLDBOOT_DONE,
we wait for a considerably longer period of time, which would also
allow slower non-production heavily instrumented debug builds to
boot up.
Upon successful wait, we measure the time taken and record the
value into a system property: ro.cold_boot.duration.
If timeout is still reached, we log an error message and abandon
boot process, rebooting into recovery mode instead.
Change-Id: Ic1df80546d8721b0e8c998ff294d5c5102de4e98
2016-11-22 21:25:02 +00:00
Jin Qian
2edf6d5579
Merge "fs_mgr: change MF_MAX_COMP_STREAMS define to match internal master" am: 72662414f6
am: 960584eeb0
...
am: f8a4fc97d6
-s ours
Change-Id: I7180d073692bca1df2207c20fe3365565f988fcc
2016-11-22 18:56:28 +00:00
Jin Qian
f8a4fc97d6
Merge "fs_mgr: change MF_MAX_COMP_STREAMS define to match internal master" am: 72662414f6
...
am: 960584eeb0
Change-Id: I98543758b3a7dfdca058fc1f8a61d31454f971e2
2016-11-22 18:50:33 +00:00