Martijn Coenen
c04403fb6e
Merge "Restorecon new vndservice_contexts file." into oc-dev
...
am: 6c2b3e5fd8
Change-Id: Ida2184388171b5d5febd61cd7d6159c3b958d6a9
2017-04-04 03:51:27 +00:00
Martijn Coenen
6c2b3e5fd8
Merge "Restorecon new vndservice_contexts file." into oc-dev
2017-04-04 03:41:48 +00:00
Josh Gao
1895710d4d
debuggerd_test: add test for process/thread names.
...
am: 845a2f9b4a
Change-Id: I63e70f580f0799c123b0c91fc0b5e2af6906d8b1
2017-04-04 03:24:48 +00:00
Tom Cherry
16d14d73a6
Merge "init: Use std::string for write_file()" am: 815578cef2
am: 5ff631620e
...
am: 5981eae421
Change-Id: I3259e0cc0af1079efd9d8a267e6aaeb34c74695c
2017-04-04 02:42:58 +00:00
Tom Cherry
5981eae421
Merge "init: Use std::string for write_file()" am: 815578cef2
...
am: 5ff631620e
Change-Id: I340cd41c89c251d03121079df8457a901228d7b2
2017-04-04 02:38:01 +00:00
Tom Cherry
5ff631620e
Merge "init: Use std::string for write_file()"
...
am: 815578cef2
Change-Id: I58b3804b67967514d04a771da5a39efd9de9d218
2017-04-04 02:34:00 +00:00
Treehugger Robot
815578cef2
Merge "init: Use std::string for write_file()"
2017-04-04 02:21:55 +00:00
Elliott Hughes
ff5e2fa208
Merge "Show install path in "adb --version" and "fastboot --version"." am: d2d8b68f70
am: 8aac990de2
...
am: dd05434457
Change-Id: Ibc945b167cc59fa744c4516021b946ab96fa69f3
2017-04-04 01:31:31 +00:00
Josh Gao
4c35139eab
Merge "debuggerd_test: add test for process/thread names." am: ca8954f7b8
am: 330b6fd878
...
am: 5a6f589b3d
Change-Id: Ic643800ae9c3bd806342a6e35d36db913937948e
2017-04-04 01:31:19 +00:00
Elliott Hughes
dd05434457
Merge "Show install path in "adb --version" and "fastboot --version"." am: d2d8b68f70
...
am: 8aac990de2
Change-Id: I03ba9fb1e41537a2e058c3375d0698b9699d955f
2017-04-04 01:27:07 +00:00
Josh Gao
5a6f589b3d
Merge "debuggerd_test: add test for process/thread names." am: ca8954f7b8
...
am: 330b6fd878
Change-Id: I93fbfe223941b9e7bb9f599f857ec38007415359
2017-04-04 01:26:56 +00:00
Elliott Hughes
8aac990de2
Merge "Show install path in "adb --version" and "fastboot --version"."
...
am: d2d8b68f70
Change-Id: I3fac85f01f08c277bdc4ccc8ebbb22ddb9f3397f
2017-04-04 01:23:40 +00:00
Josh Gao
330b6fd878
Merge "debuggerd_test: add test for process/thread names."
...
am: ca8954f7b8
Change-Id: I13fe3d3715458c41630adc2a221881dd0a8a9ccb
2017-04-04 01:23:26 +00:00
Elliott Hughes
d2d8b68f70
Merge "Show install path in "adb --version" and "fastboot --version"."
2017-04-04 01:16:11 +00:00
Josh Gao
845a2f9b4a
debuggerd_test: add test for process/thread names.
...
Make sure that we can get the process/thread names for nondumpable
processes with capabilities.
Bug: http://b/36237221
Test: /data/nativetest/debuggerd_test/debuggerd_test32
Change-Id: Iedd4eae18065c2e64abeebff15e3b9b09a630550
(cherry picked from commit a5199a9e43
)
2017-04-03 18:14:50 -07:00
Josh Gao
ca8954f7b8
Merge "debuggerd_test: add test for process/thread names."
2017-04-04 01:14:35 +00:00
Christopher Desjardins
def2097993
Merge "Make ueventd error messages indicate where the error is in ueventd script" am: fd72bbe91f
am: ec2fb683ff
...
am: 98900f582b
Change-Id: Ia8efa2fe05da73795e4411d2b16dcaf9813f7b30
2017-04-04 00:04:09 +00:00
Christopher Desjardins
98900f582b
Merge "Make ueventd error messages indicate where the error is in ueventd script" am: fd72bbe91f
...
am: ec2fb683ff
Change-Id: I48b598b16891aca67372e365ae775a42fd2ce4ba
2017-04-04 00:00:20 +00:00
Keun-young Park
873b5c14e3
Merge "add shutdown animation" into oc-dev
...
am: 49ab678930
Change-Id: I4d7115924034eb882c78ca83f666021cfdf9e67a
2017-04-03 23:59:55 +00:00
Christopher Desjardins
ec2fb683ff
Merge "Make ueventd error messages indicate where the error is in ueventd script"
...
am: fd72bbe91f
Change-Id: I5a6637721475e5cc6cef6e1240b8ce753fc983f5
2017-04-03 23:56:49 +00:00
TreeHugger Robot
49ab678930
Merge "add shutdown animation" into oc-dev
2017-04-03 23:51:41 +00:00
Treehugger Robot
fd72bbe91f
Merge "Make ueventd error messages indicate where the error is in ueventd script"
2017-04-03 23:50:31 +00:00
Tom Cherry
53089aa25c
init: Use std::string for write_file()
...
The content parameter of write_file() previously took a char* that was
then converted to a std::string in WriteStringToFd(). One unfortunate
effect of this, is that it is impossible to write data that contains
'\0' within it, as the new string will only contain characters up
until the '\0'.
This changes write_file() to take an std::string, such that
std::string::size() is used to determine the length of the string,
allowing it to contain null characters.
Also change the path parameter of read_file() and write_file() for
consistency.
Lastly, add a test for handling strings with '\0' in them.
Bug: 36726045
Test: Boot bullhead, run unit tests
Change-Id: Idad60e4228ee2de741ab3ab6a4917065b5e63cd8
2017-04-03 16:41:22 -07:00
Christopher Desjardins
7d3e2c4d4e
Make ueventd error messages indicate where the error is in ueventd script
...
Test: Boot bullhead
Test: Observe errors with file and line number with faulty ueventd.rc
Change-Id: Ieae6151e253f1e6437dfdebd14da4e1e04a45fae
2017-04-03 22:20:55 +00:00
Eino-Ville Talvala
f879e859b4
Merge "Include vendor gralloc0 flags in gralloc1 conversion." into oc-dev
...
am: 5658a29c0c
Change-Id: Id0ddf5a27a5d2e1e76d8a7521c518547f169a2c9
2017-04-03 22:06:56 +00:00
Tom Cherry
52beb22ff7
Merge "Make init builtin command installkey respect property updates" into oc-dev
...
am: 78a215ff55
Change-Id: I79ab23c6a1d22054ec81c78309be5849133e5eb2
2017-04-03 22:05:59 +00:00
Eino-Ville Talvala
5658a29c0c
Merge "Include vendor gralloc0 flags in gralloc1 conversion." into oc-dev
2017-04-03 22:03:14 +00:00
Tom Cherry
78a215ff55
Merge "Make init builtin command installkey respect property updates" into oc-dev
2017-04-03 21:58:45 +00:00
Jin Qian
4a527e59e1
storaged: skip batteryproperties listener if uid_io not available
...
am: ba27df4d0f
Change-Id: I0ab4df668b3f8401a8fdb53cdcdebc66a6bf9ad1
2017-04-03 21:37:23 +00:00
Jin Qian
5227efa251
storaged: add support for ufs health info
...
am: 808f703609
Change-Id: I2629ba229f691a28192d0f5773ea256d2297b621
2017-04-03 21:37:12 +00:00
Jin Qian
fa578a57c1
storaged: read emmc health data from sysfs
...
am: 8197093497
Change-Id: I728c61fc00de0848243cd002934c4c3a79660e88
2017-04-03 21:37:05 +00:00
Vineeta Srivastava
13bd93b77d
Merge "Add vbmeta image support for verified boot" am: 8bc5c8521a
am: 5e3590e81e
...
am: 0bba8acf3f
Change-Id: If9bd32b948191dec36dab0ec950960836f0738c6
2017-04-03 20:31:27 +00:00
Vineeta Srivastava
0bba8acf3f
Merge "Add vbmeta image support for verified boot" am: 8bc5c8521a
...
am: 5e3590e81e
Change-Id: I5902098ef05423e18e06480de4f2b9eee8d70e0f
2017-04-03 20:27:07 +00:00
Vineeta Srivastava
5e3590e81e
Merge "Add vbmeta image support for verified boot"
...
am: 8bc5c8521a
Change-Id: I7de333ee2b7502c0040c2f27f36c8059e188ec03
2017-04-03 20:23:15 +00:00
Josh Gao
a5199a9e43
debuggerd_test: add test for process/thread names.
...
Make sure that we can get the process/thread names for nondumpable
processes with capabilities.
Bug: http://b/36237221
Test: /data/nativetest/debuggerd_test/debuggerd_test32
Change-Id: Iedd4eae18065c2e64abeebff15e3b9b09a630550
2017-04-03 13:18:34 -07:00
Vineeta Srivastava
8bc5c8521a
Merge "Add vbmeta image support for verified boot"
2017-04-03 20:13:19 +00:00
Keun-young Park
33af57e331
Merge "add shutdown animation" am: 8aae1b158a
am: e15756a604
...
am: 8aebd47ca5
Change-Id: I33963010e5402b123510df5e4a63fa85e72b10c4
2017-04-03 19:41:27 +00:00
Keun-young Park
c50b39994d
add shutdown animation
...
- Run shutdown animation during shutdown if surfaceflinger is
available / running.
- services necessary for animation should be added to animation
class.
- Keep debugging tools while non-critical services are terminated:
logd, adbd, tombstoned
bug: 36526187
Test: many reboots
(cherry picked from commit 7830d59500
)
Change-Id: I83011e3f843e6b64c56c453a996db738f497877a
2017-04-03 12:38:01 -07:00
Keun-young Park
8aebd47ca5
Merge "add shutdown animation" am: 8aae1b158a
...
am: e15756a604
Change-Id: I8595e5b6865f5c0f7ef5b43166853370ada8a141
2017-04-03 19:37:33 +00:00
Keun-young Park
e15756a604
Merge "add shutdown animation"
...
am: 8aae1b158a
Change-Id: I1ccd7473d8ed305597fbb98b724dc7748b577d14
2017-04-03 19:34:04 +00:00
Keun-young Park
8aae1b158a
Merge "add shutdown animation"
2017-04-03 19:27:34 +00:00
Martijn Coenen
7c1e0d84ab
Restorecon new vndservice_contexts file.
...
Bug: 36052864
Test: boots
Change-Id: Ib0a5904ffb8ed2d865ab85adbf4cdefd52e6a27d
2017-04-03 11:08:58 -07:00
Elliott Hughes
dba283887e
Merge "Switch to a shell_and_utilities phony module." am: 2aeed10a28
am: 40fa93dbf0
...
am: e96faa6ecd
Change-Id: I55c082450a4cdbd76d88acf2ab10f6063ad0b428
2017-04-03 17:50:36 +00:00
Elliott Hughes
e96faa6ecd
Merge "Switch to a shell_and_utilities phony module." am: 2aeed10a28
...
am: 40fa93dbf0
Change-Id: Ib58a38a624151f3e24af8fd4c3d073584d8f03ca
2017-04-03 17:23:04 +00:00
Elliott Hughes
40fa93dbf0
Merge "Switch to a shell_and_utilities phony module."
...
am: 2aeed10a28
Change-Id: Id1a3cd08ad08793c49d1f8618b87ae9712619196
2017-04-03 17:19:28 +00:00
Elliott Hughes
2aeed10a28
Merge "Switch to a shell_and_utilities phony module."
2017-04-03 17:15:17 +00:00
Elliott Hughes
521d303582
Switch to a shell_and_utilities phony module.
...
(cherrypick of 8ad0e66e77c795d11e9cd5c7b576eed0da60537e.)
Bug: N/A
Test: builds
Change-Id: I700700abb4de76017a2ff811ceff19ea2ee86eb2
2017-04-03 17:14:26 +00:00
Jin Qian
ba27df4d0f
storaged: skip batteryproperties listener if uid_io not available
...
uid_monitor is the only user of batteryproperties, no need to register
a callback if uid_io not enabled.
Test: run storaged without uid_io, plug/unplug usb cable
Merged-In: If890a93fec155b67c450341c54b44bb18d3aae3d
Change-Id: If890a93fec155b67c450341c54b44bb18d3aae3d
2017-04-03 16:48:44 +00:00
Jin Qian
808f703609
storaged: add support for ufs health info
...
Test: adb logcat -d -b events | grep storaged_emmc_info
Bug: 36228467
Merged-In: I519fe2b8a99c1c31f1fe720bd671904d1ab609bb
Change-Id: I519fe2b8a99c1c31f1fe720bd671904d1ab609bb
2017-04-03 16:48:30 +00:00
Jin Qian
8197093497
storaged: read emmc health data from sysfs
...
Sysfs data is straightforward so we don't need parsing anymore.
Also removed periodical check since data is set only once during
driver initialization. Checking at every device boot or storaged
restart should be sufficient to monitor long term status change.
Test: adb logcat -d -b events | grep storaged_emmc_info
Bug: 36228467
Merged-In: I2a181f52c9f19de1e679a3a905aaebafe4d08227
Change-Id: Ic05e353f0af9363f3bcbe793ba0c351082e446ca
2017-04-03 16:48:14 +00:00