OSDN Git Service

android-x86/system-extras.git
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 "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 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."

5 years agosimpleperf: fix binary_cache_builder.py.
Yabin Cui [Thu, 13 Dec 2018 22:24:27 +0000 (14:24 -0800)]
simpleperf: fix binary_cache_builder.py.

Fix two exceptions caused by empty binary name.

Bug: none
Test: run python3 test.py.
Change-Id: If559a9c71a8af217fa8d127e634b85d9f6383ee4

5 years agoMerge "lpdump: Automatically read from super when used directly on devices." am:...
David Anderson [Thu, 13 Dec 2018 21:35:01 +0000 (13:35 -0800)]
Merge "lpdump: Automatically read from super when used directly on devices." am: 64f6bea89a
am: 77451d02ee

Change-Id: If349bce11d4c55328e86066f769fb5d8ecdacf16

5 years agoMerge "lpdump: Automatically read from super when used directly on devices."
David Anderson [Thu, 13 Dec 2018 21:31:07 +0000 (13:31 -0800)]
Merge "lpdump: Automatically read from super when used directly on devices."
am: 64f6bea89a

Change-Id: Ic4a129f6117dcef0a5966b5623a28c95f4167a71

5 years agosimpleperf: update build.gradle in demo apps.
Yabin Cui [Thu, 13 Dec 2018 19:47:25 +0000 (11:47 -0800)]
simpleperf: update build.gradle in demo apps.

Bug: none
Test: build apps.
Change-Id: I8b41e70b17f462f2272ed8eb32c8ca087243cc3e

5 years agosimpleperf: fix reading symbols from multidex apk.
Yabin Cui [Thu, 13 Dec 2018 19:34:17 +0000 (11:34 -0800)]
simpleperf: fix reading symbols from multidex apk.

Bug: none
Test: run simpleperf_unit_test.
Change-Id: I04715ff7abe22819b30881d73706fb59cd5521ea

5 years agoUse libdexfile external API in simpleperf.
Martin Stjernholm [Wed, 28 Nov 2018 00:46:00 +0000 (00:46 +0000)]
Use libdexfile external API in simpleperf.

Test: device boot
Test: atest system/extras/simpleperf/ (lots of failures, but no new ones. 4 of 4 passed in simpleperf_unit_test)
Test: mmma system/extras/simpleperf && adb root && adb shell rm -rf /data/test && adb push out/target/product/taimen/testcases/simpleperf_unit_test /data/test && adb shell /data/test/arm64/simpleperf_unit_test && adb shell /data/test/arm/simpleperf_unit_test
Bug: 119632407
Change-Id: Id070b8a99cb4d3bf4ec90cae186a2e88bcec72a1

5 years agoMerge "lpdump: Automatically read from super when used directly on devices."
David Anderson [Thu, 13 Dec 2018 02:22:22 +0000 (02:22 +0000)]
Merge "lpdump: Automatically read from super when used directly on devices."

5 years agolpdump: Automatically read from super when used directly on devices.
David Anderson [Wed, 12 Dec 2018 21:36:43 +0000 (13:36 -0800)]
lpdump: Automatically read from super when used directly on devices.

It's confusing to figure out how to invoke lpdump, especially on
retrofit devices. It should just do the correct thing automatically
when no arguments are passed.

Bug: N/A
Test: lpdump on retrofit device
Change-Id: I0563c10ff276763710fa0a4fb9918a2515f9d054

5 years agoMerge "libfscrypt: Add Adiantum support" am: 8f6cd07cb6
Greg Kaiser [Wed, 12 Dec 2018 05:24:20 +0000 (21:24 -0800)]
Merge "libfscrypt: Add Adiantum support" am: 8f6cd07cb6
am: e0fb874ea8

Change-Id: I7ae4bc2bea0dac7f66f2c39a35d0e22f2531558e

5 years agoMerge "libfscrypt: Add Adiantum support"
Greg Kaiser [Wed, 12 Dec 2018 05:15:28 +0000 (21:15 -0800)]
Merge "libfscrypt: Add Adiantum support"
am: 8f6cd07cb6

