Commit graph

32047 commits

Author SHA1 Message Date
Mark Salyzyn
d98968eeda Merge "libcutils: fs_config: target_out_path assumed /system breaking partitions" am: e800b97c46
am: 0c7f2287aa

Change-Id: I12c36cfc77b74cde942d8cd87a390df3912c6cfd
2017-04-07 19:38:05 +00:00
Mark Salyzyn
0c7f2287aa Merge "libcutils: fs_config: target_out_path assumed /system breaking partitions"
am: e800b97c46

Change-Id: Ie4114f6e1439e60ca7ae8f72e4feddaa31e7d231
2017-04-07 19:34:05 +00:00
Treehugger Robot
e800b97c46 Merge "libcutils: fs_config: target_out_path assumed /system breaking partitions" 2017-04-07 19:25:34 +00:00
Vijay Venkatraman
cb5474b140 Merge "Moved all files from include/system to libsystem/include/system" am: deb32544ba
am: 38a5bead70

Change-Id: Idfa9068920e50f6554ac236eb44474853cae8cd2
2017-04-07 18:36:00 +00:00
Mark Salyzyn
755cdc6173 Merge "liblog: adapt to removal of property name size limit" am: 7660c46c66 am: 3b3811b645
am: f1a6ba96f3

Change-Id: I8d288074646cb138df1dbb4a78267fee945869fc
2017-04-07 18:35:59 +00:00
Vijay Venkatraman
38a5bead70 Merge "Moved all files from include/system to libsystem/include/system"
am: deb32544ba

Change-Id: I72a55fad9e5124646b94b13557f1485c8607744c
2017-04-07 18:31:31 +00:00
Mark Salyzyn
f1a6ba96f3 Merge "liblog: adapt to removal of property name size limit" am: 7660c46c66
am: 3b3811b645

Change-Id: I08bac0a8486d22d376ac119b6d08bdb2371e7840
2017-04-07 18:31:30 +00:00
Mark Salyzyn
c18f3102da liblog: adapt to removal of property name size limit
There is no longer a name size limit to the properties.

Test: gTest liblog-unit-tests, logd-unit-tests and logcat-unit-tests
Test: liblog-benchmarks BM_is_loggable
Bug: 36696208
Change-Id: I80706a48583192b21f532a06cb8fa183a34e5f76
2017-04-07 11:29:44 -07:00
Vijay Venkatraman
deb32544ba Merge "Moved all files from include/system to libsystem/include/system" 2017-04-07 18:28:47 +00:00
Mark Salyzyn
3b3811b645 Merge "liblog: adapt to removal of property name size limit"
am: 7660c46c66

Change-Id: Ie6c5aa2e9b5639d0d408484d56cc59c43eb9dd83
2017-04-07 18:27:30 +00:00
Treehugger Robot
7660c46c66 Merge "liblog: adapt to removal of property name size limit" 2017-04-07 18:22:07 +00:00
Mark Salyzyn
d24dc95e87 liblog: adapt to removal of property name size limit
There is no longer a name size limit to the properties.

Test: gTest liblog-unit-tests, logd-unit-tests and logcat-unit-tests
Test: liblog-benchmarks BM_is_loggable
Bug: 36696208
Change-Id: I80706a48583192b21f532a06cb8fa183a34e5f76
2017-04-07 18:18:18 +00:00
Zhenhua WANG
caf7750f3f NativeBridge: add "linked namespace" semantic corresponding to linker
For dynamic linking perspective, semantics of NativeBridge needs to
align with dynamic linker. This patch adds "linked namespace" semantic
which shares some libraries from one namespace to another.

Bug: 37123321
Test: Fugu: netflix, play movies, youtube
Test: make test-art-host-run-test-115-native-bridge

cherry picked from commit e8fb11dfa1

Change-Id: I71ce1dde19d61363d5eb9731fd4795a8c315b3a0
2017-04-07 10:42:51 -07:00
Mark Salyzyn
6e9cb8fd79 libcutils: fs_config: target_out_path assumed /system breaking partitions
Strip off trailing / then /system and then add back the appropriate
config directory.  This fixes an issue with reading vendor, oem or odm
partitions.

Test: manual build successfully interprets all etc/fs_config_* files.
Test: manual incremental build successfully interprets all etc/fs_config_* files.
Bug: 36071012
Change-Id: Iba363f0731bb8d15e595bb45c56db97722edabc2
2017-04-07 10:29:51 -07:00
Christopher Ferris
328b6947d0 Merge "Implement maps parsing." am: 33e6b18d35 am: d58265e72a
am: f6defd3e09

