OSDN Git Service

android-x86/system-extras.git
5 years agoMerge "Remove direct dependency on the internal libdexfile library." am: 829754ce78
Yabin Cui [Thu, 24 Jan 2019 20:58:31 +0000 (12:58 -0800)]
Merge "Remove direct dependency on the internal libdexfile library." am: 829754ce78
am: 1c696b84ee

Change-Id: Ie85086f3bab55512288fcbdf31a6a6e85637bf56

5 years agoMerge "Remove direct dependency on the internal libdexfile library."
Yabin Cui [Thu, 24 Jan 2019 20:40:52 +0000 (12:40 -0800)]
Merge "Remove direct dependency on the internal libdexfile library."
am: 829754ce78

Change-Id: Id52bcd9b8ff6cd4005445dba4afe5af3dd4e103d

5 years agoMerge "Remove direct dependency on the internal libdexfile library."
Yabin Cui [Thu, 24 Jan 2019 20:07:52 +0000 (20:07 +0000)]
Merge "Remove direct dependency on the internal libdexfile library."

5 years agoMerge "simpleperf: Use simpleperf_app_runner to profile profileable apps." am: 3ce0d80876
Yabin Cui [Thu, 24 Jan 2019 19:18:06 +0000 (11:18 -0800)]
Merge "simpleperf: Use simpleperf_app_runner to profile profileable apps." am: 3ce0d80876
am: 5c5d694396

Change-Id: I265ede607a2a0675c84d19455cfe880d12d5be51

5 years agoMerge "simpleperf: Use simpleperf_app_runner to profile profileable apps."
Yabin Cui [Thu, 24 Jan 2019 19:05:38 +0000 (11:05 -0800)]
Merge "simpleperf: Use simpleperf_app_runner to profile profileable apps."
am: 3ce0d80876

Change-Id: Ide3320df4f92cae64e1f929bbedb1bbbe76f8da5

5 years agoMerge "simpleperf: Use simpleperf_app_runner to profile profileable apps."
Yabin Cui [Thu, 24 Jan 2019 18:39:13 +0000 (18:39 +0000)]
Merge "simpleperf: Use simpleperf_app_runner to profile profileable apps."

5 years agoRemove direct dependency on the internal libdexfile library.
Martin Stjernholm [Thu, 24 Jan 2019 15:38:49 +0000 (15:38 +0000)]
Remove direct dependency on the internal libdexfile library.

It breaks Runtime APEX packaging, and for shared libs it's pulled in
indirectly through libdexfile_external anyway.

Test: mmma system/extras/simpleperf
Bug: 119632407
Bug: 72403367
Change-Id: Ie5a130280b3c36190d0a9778873b17e256d7a0a5

5 years agosimpleperf: Use simpleperf_app_runner to profile profileable apps.
Yabin Cui [Thu, 10 Jan 2019 23:35:39 +0000 (15:35 -0800)]
simpleperf: Use simpleperf_app_runner to profile profileable apps.

Simpleperf uses run-as to run in apps' context to profile debuggable
apps. In Android Q, we want to profile <profileable shell="true"> apps.
To support that, do below changes:
1. Add simpleperf_app_runner, which is similar to run-as, but is limited
to only run simpleperf commands in profileable apps.
2. Add code using simpleperf_app_runner inside simpleperf, so it doesn't
change current interface of using simpleperf.

Bug: 118835348
Test: run simpleperf manually.
Test: run simpleperf_unit_test.

Change-Id: I85a8e3c80fe0e3ccdee97de38be968cbccd1d263

5 years agoMerge "system/extras: Delete ksmutils" am: 918f046c39
Sandeep Patil [Tue, 22 Jan 2019 16:13:58 +0000 (08:13 -0800)]
Merge "system/extras: Delete ksmutils" am: 918f046c39
am: 30757a5b0f

Change-Id: I3fe1b5953bdd75084f50479b4783bef461a70b28

5 years agoMerge "system/extras: Delete ksmutils"
Sandeep Patil [Tue, 22 Jan 2019 16:09:55 +0000 (08:09 -0800)]
Merge "system/extras: Delete ksmutils"
am: 918f046c39

Change-Id: I757d594f6c1fd61b2b2fb9de8075024b4941fd4e

5 years agoMerge "system/extras: Delete ksmutils"
Treehugger Robot [Tue, 22 Jan 2019 15:58:51 +0000 (15:58 +0000)]
Merge "system/extras: Delete ksmutils"

5 years agoMerge "ext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY" am: 5c1d920237
Leo Liou [Tue, 22 Jan 2019 06:55:03 +0000 (22:55 -0800)]
Merge "ext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY" am: 5c1d920237
am: 36c1d31465