Change-Id: I86f547b196a23d1388ed91eb800ee18203c6d63b

5 years agoMerge "libfscrypt: Add Adiantum support"
Greg Kaiser [Wed, 12 Dec 2018 04:59:25 +0000 (04:59 +0000)]
Merge "libfscrypt: Add Adiantum support"

5 years agoMerge "Fix performance-for-range-copy warnings" am: b90b93725d
Chih-Hung Hsieh [Wed, 12 Dec 2018 00:49:18 +0000 (16:49 -0800)]
Merge "Fix performance-for-range-copy warnings" am: b90b93725d
am: 0fa838b75e

Change-Id: I6469a1efbbb14c45bd0c6f13805bcff8d43a89ca

5 years agoMerge "Fix cert-dcl16-c clang-tidy warnings." am: d8199a618c
Chih-Hung Hsieh [Wed, 12 Dec 2018 00:44:59 +0000 (16:44 -0800)]
Merge "Fix cert-dcl16-c clang-tidy warnings." am: d8199a618c
am: 95bc2c6f58

Change-Id: I88a40aafa65544f83bc85ed1ae4b1496d0cc25e5

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

5 years agoMerge "Fix performance-for-range-copy warnings"
Chih-Hung Hsieh [Tue, 11 Dec 2018 23:03:49 +0000 (15:03 -0800)]
Merge "Fix performance-for-range-copy warnings"
am: b90b93725d

Change-Id: I336831177aa8849ec6b6a8c5f238b44de0e0bb96

5 years agoMerge "Fix cert-dcl16-c clang-tidy warnings."
Chih-Hung Hsieh [Tue, 11 Dec 2018 23:01:32 +0000 (15:01 -0800)]
Merge "Fix cert-dcl16-c clang-tidy warnings."
am: d8199a618c

Change-Id: I9f72ec09e304011387bbe116e9dc693428054e68

5 years agoMerge "Fix performance-for-range-copy warnings"
Treehugger Robot [Tue, 11 Dec 2018 21:34:06 +0000 (21:34 +0000)]
Merge "Fix performance-for-range-copy warnings"

5 years agoMerge "Fix cert-dcl16-c clang-tidy warnings."
Treehugger Robot [Tue, 11 Dec 2018 21:10:40 +0000 (21:10 +0000)]
Merge "Fix cert-dcl16-c clang-tidy warnings."

5 years agoFix cert-dcl16-c clang-tidy warnings.
Chih-Hung Hsieh [Tue, 11 Dec 2018 18:59:28 +0000 (10:59 -0800)]
Fix cert-dcl16-c clang-tidy warnings.

Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: Ib341908467f11ed5fccd6eddb8909fe5170fea9e

5 years agoFix performance-for-range-copy warnings
Chih-Hung Hsieh [Tue, 11 Dec 2018 18:45:02 +0000 (10:45 -0800)]
Fix performance-for-range-copy warnings

Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: I94c2456e8ef958abcb0909871fb772dd67060dfc

5 years agoMerge "Introduce a no-perfprofd module." am: 742a1bc8db
Doris Ling [Fri, 7 Dec 2018 20:19:19 +0000 (12:19 -0800)]
Merge "Introduce a no-perfprofd module." am: 742a1bc8db
am: 63b23344d2

Change-Id: Idf85a6e2c0763a35a147df3b8e08d35e94a80827

5 years agoMerge "Introduce a no-perfprofd module."
Doris Ling [Fri, 7 Dec 2018 20:15:13 +0000 (12:15 -0800)]
Merge "Introduce a no-perfprofd module."
am: 742a1bc8db

Change-Id: Id91dfb011cba0fe0b0fc5a0e51d7aa4cd801bd7b

5 years agoMerge "Introduce a no-perfprofd module."
Doris Ling [Fri, 7 Dec 2018 20:03:57 +0000 (20:03 +0000)]
Merge "Introduce a no-perfprofd module."

