Commit graph

37563 commits

Author SHA1 Message Date
Oleg Matcovschi
317ec5cf5b Merge "fs_mgr: support reading fstab based on ro.boot.hardware.platform" am: 3d879b10d8
am: 45aa5ed89a

Change-Id: I71f449c2ae0a24a736f460cb64e501e09485bf30
2017-11-01 21:24:35 +00:00
Chih-Hung Hsieh
6e28ff2ce6 Merge "Use -Werror in system/core" am: 4ef714eae0
am: 57270f809a

Change-Id: If5d4ec1749ff2acbce781b0b6678a53fc7169d90
2017-11-01 21:23:58 +00:00
Oleg Matcovschi
45aa5ed89a Merge "fs_mgr: support reading fstab based on ro.boot.hardware.platform"
am: 3d879b10d8

Change-Id: I7dae8519843e007974d21025d72c49957caded83
2017-11-01 20:49:27 +00:00
Chih-Hung Hsieh
57270f809a Merge "Use -Werror in system/core"
am: 4ef714eae0

Change-Id: I6844cc5239711f5569a252e38bbc8c89c96cc347
2017-11-01 20:47:12 +00:00
Treehugger Robot
3d879b10d8 Merge "fs_mgr: support reading fstab based on ro.boot.hardware.platform" 2017-11-01 20:46:22 +00:00
Treehugger Robot
4ef714eae0 Merge "Use -Werror in system/core" 2017-11-01 20:41:43 +00:00
Chih-Hung Hsieh
122352d983 Use -Werror in system/core
* Move -Wall -Werror from cppflags to cflags.
* Fix/suppress warning on unused variables.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I1e05e96a1d0bcb2ccef1ce456504b3af57167cc5
2017-11-01 11:32:55 -07:00
Chih-hung Hsieh
dc991a7529 Merge "Use -Werror in system/core/libnativebridge" am: 52013bc3d4
am: d164933fee

Change-Id: Ifefa647f3e9270abd049a90b265b015b3830c3db
2017-11-01 16:51:16 +00:00
Chih-hung Hsieh
d164933fee Merge "Use -Werror in system/core/libnativebridge"
am: 52013bc3d4

Change-Id: Ic83e320877f2a01052636e62352e7707b0eb1809
2017-11-01 16:42:43 +00:00
Chih-hung Hsieh
52013bc3d4 Merge "Use -Werror in system/core/libnativebridge" 2017-11-01 16:39:01 +00:00
Oleg Matcovschi
018d7f69da fs_mgr: support reading fstab based on ro.boot.hardware.platform
This change adds fstab.${ro.boot.hardware.platform} file into list of
searched fstab filenames.
The ${ro.boot.hardware.platform} helps consolidate init sequence based
on platform. Potentially it allows same build serve different devices.

Bug: 68663168
Change-Id: I822d5bc432e823218ebc640093cfbe5e9271d3b1
2017-11-01 09:38:21 -07:00
Christopher Ferris
aefa97949e Merge "Move sp/pc not changing check into Unwinder." am: 15251c24b9
am: a6454515f3

Change-Id: I9a326bdbc94491e5134fa77866ceaa904ca01b7b
2017-11-01 15:04:47 +00:00
Christopher Ferris
0afe9282c4 Merge "Fix template support." am: 96e15c9e7d
am: 5afe782a9c

Change-Id: I1ee7ab0948f5f70a62e2cbde0745e7d9e2a06657
2017-11-01 15:04:06 +00:00
Christopher Ferris
a6454515f3 Merge "Move sp/pc not changing check into Unwinder."
am: 15251c24b9

Change-Id: If13e5f8f4b46bfaed5cd8654526ba4dce333b0ff
2017-11-01 15:02:48 +00:00
Christopher Ferris
5afe782a9c Merge "Fix template support."
am: 96e15c9e7d

Change-Id: Ic9d5822a6420a3c5dd0378e75ab9203b708fdf99
2017-11-01 15:02:01 +00:00
Christopher Ferris
15251c24b9 Merge "Move sp/pc not changing check into Unwinder." 2017-11-01 14:58:35 +00:00
Christopher Ferris
96e15c9e7d Merge "Fix template support." 2017-11-01 14:58:05 +00:00
Narayan Kamath
70f5571a9a resolve merge conflicts of 5ab03cb41 to oc-mr1-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic749614fb03d60d6cc7e0eb04bb67102e572e9f2
2017-11-01 11:32:17 +00:00
Narayan Kamath
5ab03cb418 Merge "zip_archive: Allow crc_out to be nullptr in Inflate."
am: 55c9284f55