Change-Id: Ie942d558b172365db0bb0e1ef0b766dc9f22eb5f
2017-04-07 17:02:07 +00:00
Christopher Ferris
f6defd3e09 Merge "Implement maps parsing." am: 33e6b18d35
am: d58265e72a

Change-Id: Ic93d2af4e13289605d0a4cd03176e189cb7e7b23
2017-04-07 16:58:06 +00:00
Christopher Ferris
d58265e72a Merge "Implement maps parsing."
am: 33e6b18d35

Change-Id: I1673e501a90c559bc491c929e21bca6f6cec3a22
2017-04-07 16:53:40 +00:00
Christopher Ferris
33e6b18d35 Merge "Implement maps parsing." 2017-04-07 16:45:36 +00:00
Dan Cashman
6e79d204d7 Merge "Reflect move of mapping file to /system." am: a74635d33e am: 6f18343656
am: e85e8d58d5

Change-Id: If8b81d41d14733c1484b70a173117da467c15094
2017-04-07 14:38:46 +00:00
Dan Cashman
e85e8d58d5 Merge "Reflect move of mapping file to /system." am: a74635d33e
am: 6f18343656

Change-Id: I8686371490d33820be555afc5a691c8b39018c4f
2017-04-07 14:35:14 +00:00
Dan Cashman
6f18343656 Merge "Reflect move of mapping file to /system."
am: a74635d33e

Change-Id: Idf88cf223deb529faef0f805e5dc301e5ff92172
2017-04-07 14:30:47 +00:00
Treehugger Robot
a74635d33e Merge "Reflect move of mapping file to /system." 2017-04-07 14:25:33 +00:00
Janis Danisevskis
a074e16357 Merge "Move early_hal start to late-fs trigger action" into oc-dev
am: 9cadfde2d6

Change-Id: I1498e1ecf8d736b68b3b0a70f2440bdf84156df0
2017-04-07 06:11:58 +00:00
TreeHugger Robot
9cadfde2d6 Merge "Move early_hal start to late-fs trigger action" into oc-dev 2017-04-07 06:08:08 +00:00
Tom Cherry
25c351ccb8 Merge "init: more header cleanup" am: ab5ab1ebd4 am: 6510908bd1
am: d93ffe7260

Change-Id: I987514d698ac2c67036ad8dc084ca36c8a300767
2017-04-07 02:59:38 +00:00
Tom Cherry
d93ffe7260 Merge "init: more header cleanup" am: ab5ab1ebd4
am: 6510908bd1

Change-Id: I4652593443b18e91914eda674276ad4b37f96eb9
2017-04-07 02:56:00 +00:00
Tom Cherry
6510908bd1 Merge "init: more header cleanup"
am: ab5ab1ebd4

Change-Id: I1f7cdd93e96e47cadf9b80ba428d11a358a49176
2017-04-07 02:52:01 +00:00
Treehugger Robot
ab5ab1ebd4 Merge "init: more header cleanup" 2017-04-07 02:44:07 +00:00
Janis Danisevskis
1ad8d21947 Move early_hal start to late-fs trigger action
The class early_hal is essentially for the keymaster hal which needs
to be up before vold tries to unlock a storage encryption key (FDE or
FBE). The current position is too early in the boot process, because
on devices with legacy HAL the wrapper service uses system properties
to find the legacy HAL.

This patch moves the start of the early_hal class to the late-fs trigger
action which runs right after the system property action.

Test: Manually tested and update tested on bullhead, sailfish, and
      another device.
Bug: 35764921

Change-Id: I34b45b85f8450e9ef18861535fdb2ee963df8c9b
2017-04-07 02:30:18 +00:00
Thierry Strudel
9c2029b1d0 Merge "Revert "libcutils: fs_config: target_out_path assumed /system"" am: ad90763ab9 am: bb1c8f3691
am: b00ea15291

Change-Id: If19838bebcf272599acd8d31b27c1cb6672bdba4
2017-04-07 02:16:59 +00:00
Thierry Strudel
b00ea15291 Merge "Revert "libcutils: fs_config: target_out_path assumed /system"" am: ad90763ab9
am: bb1c8f3691

Change-Id: Ib1a4273177f5591cde677ed0a339b1948d410731
2017-04-07 02:12:28 +00:00
Thierry Strudel
bb1c8f3691 Merge "Revert "libcutils: fs_config: target_out_path assumed /system""
am: ad90763ab9

Change-Id: I132fc583194a7225b3572b226344e884a432caf6
2017-04-07 02:08:29 +00:00
Treehugger Robot
ad90763ab9 Merge "Revert "libcutils: fs_config: target_out_path assumed /system"" 2017-04-07 02:03:23 +00:00
Tom Cherry
3f5eaae526 init: more header cleanup
Remove includes of "log.h" that really want <android-base/logging.h>
Fix header include order
Remove headers included in .cpp files that their associated .h already includes
Remove some unused headers