Change-Id: Ia874120efcc8aeffcf66594ae6f69a6aaee257a5

5 years agoMerge "ext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY"
Leo Liou [Tue, 22 Jan 2019 06:50:47 +0000 (22:50 -0800)]
Merge "ext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY"
am: 5c1d920237

Change-Id: Ifae740c7a51555f511dceba483f3e9eaf0686290

5 years agoMerge "ext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY"
Treehugger Robot [Tue, 22 Jan 2019 06:39:59 +0000 (06:39 +0000)]
Merge "ext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY"

5 years agoext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY
Leo Liou [Tue, 15 Jan 2019 12:28:12 +0000 (20:28 +0800)]
ext4.h: add EXT4_FEATURE_RO_COMPAT_VERITY

Add VERITY constant to ext4_utils.

Bug: 117437571
Test: bootable for phone projects
Change-Id: I77cab3594223df860345266fdbf568c02734c1a8

5 years agosystem/extras: Delete ksmutils
Sandeep Patil [Mon, 21 Jan 2019 22:37:35 +0000 (14:37 -0800)]
system/extras: Delete ksmutils

We want to remove libpagemap. ksmutils is the only C code that needs it
right now. Remove it instead of doing the C++ rewrite, cause it's not
worth it since we don't even recommend enabling ksm for Android anymore.

Bug: 111694435
Test: none

Change-Id: I4c4e82d9febecb3103660ff5dbe1adb7b3bc3452
Signed-off-by: Sandeep Patil <sspatil@google.com>
5 years agoMerge "pagemap/tools: remove all pagemap based tools" am: 7857e3c56a
Sandeep Patil [Mon, 21 Jan 2019 21:47:33 +0000 (13:47 -0800)]
Merge "pagemap/tools: remove all pagemap based tools" am: 7857e3c56a
am: e9afccf0d9

Change-Id: Id9007aa876053edb94cd5a4c7cb52e39e89145c2

5 years agoMerge "pagemap/tools: remove all pagemap based tools"
Sandeep Patil [Mon, 21 Jan 2019 21:44:28 +0000 (13:44 -0800)]
Merge "pagemap/tools: remove all pagemap based tools"
am: 7857e3c56a

Change-Id: I771162d5d4babbb4aa821e8a0eaa8da43388843d

5 years agoMerge "pagemap/tools: remove all pagemap based tools"
Treehugger Robot [Mon, 21 Jan 2019 21:35:18 +0000 (21:35 +0000)]
Merge "pagemap/tools: remove all pagemap based tools"

5 years agopagemap/tools: remove all pagemap based tools
Sandeep Patil [Sat, 19 Jan 2019 20:22:36 +0000 (12:22 -0800)]
pagemap/tools: remove all pagemap based tools

Bug: 111694435
Test: builds
Test: showmap and procrank exist on userdebug builds.

Change-Id: I3fb63d3adeedd7dece843cbc38e1667f4309bfd3
Signed-off-by: Sandeep Patil <sspatil@google.com>
5 years agoMerge "Remove LOCAL_MODULE_TAGS := debug" am: 48f6b916e9
Dan Willemsen [Sat, 19 Jan 2019 08:07:10 +0000 (00:07 -0800)]
Merge "Remove LOCAL_MODULE_TAGS := debug" am: 48f6b916e9
am: 58d3b4aad7

Change-Id: I992f9edec86ab46be4e575a8c1432c34084916bc

5 years agoMerge "Remove LOCAL_MODULE_TAGS := debug"
Dan Willemsen [Sat, 19 Jan 2019 07:50:22 +0000 (23:50 -0800)]
Merge "Remove LOCAL_MODULE_TAGS := debug"
am: 48f6b916e9

Change-Id: I809aa4fc70d2791c1922a260d73fc48391647ff1

5 years agoMerge "Remove LOCAL_MODULE_TAGS := debug"
Dan Willemsen [Sat, 19 Jan 2019 07:39:56 +0000 (07:39 +0000)]
Merge "Remove LOCAL_MODULE_TAGS := debug"

5 years agoRemove LOCAL_MODULE_TAGS := debug
Dan Willemsen [Fri, 18 Jan 2019 23:19:56 +0000 (15:19 -0800)]
Remove LOCAL_MODULE_TAGS := debug

Instead, su has been added to PRODUCT_PACKAGES_DEBUG in
build/make/target/product/base_system.mk

memeater didn't appear to have anything that needed it in every eng
build, so I've just removed the tag. If it's necessary, add it to the
list above.

I removed LOCAL_MODULE_TAGS and LOCAL_MODULE_PATH from libsimpleperf, as
static libraries are not impacted by either setting.