Change-Id: I31f2859b9c91033a4bd0da7cd17ec09084b3164f
2017-11-01 11:17:40 +00:00
Narayan Kamath
55c9284f55 Merge "zip_archive: Allow crc_out to be nullptr in Inflate." 2017-11-01 11:12:18 +00:00
Christopher Ferris
fda7edd13e Move sp/pc not changing check into Unwinder.
Remove this check from the DwarfSection class.

Rather than have every step function make the check, doing it at the
top level avoids having every function do the same check.

Bug: 68167269

Test: New unit tests, ran debuggerd -b on processes.
Change-Id: I23b7c799faaf26c93c1b72848df18c78de6c42fb
2017-10-31 17:51:02 -07:00
Chih-Hung Hsieh
048df230ab Use -Werror in system/core/libnativebridge
* Fix unused static variable warning.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I9c3a2031ac49368a1833a9d46af8174c3c9cd32e
2017-10-31 15:55:40 -07:00
Christopher Ferris
584333e3b2 Fix template support.
- Fix template applying to function name without a starting N.
- Fix return types for templates handling.
- Add support for the T substitution parameter.
- Fix a case where the literal L handler was not being set properly.

Bug: 67678053

Test: New unit tests, fuzzer.
Change-Id: I4f831038047eb2cd8519426f16aa2bdcb846d92d
2017-10-31 15:00:54 -07:00
James Hawkins
92eca147c3 Merge "bootstat: Add another boot reason." am: bb3769349d
am: 90cde982dc

Change-Id: Ia5903a912e540e1549ac43058d36564e22a91330
2017-10-31 20:12:12 +00:00
James Hawkins
90cde982dc Merge "bootstat: Add another boot reason."
am: bb3769349d

Change-Id: I8893cc8af331832e4f031aaee382e15848ccf7bf
2017-10-31 20:10:06 +00:00
Treehugger Robot
bb3769349d Merge "bootstat: Add another boot reason." 2017-10-31 20:02:00 +00:00
James Hawkins
8ac79bc820 bootstat: Add another boot reason.
Bug: None
Test: None
Change-Id: I865a12e9c8833c4a345284181aa1812be3eddadd
2017-10-31 10:07:34 -07:00
Brendan Jackman
2f402d34ff Merge "logcat: Note in help that regexps are Perl-compatible" am: 411111acf4
am: 9d11756d48

Change-Id: I3859490b9e3ec1e6e68c2caa052962f89fffd51f
2017-10-31 16:59:00 +00:00
Brendan Jackman
9d11756d48 Merge "logcat: Note in help that regexps are Perl-compatible"
am: 411111acf4

Change-Id: Ifbe765500c99a0a0e3ef858dbadf7ecbbf518f4a
2017-10-31 16:54:57 +00:00
Treehugger Robot
411111acf4 Merge "logcat: Note in help that regexps are Perl-compatible" 2017-10-31 16:48:47 +00:00
Brendan Jackman
a5141130f3 logcat: Note in help that regexps are Perl-compatible
The expressions accepted by the '-e'/'--grep' command line option are
PCRE:

https://android.googlesource.com/platform/system/core/+/master/logcat/logcat.cpp#1018

Say so in the help string.

Change-Id: I7f6af130d5e39570bb49310a928f5d495e5b269b
2017-10-31 12:44:54 +00:00
Christopher Ferris
93651571fc Merge "Switch libbacktrace new unwinder." am: f0da1c42a3
am: 6a63731ebc

Change-Id: Ia03139e68f99e2dae985675f3f901e7bdd949ee3
2017-10-31 00:54:20 +00:00
Christopher Ferris
6a63731ebc Merge "Switch libbacktrace new unwinder."
am: f0da1c42a3

Change-Id: I4726a4bcbbb986f3325e55e62d41fc6617a2c5e8
2017-10-31 00:48:51 +00:00
Christopher Ferris
f0da1c42a3 Merge "Switch libbacktrace new unwinder." 2017-10-31 00:33:46 +00:00
Christopher Ferris
086baf981d Switch libbacktrace new unwinder.
Update the backtrace leak tests to share a map since this is the most
common way it will be used, and it runs much faster.

Remove the CreateNew functions, and references to them.

Remove benchmarks of CreateNew functions.