5 years agoIntroduce a no-perfprofd module.
Roland Levillain [Fri, 7 Dec 2018 19:33:19 +0000 (19:33 +0000)]
Introduce a no-perfprofd module.

This module creates a dummy binary that can be used to replace
perfprofd on some build products. Its intended (temporary) use is to
regain some space on the system partition of storage-constrained
products such as marlin-eng and sailfish-eng.

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

5 years agoMerge "Merge pie-platform-release (PPRL.181105.017, history only) into master" am...
Xin Li [Tue, 4 Dec 2018 22:47:22 +0000 (14:47 -0800)]
Merge "Merge pie-platform-release (PPRL.181105.017, history only) into master" am: 1309cb5e4d
am: 2839195865

Change-Id: Ic4fe5406e78fd89687545a92752f31ce6557b964

5 years agoMerge "Merge pie-platform-release (PPRL.181105.017, history only) into master"
Xin Li [Tue, 4 Dec 2018 22:33:26 +0000 (14:33 -0800)]
Merge "Merge pie-platform-release (PPRL.181105.017, history only) into master"
am: 1309cb5e4d

Change-Id: If6f63411b6faf1f79fae335007d9d18a42a8baed

5 years agoMerge "Merge pie-platform-release (PPRL.181105.017, history only) into master"
Xin Li [Tue, 4 Dec 2018 22:09:27 +0000 (22:09 +0000)]
Merge "Merge pie-platform-release (PPRL.181105.017, history only) into master"

5 years agoMerge "C++17 is the default now." am: 24763509ea
Elliott Hughes [Tue, 4 Dec 2018 05:00:54 +0000 (21:00 -0800)]
Merge "C++17 is the default now." am: 24763509ea
am: 2e97970fd6

Change-Id: Ie1e9ed79b0bee5d1c994d5cbb2412d72e957c3bb

5 years agoMerge "C++17 is the default now."
Elliott Hughes [Tue, 4 Dec 2018 04:56:34 +0000 (20:56 -0800)]
Merge "C++17 is the default now."
am: 24763509ea

Change-Id: I5e08296685de073f16827458216154ba16cf9b1f

5 years agoMerge "C++17 is the default now."
Treehugger Robot [Tue, 4 Dec 2018 04:39:55 +0000 (04:39 +0000)]
Merge "C++17 is the default now."

5 years agoMerge pie-platform-release (PPRL.181105.017, history only) into master
Xin Li [Mon, 3 Dec 2018 23:34:35 +0000 (15:34 -0800)]
Merge pie-platform-release (PPRL.181105.017, history only) into master

Bug: 118454372
Change-Id: I4b5e4e99649250b4bd65e780925c5fc3001fe710

5 years agoC++17 is the default now.
Elliott Hughes [Mon, 3 Dec 2018 17:06:40 +0000 (09:06 -0800)]
C++17 is the default now.

Test: builds
Change-Id: Icf8522c00e78a7c05a7cb86d052858bb9ebd4afc

5 years agoMerge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release
Bill Yi [Thu, 29 Nov 2018 02:35:04 +0000 (18:35 -0800)]
Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release

Change-Id: I171c9c28f68e3f26e173dca9dc3fe0bb1bd68c95

5 years agoMerge "make_f2fs: use -g android by default" am: 4d1d32c9a4
Jaegeuk Kim [Wed, 28 Nov 2018 01:19:11 +0000 (17:19 -0800)]
Merge "make_f2fs: use -g android by default" am: 4d1d32c9a4
am: 12840ffa91

Change-Id: I5a9b0445baabeaf6ee0688846300966ca4d1448a

5 years agoMerge "make_f2fs: use -g android by default"
Jaegeuk Kim [Wed, 28 Nov 2018 01:13:46 +0000 (17:13 -0800)]
Merge "make_f2fs: use -g android by default"
am: 4d1d32c9a4

Change-Id: Ibfe280ea5ba3fb7618ea36d7ed9c4760811a7cd7

5 years agoMerge "make_f2fs: use -g android by default"
Jaegeuk Kim [Wed, 28 Nov 2018 00:57:25 +0000 (00:57 +0000)]
Merge "make_f2fs: use -g android by default"

