Pirama Arumuga Nainar
bdc2b5fa30
Add sys/types.h in utf8.h
...
am: 18a1606a88
Change-Id: I1be3c77db48c92f3e8d0b4a1b567e136c9aee5e6
2018-10-11 10:24:49 -07:00
Pirama Arumuga Nainar
ff229321fd
Adapt to switch to libc++ for Windows
...
am: 29e3dd8548
Change-Id: Ia4f13c6542334601273dea5a35b47a2df17b3ba0
2018-10-11 10:23:55 -07:00
Mark Salyzyn
6ed9536bf4
Merge "fs_mgr: deprecate check for ro.build.system_root_image"
...
am: 8ef3fe14bb
Change-Id: I2adaa88a70ac66f7704bceec06af06fc0f14c245
2018-10-11 08:17:46 -07:00
Treehugger Robot
8ef3fe14bb
Merge "fs_mgr: deprecate check for ro.build.system_root_image"
2018-10-11 14:56:49 +00:00
Idries Hamadi
fe6e279aeb
Merge "Reverted aapt dependency to be a dependency on libandroidfw"
...
am: 86554e949b
Change-Id: Ie11997e510592dff6528d78615e1d0fb3d86c9dc
2018-10-10 23:33:39 -07:00
Idries Hamadi
86554e949b
Merge "Reverted aapt dependency to be a dependency on libandroidfw"
2018-10-11 06:15:04 +00:00
Chih-Hung Hsieh
310ff45982
Merge "Suppress implicit-fallthrough warning."
...
am: 3f50316ea1
Change-Id: I827e9521aad9f1ab7fc0156c31dd4cb463d8b905
2018-10-10 18:27:01 -07:00
Treehugger Robot
3f50316ea1
Merge "Suppress implicit-fallthrough warning."
2018-10-11 01:01:13 +00:00
Rajeev Kumar
e10165769e
[automerger skipped] Merge "Read memory stats from /proc/pid/stat file."
...
am: d936e628a3 -s ours
Change-Id: Ifcc16f31ad7dc9b9a6f7071dbbb5741fc96c064d
2018-10-10 17:50:52 -07:00
Rajeev Kumar
d936e628a3
Merge "Read memory stats from /proc/pid/stat file."
2018-10-10 23:24:05 +00:00
Hridya Valsaraju
c0cea25d59
Merge "Do not calculate CRC for sparse images during fastboot flash"
...
am: a605668edd
Change-Id: Ib6c77991c908421bd2a38afe12012ac4e2fc059c
2018-10-10 16:16:56 -07:00
Hridya Valsaraju
e69d00e80c
Merge "set_active command should update current slot information."
...
am: cd72cbb5d8
Change-Id: Id736371e2ada05e171f941f26d57bddf0ab7b6eb
2018-10-10 16:16:22 -07:00
Rajeev Kumar
4dbc24d393
Read memory stats from /proc/pid/stat file.
...
(cherry pick from commit 0301683e49 )
Bug: 117333340
Test: Manual testing using alloc-stress tool
Merged-In: Ie555933aafa6a6b7aa1dbf5518ebe804376e0afd
Change-Id: Ie555933aafa6a6b7aa1dbf5518ebe804376e0afd
2018-10-10 22:23:25 +00:00
Treehugger Robot
a605668edd
Merge "Do not calculate CRC for sparse images during fastboot flash"
2018-10-10 22:22:30 +00:00
Treehugger Robot
cd72cbb5d8
Merge "set_active command should update current slot information."
2018-10-10 22:13:15 +00:00
Mark Salyzyn
d556c41a48
fs_mgr: deprecate check for ro.build.system_root_image
...
If there is a "/" in the fstab, can only be there on system as root.
This drops the troubling and annoying log message:
[libfs_mgr]Could not find verity device for mount point: /: No such device or address
Test: manual
Bug: 109821005
Change-Id: I6bbfc0af63e1526e52a1c6365241dbc1d5ee7c6a
2018-10-10 14:42:29 -07:00
Mark Salyzyn
d5045947e7
Merge changes I5e3f6677,I94665a41
...
am: ce2a8e5b9e
Change-Id: I979971b5da241c6c247fad005744d72b2931b0a8
2018-10-10 14:42:16 -07:00
Chih-Hung Hsieh
e6e2b3cda4
Suppress implicit-fallthrough warning.
...
Bug: 112564944
Test: make checkbuild
Change-Id: I2bcfd08ec62f6d5953a9e25dbeaa42ffefda6d1c
2018-10-10 14:39:02 -07:00
Treehugger Robot
ce2a8e5b9e
Merge changes I5e3f6677,I94665a41
...
* changes:
fs_mgr: overlayfs create scratch using a Dynamic Logical Partition
fs_mgr.h cleanup
2018-10-10 21:12:34 +00:00
Hridya Valsaraju
aec0de5d96
Do not calculate CRC for sparse images during fastboot flash
...
Bug: 78793464
Test: fastboot flashall
Sparse images with CRC are not supported by the Android build
system and hence the calculated CRC is unused.
Change-Id: Ia48b2f7e29f2adea26d185c5a8f2337c4cbe6dcb
2018-10-10 13:18:35 -07:00
Mark Salyzyn
69ebd440fe
fs_mgr: overlayfs create scratch using a Dynamic Logical Partition
...
The default is a valid /mnt/scratch/overlay/ or /cache/overlay/
directory, with .../<mount_point>/upper and .../<mount_point>/work,
associated with each system partition <mount_point>. Add support
for Dynamically Resized Partitions to create /mnt/scratch.
Test: manual
Bug: 109821005
Change-Id: I5e3f66778ea9e937c839e25541fedb6fbf34ab50
2018-10-10 12:26:51 -07:00
Mark Salyzyn
b5ca72811c
fs_mgr.h cleanup
...
Drop struct from specifications, fix style.
Test: compile
Change-Id: I94665a41d514501d2f4cd6888361316e08813431
2018-10-10 12:26:49 -07:00
Hridya Valsaraju
20bdf899b2
set_active command should update current slot information.
...
Boot control HAL implementations will return the current boot
slot as the active slot. If a set_active command is issued on another
slot, it should be considered as the new active slot and subsequent
flashes should flash the same.
Test: fastboot set_active "b", fastboot getvar current-slot
Bug: 78793464
Change-Id: Ida3817670de8e74a7d7ae2a905e7ac1756c6bdf1
2018-10-10 12:25:11 -07:00
Josh Gao
36d5c2ae9c
Merge "adb: don't close sockets before hitting EOF."
...
am: 2185d8ceef
Change-Id: Id7e398b5e2058a591492d7f053700e5129e63349
2018-10-10 11:44:04 -07:00
Josh Gao
2185d8ceef
Merge "adb: don't close sockets before hitting EOF."
2018-10-10 18:13:01 +00:00
Mark Salyzyn
3a78f9775d
Merge "fs_mgr: overlayfs deal with verity detection issues"
...
am: 042f2da1f3
Change-Id: I1dbc4fa1d41943f4833151c24ecc98cb2bf494e4
2018-10-10 10:00:38 -07:00
Treehugger Robot
042f2da1f3
Merge "fs_mgr: overlayfs deal with verity detection issues"
2018-10-10 16:51:57 +00:00
Mark Salyzyn
54e47908c3
fs_mgr: overlayfs deal with verity detection issues
...
Stop checking verity on each entry in the fstab, collect the verity
list whole and use in the loop. Open code verity detection for
"system" for cases where device table is incompletely specified, does
not specify a "/" or a "/system" entry.
Test: manual, /system on system-as-root overlays correctly.
Bug: 109821005
Change-Id: I7bc5fbef6577bb0823cb5deb26c370219e4e597b
2018-10-10 07:26:50 -07:00
Christopher Ferris
1bbd5a44f0
Merge "Fix handling of globals for new linker."
...
am: 8ddded2f96
Change-Id: I3b9acbd1a75daacc5e861937b6ad5a212d34a783
2018-10-09 19:24:25 -07:00
Christopher Ferris
8ddded2f96
Merge "Fix handling of globals for new linker."
2018-10-10 01:25:31 +00:00
Paul Lawrence
06834e3094
Merge "Handle retry count correctly"
...
am: a1bb191541
Change-Id: I68d6e150cd05b26ecdaf7e5869e17f0222bb8607
2018-10-09 18:01:18 -07:00
Treehugger Robot
a1bb191541
Merge "Handle retry count correctly"
2018-10-10 00:44:49 +00:00
Hridya Valsaraju
de809e0122
Merge "Check validity of partition for getvar:partition-type"
...
am: 9810709d91
Change-Id: If60e2ace22f215464757ce97b181d0a59f104a1a
2018-10-09 16:33:42 -07:00
Treehugger Robot
9810709d91
Merge "Check validity of partition for getvar:partition-type"
2018-10-09 23:21:54 +00:00
Hridya Valsaraju
9e7c924155
Merge "Return partition size in hex format."
...
am: b2263b4a07
Change-Id: I24e48dcb9b7e42b5069ebda9424db0e3cdc89cf5
2018-10-09 14:48:50 -07:00
Treehugger Robot
b2263b4a07
Merge "Return partition size in hex format."
2018-10-09 21:38:48 +00:00
Wei Wang
ac6bfc92a9
Merge "init: increase thermal shutdown timeout to 3s"
...
am: ed6f596de2
Change-Id: I13a1d33b5c6cc0e55a42b75ec52e9289d1e5d512
2018-10-09 14:24:33 -07:00
Treehugger Robot
ed6f596de2
Merge "init: increase thermal shutdown timeout to 3s"
2018-10-09 21:18:22 +00:00
Hridya Valsaraju
4165e00d67
Check validity of partition for getvar:partition-type
...
Test: fastboot getvar partition-type:product_services_a
Bug: 79480454
Change-Id: I4020b0c94daf8fb86c29104aecc1eb8f44f89999
2018-10-09 13:32:04 -07:00
bohu
e53b3adc80
Merge "fs_mgr: fix incorrect parameter type"
...
am: e2015afd78
Change-Id: Ia2cc00f409b92554796b07f6f3306e01587851e2
2018-10-09 13:13:06 -07:00
Treehugger Robot
e2015afd78
Merge "fs_mgr: fix incorrect parameter type"
2018-10-09 19:58:08 +00:00
Wei Wang
b5de088262
init: increase thermal shutdown timeout to 3s
...
1) increase thermal shutdown timeout to 3s for process to save work
2) respect property "ro.build.shutdown_timeout" in thermal shutdown if
it is set less than default time - "3s"
Bug: 112432890
Test: Build
Change-Id: Idc2b24dd44c1fab8f9b047fd2468de2ee45ff783
2018-10-09 12:53:30 -07:00
Hridya Valsaraju
2a377da2f6
Return partition size in hex format.
...
This is required to pass fuzzy_fastboot conformance tests.
Also, allow for zero sized partitions in fuzzy_fastboot.
Test: ./fuzzy_fastboot --gtest_filter=Conformance.Slots
Bug: 117220134
Change-Id: Ifb12994a7796b081215084cb68b37674210aaa12
2018-10-09 12:16:50 -07:00
bohu
39ed7afe2b
fs_mgr: fix incorrect parameter type
...
BUG: 117426573
Change-Id: Iffbdd3763dd19aa527bf805918a566477d122cfc
2018-10-09 10:49:44 -07:00
Christopher Ferris
1f34c0e7a4
Fix handling of globals for new linker.
...
The new linker base map is read-only, but the global handling code
for jit and dex information assumed the base map was a read-execute
one. Relax that requirement to search read-only maps.
Adjust the unit tests for this case.
Bug: 117293117
Test: Passes unit tests.
Test: Passes art cfi tests with and without llvm linker.
Change-Id: I31a765d51847d0b8d778ace9cbaa29f42073f4d9
2018-10-08 19:47:33 -07:00
Elliott Hughes
28d1f2ac26
Merge "Move system/core/ off NO_ERROR."
...
am: e8ab57765b
Change-Id: Ib2ad011c78eb28865cb6da5c99a078078645c579
2018-10-08 17:43:54 -07:00
Elliott Hughes
e8ab57765b
Merge "Move system/core/ off NO_ERROR."
2018-10-09 00:29:35 +00:00
Hridya Valsaraju
1a0edac5ee
Merge "Check maximum allowed download size for download command."
...
am: f7d154e10f
Change-Id: Iaa18bc9c59593705ac42f70c00aaf3e68282b9df
2018-10-08 16:54:19 -07:00
Treehugger Robot
f7d154e10f
Merge "Check maximum allowed download size for download command."
2018-10-08 23:35:10 +00:00
Tom Cherry
54894377e4
Merge "Assert that ParseInt/ParseUint are only used with signed/unsigned numbers respectively"
...
am: 93e029853c
Change-Id: I719b6f0c93adcfb99453e2ddcb51ac739ca1eca6
2018-10-08 16:18:15 -07:00