Test: Builds, ran new unit tests, ran art tests.

Change-Id: I4a25a412f1a74c6d43aebbebbf32ead20ead8f94
2017-10-30 13:37:50 -07:00
Narayan Kamath
2d1e23f5d6 zip_archive: Allow crc_out to be nullptr in Inflate.
Only compute the crc32 if required. In addition :
- Add unit tests for Inflate that cover this addition.
- Fix an inconsistency in return codes that was revealed
  by this new test.

Bug: 35246701
Test: zip_archive_tests
Test: make; zipalign.
Merged-In: I31d7554378f94fc8995f707471d57cb98311e2c2
Change-Id: I05111bfa665c610f93d1c1dee987a509bf87aa65
2017-10-30 18:26:41 +00:00
Jae Shin
7572d2b7c5 Merge changes from topic "rs_vndk_step3" am: 51ec0a1387
am: 1d69a95b0d  -s ours

Change-Id: I3edeca5baeeea9c9ed3894c6b02841718167d9d8
2017-10-30 03:45:08 +00:00
Jiyong Park
237a053bc2 Fix: make vndk namespace visible for 2016 Pixes am: 6ed1a1c339
am: fc2c73af93  -s ours

Change-Id: I3404be83d23ef1562d554cf74607238712954bf3
2017-10-30 03:44:39 +00:00
Jiyong Park
33398203d7 vndk: remove vendor/lib from the search path of the 'vndk' namespace am: 7f654c3243
am: 03b5221a41  -s ours

Change-Id: I1a45f664bd7beafbff06840c29fefdcd73687c15
2017-10-30 03:44:21 +00:00
Jiyong Park
599d4fef35 libz is back to LLNDK am: e58fa1b0c6
am: 3fc71ffaa3  -s ours

Change-Id: I6d632ddf3bde2781a031df6806fdd4caec7a423e
2017-10-30 03:43:58 +00:00
Jiyong Park
73e8943fa7 Make the rs namespace visible am: 7075bca364
am: e6840fdba7  -s ours

Change-Id: I219c1c4a0d9c07a1a0f2b726fdda83dd7879473a
2017-10-30 03:43:40 +00:00
Justin Yun
f9fb272881 Add libft2.so to ll-ndk for rs namespace am: 136eb05892
am: c6a2e38f95  -s ours

Change-Id: I00aec3fefe1c31c28ace4614f9d118191a01c2e0
2017-10-30 03:43:26 +00:00
Justin Yun
45967481a2 Move libz vndk-sp from ll-ndk am: 8ebf6ee6f6
am: 505f997ff5  -s ours

Change-Id: I7bd3506f381eabfd7f517cffa3d1cef3d1286995
2017-10-30 03:43:10 +00:00
Jae Shin
1d69a95b0d Merge changes from topic "rs_vndk_step3"
am: 51ec0a1387

Change-Id: I99cd5841a18417b6edd38f403efde4a867715b9a
2017-10-30 03:34:16 +00:00
Jiyong Park
fc2c73af93 Fix: make vndk namespace visible for 2016 Pixes
am: 6ed1a1c339

Change-Id: I51682220904d38750a88fd0786e2b7ad3a9e4ba8
2017-10-30 03:33:52 +00:00
Jiyong Park
03b5221a41 vndk: remove vendor/lib from the search path of the 'vndk' namespace
am: 7f654c3243

Change-Id: I18d3361d294871d3f12729ed8b8007befd3b0b88
2017-10-30 03:33:23 +00:00
Jiyong Park
3fc71ffaa3 libz is back to LLNDK
am: e58fa1b0c6

Change-Id: Id982fbbc19fff4ff4eb2e703595b25e7009abdee
2017-10-30 03:32:44 +00:00
Jiyong Park
e6840fdba7 Make the rs namespace visible
am: 7075bca364

Change-Id: Ibe1a95bb9e7978f6625884588d76dbbda0728b9d
2017-10-30 03:31:58 +00:00
Justin Yun
c6a2e38f95 Add libft2.so to ll-ndk for rs namespace
am: 136eb05892

Change-Id: I1712e67623dca027de7103acbe677241ae1ca0b6
2017-10-30 03:31:06 +00:00
Justin Yun
505f997ff5 Move libz vndk-sp from ll-ndk
am: 8ebf6ee6f6

Change-Id: I4b5c6959a67d6a08c5effcdbc0334009faa7423f
2017-10-30 03:30:10 +00:00