5 years agomake_f2fs: use -g android by default
Jaegeuk Kim [Wed, 21 Nov 2018 19:20:32 +0000 (11:20 -0800)]
make_f2fs: use -g android by default

Bug: 119875846
Change-Id: Iba2c969b46614376a99d882a207489227e7bbfbd
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
5 years agoMerge "Convert blk_alloc_to_base_fs to Android.bp" am: 85f0171010
Dan Willemsen [Tue, 20 Nov 2018 20:38:53 +0000 (12:38 -0800)]
Merge "Convert blk_alloc_to_base_fs to Android.bp" am: 85f0171010
am: 1b693bc88f

Change-Id: I4f9f5b52c02f683cbc77619644d549d734c713e3

5 years agoMerge "Convert blk_alloc_to_base_fs to Android.bp"
Dan Willemsen [Tue, 20 Nov 2018 20:35:48 +0000 (12:35 -0800)]
Merge "Convert blk_alloc_to_base_fs to Android.bp"
am: 85f0171010

Change-Id: I4d4e7aee93f03bc4497d5e3b2a1417df24de672e

5 years agoMerge "Convert blk_alloc_to_base_fs to Android.bp"
Treehugger Robot [Tue, 20 Nov 2018 20:18:01 +0000 (20:18 +0000)]
Merge "Convert blk_alloc_to_base_fs to Android.bp"

5 years agoMerge "Allow empty value in property node" am: ed9edd2fb1
Wei Wang [Tue, 20 Nov 2018 07:16:21 +0000 (23:16 -0800)]
Merge "Allow empty value in property node" am: ed9edd2fb1
am: 3c8c835f57

Change-Id: I818dbb1f10bcdf8534f96cae4472965245807e04

5 years agoMerge "Allow empty value in property node"
Wei Wang [Tue, 20 Nov 2018 07:05:44 +0000 (23:05 -0800)]
Merge "Allow empty value in property node"
am: ed9edd2fb1

Change-Id: I2a72491735236fb1138f3ce07cad62c9fe7a1dda

5 years agoMerge "Allow empty value in property node"
Wei Wang [Tue, 20 Nov 2018 06:47:31 +0000 (06:47 +0000)]
Merge "Allow empty value in property node"

5 years agoAllow empty value in property node
Wei Wang [Tue, 20 Nov 2018 05:15:00 +0000 (21:15 -0800)]
Allow empty value in property node

Bug: 110166984
Test: libperfmgr_test
Change-Id: I43c03794f525770f090288216d76f7abbd788805

5 years agoConvert blk_alloc_to_base_fs to Android.bp
Dan Willemsen [Tue, 20 Nov 2018 02:32:02 +0000 (18:32 -0800)]
Convert blk_alloc_to_base_fs to Android.bp

See build/soong/README.md for more information.

Also remove a useless HOST_OS check -- HOST_OS will always be either
linux or darwin, we don't support building directly on windows.

Test: m blk_alloc_to_base_fs
Change-Id: I13927de82ff769cf3692b58b9432fb79c856b8d3

5 years agoMerge "lpdump: Show block device and group flags." am: 46d71bf2b3
David Anderson [Mon, 19 Nov 2018 22:57:50 +0000 (14:57 -0800)]
Merge "lpdump: Show block device and group flags." am: 46d71bf2b3
am: ea0982f460

Change-Id: I89d4c62ba6e543004f9fa17a02d64c155c726014

5 years agoMerge "lpdump: Show block device and group flags."
David Anderson [Mon, 19 Nov 2018 22:52:34 +0000 (14:52 -0800)]
Merge "lpdump: Show block device and group flags."
am: 46d71bf2b3

Change-Id: I59574fe10b730bc6703fd3d8396347457baef1a9

5 years agoMerge "lpdump: Show block device and group flags."
David Anderson [Mon, 19 Nov 2018 22:37:33 +0000 (22:37 +0000)]
Merge "lpdump: Show block device and group flags."