Test: treehugger
Change-Id: Iec2610bdb4452f955b0baf5d817e99a2ebf15594

5 years agoMerge "simpleperf: split simpleperf build on target." am: 16cbcf371a
Yabin Cui [Fri, 18 Jan 2019 20:57:58 +0000 (12:57 -0800)]
Merge "simpleperf: split simpleperf build on target." am: 16cbcf371a
am: a448c5a90f

Change-Id: I5a7b84d0a07bd36fe37ac7579749d9b1e76c30ed

5 years agoMerge "simpleperf: split simpleperf build on target."
Yabin Cui [Fri, 18 Jan 2019 20:52:39 +0000 (12:52 -0800)]
Merge "simpleperf: split simpleperf build on target."
am: 16cbcf371a

Change-Id: I3fa72f9b1200721024e23fb4ef82059c7784ab94

5 years agoMerge "simpleperf: split simpleperf build on target."
Yabin Cui [Fri, 18 Jan 2019 20:43:53 +0000 (20:43 +0000)]
Merge "simpleperf: split simpleperf build on target."

5 years agoMerge "simpleperf: add SC7731E into whitelist, omit tests requiring hw counters....
Patrick Shi [Fri, 18 Jan 2019 04:52:46 +0000 (20:52 -0800)]
Merge "simpleperf: add SC7731E into whitelist, omit tests requiring hw counters." am: 3fccf4e8ce
am: 54f7dc51e3

Change-Id: I544e8b902fbfef66091892fd6f0ce4f1d531aab8

5 years agoMerge "simpleperf: add SC7731E into whitelist, omit tests requiring hw counters."
Patrick Shi [Fri, 18 Jan 2019 04:48:27 +0000 (20:48 -0800)]
Merge "simpleperf: add SC7731E into whitelist, omit tests requiring hw counters."
am: 3fccf4e8ce

Change-Id: I79fd801254f82df3899c2b84ff690cad9b6b0279

5 years agoMerge "simpleperf: add SC7731E into whitelist, omit tests requiring hw counters."
Treehugger Robot [Fri, 18 Jan 2019 04:33:22 +0000 (04:33 +0000)]
Merge "simpleperf: add SC7731E into whitelist, omit tests requiring hw counters."

5 years agosimpleperf: add SC7731E into whitelist, omit tests requiring hw counters.
Patrick Shi [Thu, 17 Jan 2019 16:00:28 +0000 (00:00 +0800)]
simpleperf: add SC7731E into whitelist, omit tests requiring hw counters.

Some Socs like SC7731E PMU will not be available when
disable jtag(non-invasive debug), so omit tests requiring
hw counters on them.

Issue: 122291303
Test: run cts -m CtsSimpleperfTestCases -t record_cmd#generate_samples_by_hw_counters
Test: hw counters.

Change-Id: I321011dd9d1feab43a3491820579f5633904c45a

5 years agosimpleperf: split simpleperf build on target.
Yabin Cui [Thu, 17 Jan 2019 23:10:51 +0000 (15:10 -0800)]
simpleperf: split simpleperf build on target.

Currently simpleperf on target builds static binary, shipped on
userdebug devices and in ndk release. Now split it into two builds.
Simpleperf shipped on device uses shared libs and version lib.
Simpleperf shipped in ndk release is renamed to simpleperf_static.

This is to ship simpleperf on Q user device.
Also change the directory of simpleperf from /system/xbin to
/system/bin.

Bug: 118835348
Bug: 72403367

Test: build and run simpleperf manually.
Change-Id: I25b861fc24fdf2edfeb432050303aaec293a005f