Test: boot bullhead
Change-Id: I2b415adfe86a5c8bbe4fb1ebc53c7b0ee2253824
2017-04-06 18:06:34 -07:00
Adam Lesinski
c2b1bcac98 Merge "ZipWriter: Do not write DataDescriptor for STORED files" am: 47f5581927 am: b087e37d4c
am: 3892b4be0f

Change-Id: Ibfb9262367eac5d528270dfe5ea0bd12edd654ee
2017-04-07 00:48:23 +00:00
Adam Lesinski
3892b4be0f Merge "ZipWriter: Do not write DataDescriptor for STORED files" am: 47f5581927
am: b087e37d4c

Change-Id: Icb2d0a1e5903e270697e4c0cd701ecc696cfffb1
2017-04-07 00:44:22 +00:00
Adam Lesinski
b087e37d4c Merge "ZipWriter: Do not write DataDescriptor for STORED files"
am: 47f5581927

Change-Id: I1c2fa98c84b699063b75fb04d41d6b36e00f6891
2017-04-07 00:41:21 +00:00
Thierry Strudel
29e0c8f1a9 Revert "libcutils: fs_config: target_out_path assumed /system"
This reverts commit 7130fb345d.

Bug: 36816191
Change-Id: I7d604d510865b1fa15781ffb4ad8b3e77ac44395
2017-04-07 00:34:03 +00:00
Adam Lesinski
47f5581927 Merge "ZipWriter: Do not write DataDescriptor for STORED files" 2017-04-07 00:33:20 +00:00
Tom Cherry
f2cb84724b Merge "ueventd: Write tests for the get_*_symlinks() functions" am: e7fbd6a2b4 am: e6b70f5913
am: 9cf2cd358c

Change-Id: Ifca39b2f2ffc66c81c2abc7defe8018fab4d6a5c
2017-04-07 00:30:23 +00:00
Tom Cherry
9cf2cd358c Merge "ueventd: Write tests for the get_*_symlinks() functions" am: e7fbd6a2b4
am: e6b70f5913

Change-Id: I517d4f966d9d8f743cb17824e78e0cfd63a048f9
2017-04-07 00:26:50 +00:00
Tom Cherry
e6b70f5913 Merge "ueventd: Write tests for the get_*_symlinks() functions"
am: e7fbd6a2b4

Change-Id: Ia77a42ebcce14036c71b2885d39372a9a4456649
2017-04-07 00:23:22 +00:00
Tom Cherry
e7fbd6a2b4 Merge "ueventd: Write tests for the get_*_symlinks() functions" 2017-04-07 00:14:03 +00:00
Adam Lesinski
e2fa70bcb0 ZipWriter: Do not write DataDescriptor for STORED files
Older implementations of ZIP (Java's ZipInputStream) don't
like a Data Descriptor trailing after an uncompressed entry.

If the FILE is seekable, and the entry is uncompressed, seek
back to the header and write out the crc and sizes.

(cherry-pick of commit 639814d946)

Bug: 36686974
Test: make ziparchive_tests
Change-Id: I61664515e5afa3e2ba814874eeac847a2aaac319
2017-04-06 17:03:32 -07:00
Tom Cherry
c0d7642347 Merge "Add android::base::ScopeGuard" am: 5c3961c547 am: e24876879a
am: ff0cb987ce

Change-Id: I933ea04cc8e96d9c9fe32226526741f44b4a86cd
2017-04-06 22:52:53 +00:00
Tom Cherry
ff0cb987ce Merge "Add android::base::ScopeGuard" am: 5c3961c547
am: e24876879a

Change-Id: Iad9fef49c54c59567656413900768d532e4c0a7d
2017-04-06 22:48:54 +00:00
Tom Cherry
e24876879a Merge "Add android::base::ScopeGuard"
am: 5c3961c547

Change-Id: I81bff856294196ab3eb02ac83ee569f90e8eea77
2017-04-06 22:45:29 +00:00
Tom Cherry
5c3961c547 Merge "Add android::base::ScopeGuard" 2017-04-06 22:41:02 +00:00
Liu Changcheng
19776df89a Merge "check send_signal result before further dealing" am: 5830f7b564 am: 381a13555d
am: 3f6ec84478

Change-Id: I7e43b4a7327d83c0582faaae2563461d8d324935
2017-04-06 22:39:20 +00:00
Liu Changcheng
3f6ec84478 Merge "check send_signal result before further dealing" am: 5830f7b564
am: 381a13555d

Change-Id: Ia673d951bd8ef42aa98e4a4098cac59f6dc2f409
2017-04-06 22:35:46 +00:00