5 years ago[automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105...
Xin Li [Thu, 17 Jan 2019 22:05:59 +0000 (14:05 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master" am: 8a1ca53619 -s ours
am: b9809603c1 -s ours
am skip reason: subject contains skip directive

Change-Id: I2d1891ddc877bd7b643a459595fa49fa1e7bb6ca

5 years ago[automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105...
Xin Li [Thu, 17 Jan 2019 21:53:54 +0000 (13:53 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master"
am: 8a1ca53619 -s ours
am skip reason: subject contains skip directive

Change-Id: I6429db54e09c995948d42d327605ec24d1774d85

5 years agoMerge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master"
Xin Li [Thu, 17 Jan 2019 21:19:42 +0000 (21:19 +0000)]
Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master"

5 years agoMerge "Add /data/staging to directories that shouldn't be encrypted." am: a70a1872eb
Martijn Coenen [Wed, 16 Jan 2019 07:41:37 +0000 (23:41 -0800)]
Merge "Add /data/staging to directories that shouldn't be encrypted." am: a70a1872eb
am: 360f05bc4e

Change-Id: I2b467612e01cce5e694f418b9b82515a07222b42

5 years agoMerge "Add /data/staging to directories that shouldn't be encrypted."
Martijn Coenen [Wed, 16 Jan 2019 07:36:34 +0000 (23:36 -0800)]
Merge "Add /data/staging to directories that shouldn't be encrypted."
am: a70a1872eb

Change-Id: I7acca92f0e7ba25c8b84ebdc8c915a726b13c483

5 years agoMerge "Add /data/staging to directories that shouldn't be encrypted."
Martijn Coenen [Wed, 16 Jan 2019 07:30:44 +0000 (07:30 +0000)]
Merge "Add /data/staging to directories that shouldn't be encrypted."

5 years agoMerge "Migrate system/extras to androidx.test" am: 37fb5e52bb
Yabin Cui [Wed, 16 Jan 2019 00:48:23 +0000 (16:48 -0800)]
Merge "Migrate system/extras to androidx.test" am: 37fb5e52bb
am: 7dd56279a3

Change-Id: I1eb9eb1d9cd8a093da560258ac1e4da22df681d5

5 years agoMerge "Migrate system/extras to androidx.test"
Yabin Cui [Wed, 16 Jan 2019 00:42:25 +0000 (16:42 -0800)]
Merge "Migrate system/extras to androidx.test"
am: 37fb5e52bb

Change-Id: I478628b001e0a9d1b683885a0b8fba0c21adfb72

5 years agoMerge "Migrate system/extras to androidx.test"
Yabin Cui [Wed, 16 Jan 2019 00:27:36 +0000 (00:27 +0000)]
Merge "Migrate system/extras to androidx.test"

5 years agoAdd /data/staging to directories that shouldn't be encrypted.
Martijn Coenen [Tue, 15 Jan 2019 22:42:40 +0000 (23:42 +0100)]
Add /data/staging to directories that shouldn't be encrypted.

/data/staging contains downloaded APEX files, no user data.

Bug: 122884909
Test: WIP
Change-Id: Idc17cd8978a7c432a65eb1bb4775fa88e87d2b8f

5 years agoDO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master
Xin Li [Tue, 15 Jan 2019 18:18:58 +0000 (10:18 -0800)]
DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master

Bug: 122685541
Change-Id: Iefc29a8f9bcfb053db8f6c260029000744a5687e

5 years ago[automerger skipped] DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) into...
Xin Li [Tue, 15 Jan 2019 02:19:39 +0000 (18:19 -0800)]
[automerger skipped] DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) into stage-aosp-master
am: 942632faf9 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic229e48e37bca2a99514a29c9e3f8b1651d1ae50

5 years agoDO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) into stage-aosp-master
Xin Li [Tue, 15 Jan 2019 00:18:29 +0000 (16:18 -0800)]
DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) into stage-aosp-master

Bug: 122685541
Change-Id: Ibf69a6b8c1de19c179b454c3e9fcb0fb20272e98

5 years agoMerge "Revert "Introduce a no-perfprofd module."" am: 27f6fcdb13
Roland Levillain [Mon, 14 Jan 2019 18:18:18 +0000 (10:18 -0800)]
Merge "Revert "Introduce a no-perfprofd module."" am: 27f6fcdb13
am: d6900cd42d

Change-Id: I5f56a79021f1e7da117652aafdf4747b16986ae1

5 years agoMerge "Revert "Introduce a no-perfprofd module.""
Roland Levillain [Mon, 14 Jan 2019 17:59:42 +0000 (09:59 -0800)]
Merge "Revert "Introduce a no-perfprofd module.""
am: 27f6fcdb13

Change-Id: Ibcf8c75c2c896307a31bf61e89fab410ffc85fe9

5 years agoMerge "Revert "Introduce a no-perfprofd module.""
Roland Levillain [Mon, 14 Jan 2019 17:46:35 +0000 (17:46 +0000)]
Merge "Revert "Introduce a no-perfprofd module.""

5 years agoRevert "Introduce a no-perfprofd module."
Roland Levillain [Wed, 12 Dec 2018 13:15:54 +0000 (13:15 +0000)]
Revert "Introduce a no-perfprofd module."

This reverts commit e262c4b5d09e07edfc1d2d05bca0ad36f3f5c8c1.

Reason for revert: perfprofd is no longer installed on the system
partition since
https://android-review.googlesource.com/c/platform/build/+/844636.

Test: lunch marlin-eng && make systemimage
Bug: 113373927
Change-Id: I395aa91b50aa9f4e06467a676a3bcf8e70c26f50

5 years agoMerge "Rename libdexfile external API header." am: 28080b717a
Martin Stjernholm [Fri, 11 Jan 2019 10:47:01 +0000 (02:47 -0800)]
Merge "Rename libdexfile external API header." am: 28080b717a
am: d85c2ce721

Change-Id: I62dc4450b2c3c5b7474c7e05056a5dfda5ffa576

5 years agoMerge "Rename libdexfile external API header."
Martin Stjernholm [Fri, 11 Jan 2019 10:42:09 +0000 (02:42 -0800)]
Merge "Rename libdexfile external API header."
am: 28080b717a

Change-Id: I92489537b63a86e33a1ed67c704a09d2e3d71397

5 years agoMerge "Rename libdexfile external API header."
Martin Stjernholm [Fri, 11 Jan 2019 10:28:03 +0000 (10:28 +0000)]
Merge "Rename libdexfile external API header."

5 years agoMerge "Remove memtest." am: 9195c6bdf0
Christopher Ferris [Thu, 10 Jan 2019 20:48:23 +0000 (12:48 -0800)]
Merge "Remove memtest." am: 9195c6bdf0
am: 9052ed0879

Change-Id: I177b6ffec9f8d41f755a0982823fc4384afee58b

5 years agoMerge "Remove memtest."
Christopher Ferris [Thu, 10 Jan 2019 20:43:12 +0000 (12:43 -0800)]
Merge "Remove memtest."
am: 9195c6bdf0

Change-Id: I50be14614dc6bf9f4a21f9aedad94abe4a963033

5 years agoMerge "Remove memtest."
Christopher Ferris [Thu, 10 Jan 2019 20:26:01 +0000 (20:26 +0000)]
Merge "Remove memtest."

5 years agoRemove memtest.
Christopher Ferris [Thu, 10 Jan 2019 18:09:56 +0000 (10:09 -0800)]
Remove memtest.

This is really only useful for 32 bit devices, and it's not all that useful.
It was designed to check the different memory instructions and indicate which
would likely give the best results for memcpy/memset.

However, we aren't doing any active performance improvements for these 32 bit
routines any more and it can be confusing that this is 32 bit only, so it's
time to go.

Test: NA
Change-Id: Ib56a2ca0a603ac9477422431c3c13f3112366473

5 years agoRename libdexfile external API header.
Martin Stjernholm [Wed, 9 Jan 2019 23:23:33 +0000 (23:23 +0000)]
Rename libdexfile external API header.

Test: m
Bug: 120978655
Change-Id: Ic7e377541dc13640134e6bcf3fea9667b7cad1ef

5 years agoMerge "mkuserimg_mke2fs: pass mount point to mkext2fs" am: cc271970a4
Mark Salyzyn [Wed, 9 Jan 2019 23:15:57 +0000 (15:15 -0800)]
Merge "mkuserimg_mke2fs: pass mount point to mkext2fs" am: cc271970a4
am: 0d4d2fc9d6

Change-Id: I4d5188a9387be3b357012d309e9dc9a4556f03e5

5 years agoMerge "mkuserimg_mke2fs: pass mount point to mkext2fs"
Mark Salyzyn [Wed, 9 Jan 2019 23:04:46 +0000 (15:04 -0800)]
Merge "mkuserimg_mke2fs: pass mount point to mkext2fs"
am: cc271970a4

Change-Id: If59b50a8afed41427cb9bbbccf92162f5da8f417

5 years agoMerge "mkuserimg_mke2fs: pass mount point to mkext2fs"
Treehugger Robot [Wed, 9 Jan 2019 22:57:27 +0000 (22:57 +0000)]
Merge "mkuserimg_mke2fs: pass mount point to mkext2fs"

5 years agoMerge "mkuserimg_mke2fs: Add -I <inode-size> flag" am: 90b1d200f7
Mark Salyzyn [Wed, 9 Jan 2019 20:45:03 +0000 (12:45 -0800)]
Merge "mkuserimg_mke2fs: Add -I <inode-size> flag" am: 90b1d200f7
am: 314b3377b9

Change-Id: I25d64fa5472d5080719ccdde913475ef9319f094

5 years agoMerge "mkuserimg_mke2fs: Add -I <inode-size> flag"
Mark Salyzyn [Wed, 9 Jan 2019 20:41:07 +0000 (12:41 -0800)]
Merge "mkuserimg_mke2fs: Add -I <inode-size> flag"
am: 90b1d200f7

Change-Id: Iaa99466cb03418307d15e39f9006123e7b6c255a

5 years agoMerge "mkuserimg_mke2fs: Add -I <inode-size> flag"
Treehugger Robot [Wed, 9 Jan 2019 20:36:05 +0000 (20:36 +0000)]
Merge "mkuserimg_mke2fs: Add -I <inode-size> flag"

5 years agomkuserimg_mke2fs: pass mount point to mkext2fs
Mark Salyzyn [Wed, 9 Jan 2019 19:51:34 +0000 (11:51 -0800)]
mkuserimg_mke2fs: pass mount point to mkext2fs

When we construct an ext4 system filesystem image, tune2fs reports:

    Last mounted on=<not available>

With this change, it will now report:

    Last mounted on=/system (or /vendor etc)

This is a cosmetic administrative change.

Test: manual
Bug: 122328872
Change-Id: Ia5370c0b222ee6ad5ee1db10a2810e99b7d01186

5 years agomkuserimg_mke2fs: Add -I <inode-size> flag
Mark Salyzyn [Tue, 8 Jan 2019 19:23:03 +0000 (11:23 -0800)]
mkuserimg_mke2fs: Add -I <inode-size> flag

Caller should be able to add stability to the inode-size based on
system requirements.  For example we may wish to select an inode-size
that will absorb all the xattr inline.

Test: manual
Bug: 122328872
Change-Id: I07ce400b6482646f9b5b353a00f592410aad13b7

5 years agoMerge "iotop: add major/minor fault stats" am: 4ad91e8078
Minchan Kim [Tue, 8 Jan 2019 02:27:27 +0000 (18:27 -0800)]
Merge "iotop: add major/minor fault stats" am: 4ad91e8078
am: 9b3a84f231

Change-Id: Ia72954c11c217eaf5427042bf62c690a0ec79e19

5 years agoMerge "iotop: add major/minor fault stats"
Minchan Kim [Tue, 8 Jan 2019 02:24:25 +0000 (18:24 -0800)]
Merge "iotop: add major/minor fault stats"
am: 4ad91e8078

Change-Id: I8a56158d5c3b1c2695b5d3ccd8eebd497d33a22f

5 years agoMerge "iotop: add major/minor fault stats"
Treehugger Robot [Tue, 8 Jan 2019 02:13:04 +0000 (02:13 +0000)]
Merge "iotop: add major/minor fault stats"

5 years agoiotop: add major/minor fault stats
Minchan Kim [Fri, 7 Sep 2018 03:07:00 +0000 (12:07 +0900)]
iotop: add major/minor fault stats

Provide major/minor fault stats.

It would be helpful to see per-process memory consumption speed.
It is also useful to see read IO caused by major fault, which
is critical for app latency.

Bug: 114325007
Test: iotop -h
Test: iotop -m 10 -s faults
Change-Id: If9670a4efe76bcd67b9caedb3427b69896ebed17
Signed-off-by: Minchan Kim <minchan@google.com>
[Added sorter for major+minor faults]
Signed-off-by: Sandeep Patil <sspatil@google.com>
5 years agoMerge "Mount fstab.postinstall" am: e3ee735617
Yifan Hong [Fri, 4 Jan 2019 18:42:17 +0000 (10:42 -0800)]
Merge "Mount fstab.postinstall" am: e3ee735617
am: 48103b6253

Change-Id: I9318c89a16c0e4ea740ecbbb7b2c9cf3303e2305

5 years agoMerge "Mount fstab.postinstall"
Yifan Hong [Fri, 4 Jan 2019 18:28:01 +0000 (10:28 -0800)]
Merge "Mount fstab.postinstall"
am: e3ee735617

Change-Id: Iaabba6c54be865d4502b87fade7c3c1c5c2a807d

5 years agoMerge "Mount fstab.postinstall"
Yifan Hong [Fri, 4 Jan 2019 18:20:28 +0000 (18:20 +0000)]
Merge "Mount fstab.postinstall"

5 years agoMount fstab.postinstall
Yifan Hong [Wed, 2 Jan 2019 19:50:34 +0000 (11:50 -0800)]
Mount fstab.postinstall

Instead of using the 'mount' built-in, do a
mount_all /system/etc/fstab.postinstall which mounts
system_other to postinstall properly. This works for
devices with and without dynamic partitions.

- retrofit and non DAP devices mount the physical system_other partition
- launch devices mount the logical system_other partition

Fixes: 113182233
Test: boot the first time and look at cppreopt results
      (on retrofit and launch DAP devices)

Change-Id: I70aef55235a5b8be34a521774c4e9dc8461b84de

5 years agoMerge cherrypicks of [5929407, 5929627, 5929597, 5929598] into pi-platform-release
android-build-team Robot [Thu, 3 Jan 2019 23:49:32 +0000 (23:49 +0000)]
Merge cherrypicks of [5929407592962759295975929598] into pi-platform-release

Change-Id: If3e46dabb018bd841b657b8aafa60e399f5cf18b

5 years agolibfscrypt: Add Adiantum support
Greg Kaiser [Mon, 3 Dec 2018 20:36:56 +0000 (12:36 -0800)]
libfscrypt: Add Adiantum support

Adiantum is a crypto method Android is supporting for devices
which don't have AES CPU instructions.  See the paper
"Adiantum: length-preserving encryption for entry-level processors"
(https://eprint.iacr.org/2018/720.pdf) for more details.

We add Adiantum to our list of supported encryption modes.

Bug: 112010205
Test: Tested on a device
Change-Id: I405ed454be1a447b7405417a05ddfd92a912bcb7
Merged-In: I405ed454be1a447b7405417a05ddfd92a912bcb7
(cherry picked from commit b56b389282b4805fac147c3fa36c2e27096ede97)

5 years agoMerge "cppreopts: Android.mk -> bp" am: 8873b8f865
Yifan Hong [Thu, 3 Jan 2019 06:04:58 +0000 (22:04 -0800)]
Merge "cppreopts: Android.mk -> bp" am: 8873b8f865
am: cf0851116a

Change-Id: I8a1a762c2010433e73ad01e7fd7860fd98cc2e1f

5 years agoMerge "cppreopts: Android.mk -> bp"
Yifan Hong [Thu, 3 Jan 2019 06:00:52 +0000 (22:00 -0800)]
Merge "cppreopts: Android.mk -> bp"
am: 8873b8f865

Change-Id: Ic6746c32d95ab8a886ce6e46602db3155671d155

5 years agoMerge "cppreopts: Android.mk -> bp"
Treehugger Robot [Thu, 3 Jan 2019 05:51:31 +0000 (05:51 +0000)]
Merge "cppreopts: Android.mk -> bp"

5 years agocppreopts: Android.mk -> bp
Yifan Hong [Thu, 3 Jan 2019 00:44:36 +0000 (16:44 -0800)]
cppreopts: Android.mk -> bp

Test: builds
Change-Id: I4143a3c5a88cad289d805b137ec480097c8c60d3

5 years agoMerge "Add /data/preloads to directories that don't need to be encrypted." am: 9de03e3913
Paul Crowley [Fri, 21 Dec 2018 16:36:06 +0000 (08:36 -0800)]
Merge "Add /data/preloads to directories that don't need to be encrypted." am: 9de03e3913
am: 6b16ec5f05

Change-Id: Iccee10dc7bbd8291cdd739513d6d999d4fd34829

5 years agoMerge "Add /data/preloads to directories that don't need to be encrypted."
Paul Crowley [Fri, 21 Dec 2018 16:30:51 +0000 (08:30 -0800)]
Merge "Add /data/preloads to directories that don't need to be encrypted."
am: 9de03e3913

Change-Id: I4923764470243528ee63bef59412905357da619b

5 years agoMerge "Add /data/preloads to directories that don't need to be encrypted."
Paul Crowley [Fri, 21 Dec 2018 16:20:05 +0000 (16:20 +0000)]
Merge "Add /data/preloads to directories that don't need to be encrypted."

5 years agoMigrate system/extras to androidx.test
Brett Chabot [Thu, 20 Dec 2018 20:19:58 +0000 (12:19 -0800)]
Migrate system/extras to androidx.test

See go/jetpack-test-android-migration

Test: compile
Change-Id: I0549a1fc80de5c66b00bdf685c536f01e7c3ae65

5 years agoAdd /data/preloads to directories that don't need to be encrypted.
LongPing.WEI [Thu, 20 Dec 2018 09:56:21 +0000 (17:56 +0800)]
Add /data/preloads to directories that don't need to be encrypted.

There is no user data here, just preload data.

Test: make
Change-Id: I2bd65a15ace50c4d1dc4bc4c3f3d4294f77d2c18

5 years agoMerge "simpleperf: update simpleperf prebuilts to build 5176246." am: 1f26a28afa
Yabin Cui [Fri, 14 Dec 2018 22:24:24 +0000 (14:24 -0800)]
Merge "simpleperf: update simpleperf prebuilts to build 5176246." am: 1f26a28afa
am: 956a48b56f

Change-Id: I39d6b1e4ad194b68ed573ea4bce64c5a7201c528

5 years agoMerge "simpleperf: update simpleperf prebuilts to build 5176246."
Yabin Cui [Fri, 14 Dec 2018 22:20:23 +0000 (14:20 -0800)]
Merge "simpleperf: update simpleperf prebuilts to build 5176246."
am: 1f26a28afa

Change-Id: I970eac774ea9c686fe268c605b243b5294b298b9

5 years agoMerge "simpleperf: update simpleperf prebuilts to build 5176246."
Yabin Cui [Fri, 14 Dec 2018 22:11:15 +0000 (22:11 +0000)]
Merge "simpleperf: update simpleperf prebuilts to build 5176246."

5 years agosimpleperf: update simpleperf prebuilts to build 5176246.
Yabin Cui [Wed, 12 Dec 2018 18:59:18 +0000 (10:59 -0800)]
simpleperf: update simpleperf prebuilts to build 5176246.

Taken from branch aosp-master.

Bug: none
Test: run test.py on linux/windows on Android N/O/P.

Change-Id: I13326a3f9984006442c33ae24d34e3fd9cb46616

5 years agoMerge "Use libdexfile external API in simpleperf." am: f8a943e3ee
Martin Stjernholm [Fri, 14 Dec 2018 14:06:52 +0000 (06:06 -0800)]
Merge "Use libdexfile external API in simpleperf." am: f8a943e3ee
am: 95d21eb5ff

Change-Id: I1f20d33182b1eab74f2fe2e27ac0ebbd501c749d

5 years agoMerge "Use libdexfile external API in simpleperf."
Martin Stjernholm [Fri, 14 Dec 2018 13:56:07 +0000 (05:56 -0800)]
Merge "Use libdexfile external API in simpleperf."
am: f8a943e3ee

Change-Id: Ic31c0e2064aa95a2018551e570e826013b043341

5 years agoMerge "Use libdexfile external API in simpleperf."
Martin Stjernholm [Fri, 14 Dec 2018 13:36:30 +0000 (13:36 +0000)]
Merge "Use libdexfile external API in simpleperf."

5 years agoMerge "simpleperf: fix binary_cache_builder.py." am: d97ac9244d
Yabin Cui [Fri, 14 Dec 2018 00:56:33 +0000 (16:56 -0800)]
Merge "simpleperf: fix binary_cache_builder.py." am: d97ac9244d
am: 2395b3c86d

Change-Id: I0cba39486f1dc40f884300f2993794961d024f10

5 years agoMerge "simpleperf: fix binary_cache_builder.py."
Yabin Cui [Fri, 14 Dec 2018 00:52:31 +0000 (16:52 -0800)]
Merge "simpleperf: fix binary_cache_builder.py."
am: d97ac9244d

Change-Id: I9ae25bef5156e92104c773a87bf44727ac572834

5 years agoMerge "simpleperf: fix binary_cache_builder.py."
Treehugger Robot [Fri, 14 Dec 2018 00:39:16 +0000 (00:39 +0000)]
Merge "simpleperf: fix binary_cache_builder.py."

5 years agoMerge "simpleperf: update build.gradle in demo apps." am: b27ffd650f
Yabin Cui [Thu, 13 Dec 2018 23:47:33 +0000 (15:47 -0800)]
Merge "simpleperf: update build.gradle in demo apps." am: b27ffd650f
am: b0fa057725

Change-Id: Idc9f8c7fe6a8c1ba3fb0a74aa82376683a758eda

5 years agoMerge "simpleperf: fix reading symbols from multidex apk." am: 60e0f8d775
Yabin Cui [Thu, 13 Dec 2018 23:46:26 +0000 (15:46 -0800)]
Merge "simpleperf: fix reading symbols from multidex apk." am: 60e0f8d775
am: d45330b997

Change-Id: I4809f4e755969993935df793d76f1caa7bcc4418

5 years agoMerge "simpleperf: update build.gradle in demo apps."
Yabin Cui [Thu, 13 Dec 2018 23:11:26 +0000 (15:11 -0800)]
Merge "simpleperf: update build.gradle in demo apps."
am: b27ffd650f

Change-Id: If545ab7714c3aed717ac169ae0e233c6725dfced

5 years agoMerge "simpleperf: fix reading symbols from multidex apk."
Yabin Cui [Thu, 13 Dec 2018 23:11:04 +0000 (15:11 -0800)]
Merge "simpleperf: fix reading symbols from multidex apk."
am: 60e0f8d775

Change-Id: I6b7e74899ca832689c585d586a861ede0916a960

5 years agoMerge "simpleperf: update build.gradle in demo apps."
Treehugger Robot [Thu, 13 Dec 2018 22:43:16 +0000 (22:43 +0000)]
Merge "simpleperf: update build.gradle in demo apps."

5 years agoMerge "simpleperf: fix reading symbols from multidex apk."
Treehugger Robot [Thu, 13 Dec 2018 22:39:44 +0000 (22:39 +0000)]
Merge "simpleperf: fix reading symbols from multidex apk."