OSDN Git Service

android-x86/system-extras.git
7 years agof2fs_utils: Add a static libf2fs_sparseblock for minvold
Ricardo Cerqueira [Fri, 7 Nov 2014 01:21:24 +0000 (01:21 +0000)]
f2fs_utils: Add a static libf2fs_sparseblock for minvold

Change-Id: Id0947eb304cabbe59c21b8c2e2b81a03cceed619

7 years agoext4_utils: add BoardConfig define to suppress EMMC-corrupting wipe command
David Ferguson [Fri, 8 Jun 2012 01:00:41 +0000 (21:00 -0400)]
ext4_utils: add BoardConfig define to suppress EMMC-corrupting wipe command

If BOARD_SUPPRESS_EMMC_WIPE is true, the EMMC wipe command will not be
issued. This works around a bug in some firmware revisions of Samsung EMMC's
that permanently damages the device when the wipe command is issued.

For affected devices with kernel source, MMC_CAP_ERASE should be removed
from the kernel instead.

This is only part of the solution but it does handle the "flashing CM9
for the first time on an unsafe kernel" situation.

Change-Id: Ie4e31f9268a65218e5d344ae3068b021790fc33c

7 years agoAdd darwin support for the host tools
Keith Mok [Thu, 3 Sep 2015 18:36:51 +0000 (11:36 -0700)]
Add darwin support for the host tools

There is some symbol name conflict in the make_f2fs and the library
it loaded which darwin and linux handle that in a different way.
Remove the symbol name conflicts as cannot find a way to set symbol
resolving priority in darwin.

Change-Id: Iabe5c1b594daacd65b9ec2f694a2b5ab5575cfce

7 years agoextras: remove su, we have our own
Dan Pasanen [Sun, 9 Nov 2014 22:43:22 +0000 (16:43 -0600)]
extras: remove su, we have our own

Change-Id: I18e9819efc3e7aed56e4fb19b0fa4f4bf4bd902e

Extras: gitignore su

Change-Id: Iff5a1a6962ee1633f833f5dd998e62ecf6e5f0af

7 years agoext4_utils: Yet another MMC discard pain in the ass
Steve Kondik [Sat, 16 Nov 2013 15:36:33 +0000 (07:36 -0800)]
ext4_utils: Yet another MMC discard pain in the ass

 * Secure discard on this device is painfully slow. Use regular
   discard until the issue is sorted out.

Change-Id: Ib8ccb12829385aa267253f772e243bef8850f455

ext4_utils: Add NO_SECURE_DISCARD boardconfig option

* In N CFLAGS in device tress are prohibited

Change-Id: Iea6a4145d1e460d61115b7d6f5a754996c7c9b28

7 years agoMerge 5229c868904a674aa94e708886c3502e4a6623a0 on remote branch
Linux Build Service Account [Thu, 15 Dec 2016 10:06:31 +0000 (03:06 -0700)]
Merge 5229c868904a674aa94e708886c3502e4a6623a0 on remote branch

Change-Id: I007be70ce9168f3e32b2e48cef97099c72fdb9d7

7 years agoMerge N-MR1 to remote branch.
Naveen Kumar [Wed, 7 Dec 2016 14:42:27 +0000 (20:12 +0530)]
Merge N-MR1 to remote branch.

Change-Id: I64e165c5b8587138a80bcd02cdf25dfbd244c440

7 years agoMerge commit '96c347a9b99d0c5a22d76a5661489a4b7623d183' into remote
Lalit Kansara [Tue, 6 Dec 2016 09:42:39 +0000 (15:12 +0530)]
Merge commit '96c347a9b99d0c5a22d76a5661489a4b7623d183' into remote

Conflicts:
ext4_utils/ext4_crypt.cpp

Change-Id: I7e6ae2bc067b0979a4053691dfe77ed4344b4c39

7 years agoMerge d83a851b136575e235a5727aedfec7d5f2a86ce3 on remote branch
Linux Build Service Account [Tue, 6 Dec 2016 07:55:22 +0000 (00:55 -0700)]
Merge d83a851b136575e235a5727aedfec7d5f2a86ce3 on remote branch

Change-Id: Idfe6ba97a2a6b715baf667224b840985ee75061b

7 years agoPromotion of android-framework.lnx.2.0-00017.
Linux Build Service Account [Thu, 3 Nov 2016 19:38:24 +0000 (13:38 -0600)]
Promotion of android-framework.lnx.2.0-00017.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1079712   Ib1d3ec57240045db5dc42cf8afea11af313ba8f1   ext4 crypt: enable ICE with FBE encryption

Change-Id: I49efa72279b5c89b47fbd8d27bdd59a71df935f8
CRs-Fixed: 1079712

7 years agoext4 crypt: enable ICE with FBE encryption
Andrey Markovytch [Wed, 19 Oct 2016 12:22:28 +0000 (15:22 +0300)]
ext4 crypt: enable ICE with FBE encryption

updated encryption policy for HW support with FBE

Change-Id: Ib1d3ec57240045db5dc42cf8afea11af313ba8f1

7 years agoRevert "make_ext4fs: write out super blocks at last for block devices".
Lalit Kansara [Wed, 20 Jul 2016 10:05:33 +0000 (15:35 +0530)]
Revert "make_ext4fs: write out super blocks at last for block devices".

This reverts commit aaf32ea5166b6b86023dc283311228cdebb3dc02.

Change-Id: If46c9cc186be64b08668adb0c76f5d06f4e6017f

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
gitbuildkicker [Thu, 11 Aug 2016 08:07:02 +0000 (01:07 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agoMerge "procrank: fix bounds check to prevent heap overflow" into nyc-mr1-dev
Nick Desaulniers [Thu, 11 Aug 2016 00:24:09 +0000 (00:24 +0000)]
Merge "procrank: fix bounds check to prevent heap overflow" into nyc-mr1-dev

7 years agoprocrank: fix bounds check to prevent heap overflow
Nick Desaulniers [Wed, 10 Aug 2016 22:44:19 +0000 (15:44 -0700)]
procrank: fix bounds check to prevent heap overflow

Bug: 30774296
Change-Id: I44005caaa3cc17fe829f375a4cfeb5a464c97fbe

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
gitbuildkicker [Wed, 10 Aug 2016 08:07:22 +0000 (01:07 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agoFix binderAddInts benchmark
John Reck [Tue, 9 Aug 2016 20:06:21 +0000 (13:06 -0700)]
Fix binderAddInts benchmark

Bug: 30765667

Restores the fork() that was missed in a refactor
causing the benchmark to no longer measure binder's
IPC performance.

Change-Id: Id79ab082f1d20e1d058f80bd43018c9737b8250b

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
gitbuildkicker [Sun, 31 Jul 2016 08:08:58 +0000 (01:08 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agoRun preloads_copy.sh as system:system
Fyodor Kupolov [Wed, 27 Jul 2016 21:50:04 +0000 (14:50 -0700)]
Run preloads_copy.sh as system:system

Root is not required, and most importantly system_server won't be able delete
preloads folder during cleanup.

Bug: 30280710
Change-Id: I41890834467cc51b7b4ebd9c2918a47904f0b377

7 years agoOptional script to copy preloads to data directory
Fyodor Kupolov [Mon, 25 Jul 2016 18:55:15 +0000 (11:55 -0700)]
Optional script to copy preloads to data directory

Bug: 29940807
Change-Id: Iba4deaecb5a4055ad10b92829f37ecd3cf8a5ee0

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
gitbuildkicker [Wed, 20 Jul 2016 08:07:18 +0000 (01:07 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agocppreopts: parallel cppreopts to improve performance
Wei Wang [Mon, 18 Jul 2016 18:41:18 +0000 (11:41 -0700)]
cppreopts: parallel cppreopts to improve performance

Bug: 30118894
Bug: 30189706
Change-Id: I0ed0c69873313a3bfaf2e1ff217da59b0f8929c1

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
gitbuildkicker [Wed, 13 Jul 2016 08:07:18 +0000 (01:07 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agoBasic A/B bootloader tests via bootctl
Jed Estep [Fri, 20 May 2016 23:58:59 +0000 (16:58 -0700)]
Basic A/B bootloader tests via bootctl

Change-Id: Ie7868cc205859c657e905e60ab6928517f02edb8

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
The Android Automerger [Sun, 3 Jul 2016 08:10:32 +0000 (01:10 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agoCopy preopted files from B partition.
Alex Light [Tue, 21 Jun 2016 23:17:48 +0000 (16:17 -0700)]
Copy preopted files from B partition.

This translates from the preopted files in the system_other partition
into the main dalvik-cache. This also has init scripts to allow this
to run.

We first copy to a temporary file before renaming them in order to
make the copy atomic.

Bug: 29278988
Change-Id: I8bf1b2d021998949fd9996a923be7db9691e6a1e

7 years agoMerge "Copy preopted files from B partition." into nyc-mr1-dev
Alex Light [Wed, 29 Jun 2016 20:26:04 +0000 (20:26 +0000)]
Merge "Copy preopted files from B partition." into nyc-mr1-dev

7 years agoANRdaemon: move trace result from /sdcard to /data am: d93aa41807 am: adfc967454
Zhengyin Qian [Wed, 29 Jun 2016 17:55:47 +0000 (17:55 +0000)]
ANRdaemon: move trace result from /sdcard to /data am: d93aa41807 am: adfc967454
am: 20e3c1bc94

Change-Id: Ib688c2e38c181d6fdc2ca901782934dc4726eb52

7 years agoANRdaemon: move trace result from /sdcard to /data am: d93aa41807
Zhengyin Qian [Wed, 29 Jun 2016 17:53:11 +0000 (17:53 +0000)]
ANRdaemon: move trace result from /sdcard to /data am: d93aa41807
am: adfc967454

Change-Id: I4f8d4551c3ab2f5430600af833ced564aa328a55

7 years agoANRdaemon: move trace result from /sdcard to /data
Zhengyin Qian [Wed, 29 Jun 2016 17:50:00 +0000 (17:50 +0000)]
ANRdaemon: move trace result from /sdcard to /data
am: d93aa41807

Change-Id: I487116b8261bcef0fc9b829eaf38408d8a47ee78

7 years agoCopy preopted files from B partition.
Alex Light [Tue, 21 Jun 2016 23:17:48 +0000 (16:17 -0700)]
Copy preopted files from B partition.

This translates from the preopted files in the system_other partition
into the main dalvik-cache. This also has init scripts to allow this
to run.

We first copy to a temporary file before renaming them in order to
make the copy atomic.

Bug: 29278988
Change-Id: I8bf1b2d021998949fd9996a923be7db9691e6a1e

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
The Android Automerger [Tue, 28 Jun 2016 08:07:30 +0000 (01:07 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 28 Jun 2016 07:04:19 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoSimpleperf: fix flaky tests.
Yabin Cui [Mon, 27 Jun 2016 23:53:39 +0000 (23:53 +0000)]
Simpleperf: fix flaky tests.
am: a486a4b8ae

Change-Id: I194792e233c6ccdd695e04ed2a58f7f1034f0494

7 years agoSimpleperf: fix flaky tests.
Yabin Cui [Mon, 27 Jun 2016 23:00:20 +0000 (16:00 -0700)]
Simpleperf: fix flaky tests.

Simpleperf stat/record command may need 1 second to set security.perf_harden
property. So the monitored child threads should run longer than 1 second.

Bug: 29763505
Change-Id: I9bf6dcba03f3fc5c91130f38a08ce0062e104103

7 years agoANRdaemon: move trace result from /sdcard to /data
Zhengyin Qian [Tue, 21 Jun 2016 21:05:44 +0000 (14:05 -0700)]
ANRdaemon: move trace result from /sdcard to /data

Bug: 28765756
Change-Id: Ic9461bc66c8ba4df1455d8b75c4fb6b544d0cf27

7 years agomerge in nyc-mr1-release history after reset to nyc-mr1-dev
The Android Automerger [Sun, 19 Jun 2016 08:08:49 +0000 (01:08 -0700)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev

7 years agomksquashfsimage.sh: Make disable-4k-align a paramter
Mohamad Ayyash [Wed, 15 Jun 2016 22:53:55 +0000 (15:53 -0700)]
mksquashfsimage.sh: Make disable-4k-align a paramter

BUG: 29388879
Change-Id: I6ede2273419ba986d08decc0540741c54ed736b1
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
7 years agolibfec: pack the fec_header structure
Jeremy Compostella [Tue, 10 May 2016 09:53:06 +0000 (11:53 +0200)]
libfec: pack the fec_header structure

The fec_header structure is generated build time and stored on disk.
The fec_header might be build on a 64 bits machine while it is read
per a 32 bits device or the other way around.  In such situations, the
fec_header fields are not aligned as expected by the device and it
fails to read the fec_header structure.

This patch makes the fec_header packed.

Change-Id: I77546f850cea5559909971a1192e1a7616d22d50
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
7 years agoresolve merge conflicts of 041bdd8 to nyc-mr1-dev
Mohamad Ayyash [Thu, 16 Jun 2016 20:17:32 +0000 (13:17 -0700)]
resolve merge conflicts of 041bdd8 to nyc-mr1-dev

Change-Id: I8b9b227f8afedb1eb77de8be9de689e3c621003e

7 years agoMerge "libfec: pack the fec_header structure" into nyc-mr1-dev
Thierry Strudel [Thu, 16 Jun 2016 19:15:40 +0000 (19:15 +0000)]
Merge "libfec: pack the fec_header structure" into nyc-mr1-dev

7 years agolibfec: pack the fec_header structure
Jeremy Compostella [Tue, 10 May 2016 09:53:06 +0000 (11:53 +0200)]
libfec: pack the fec_header structure

The fec_header structure is generated build time and stored on disk.
The fec_header might be build on a 64 bits machine while it is read
per a 32 bits device or the other way around.  In such situations, the
fec_header fields are not aligned as expected by the device and it
fails to read the fec_header structure.

This patch makes the fec_header packed.

Change-Id: I77546f850cea5559909971a1192e1a7616d22d50
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
7 years agoMerge "mksquashfsimage.sh: Make disable-4k-align a paramter" into nyc-dev
Mohamad Ayyash [Thu, 16 Jun 2016 16:24:33 +0000 (16:24 +0000)]
Merge "mksquashfsimage.sh: Make disable-4k-align a paramter" into nyc-dev

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 16 Jun 2016 07:04:45 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agomksquashfsimage.sh: Make disable-4k-align a paramter
Mohamad Ayyash [Wed, 15 Jun 2016 22:53:55 +0000 (15:53 -0700)]
mksquashfsimage.sh: Make disable-4k-align a paramter

BUG: 29388879
Change-Id: I6ede2273419ba986d08decc0540741c54ed736b1
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
7 years agoresolve merge conflicts of 7354c0e to nyc-mr1-dev
Mohamad Ayyash [Wed, 15 Jun 2016 16:38:04 +0000 (09:38 -0700)]
resolve merge conflicts of 7354c0e to nyc-mr1-dev

Change-Id: I19693f5459794b71decfae4507fb2742c74f7c41

7 years agoMerge changes from topic 'squashfs_ota_incrementals' into nyc-dev
Mohamad Ayyash [Wed, 15 Jun 2016 16:03:08 +0000 (16:03 +0000)]
Merge changes from topic 'squashfs_ota_incrementals' into nyc-dev

* changes:
  Disable fragments and duplicates detection for squashfs
  mksquashfsimage.sh: Add support for passing block map files

7 years agoDisable fragments and duplicates detection for squashfs
Mohamad Ayyash [Tue, 24 May 2016 20:53:53 +0000 (13:53 -0700)]
Disable fragments and duplicates detection for squashfs

They don't play nicely with generating block maps. Fragments reduce
performance. A later patch will add workaround for duplicate detection.

BUG: 22322817
Change-Id: I01c731202ef7a2450b5d1beca627a0158c9cc3b4
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
7 years agomksquashfsimage.sh: Add support for passing block map files
Mohamad Ayyash [Mon, 13 Jun 2016 21:45:31 +0000 (14:45 -0700)]
mksquashfsimage.sh: Add support for passing block map files

BUG: 22322817
Change-Id: I7e17f6ad3a503ee97f7a81a1a8382cff47a913c6
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 12 Jun 2016 07:05:22 +0000 (00:05 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoMerge \"simpleperf: restore perf_harden after simpleperf cts test.\" into nyc-dev
Yabin Cui [Sat, 11 Jun 2016 03:58:28 +0000 (03:58 +0000)]
Merge \"simpleperf: restore perf_harden after simpleperf cts test.\" into nyc-dev
am: 4d9e9c66fb

Change-Id: I39119b7d227b946e294b40bfd6805d886d92fa8b

7 years agoMerge "simpleperf: restore perf_harden after simpleperf cts test." into nyc-dev
Yabin Cui [Sat, 11 Jun 2016 03:53:11 +0000 (03:53 +0000)]
Merge "simpleperf: restore perf_harden after simpleperf cts test." into nyc-dev

7 years agosimpleperf: restore perf_harden after simpleperf cts test.
Yabin Cui [Fri, 10 Jun 2016 19:15:11 +0000 (12:15 -0700)]
simpleperf: restore perf_harden after simpleperf cts test.

Bug: 29264324
Change-Id: Ia78ef924f049630968d222729cf3c1f378105b8a
(cherry picked from commit 5896132e00c7e49d2468d7ebd5372654df29b872)

7 years agosimpleperf: check perf event limit.
Yabin Cui [Sat, 11 Jun 2016 01:53:04 +0000 (01:53 +0000)]
simpleperf: check perf event limit.
am: 92c688b1f7

Change-Id: Ia53e2043e66f91a791e97353e7937ef1a4050d69

7 years agosimpleperf: check perf event limit.
Yabin Cui [Wed, 1 Jun 2016 22:39:39 +0000 (15:39 -0700)]
simpleperf: check perf event limit.

The property security.perf_harden is added in https://android-review.googlesource.com/#/c/233736/5. And simpleperf needs to notice that.

Bug: 29054680
Change-Id: I5f1593f5b389d182a56c4bf3bd438a1dc2b66686
(cherry picked from commit ebf79f3a65c81ef0f8cd7a3b875771be88157fcc)

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 7 Jun 2016 07:04:36 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoDo not build multinetwork tools when targeting the PDK
Erik Kline [Tue, 7 Jun 2016 04:03:04 +0000 (04:03 +0000)]
Do not build multinetwork tools when targeting the PDK
am: 600c6341e6

* commit '600c6341e62c165c60f526174d965cc7f1b30c38':
  Do not build multinetwork tools when targeting the PDK

Change-Id: I1475ee586faf10942e805c51290d83aa1998cb5e

7 years agoDo not build multinetwork tools when targeting the PDK
Erik Kline [Mon, 6 Jun 2016 21:57:12 +0000 (06:57 +0900)]
Do not build multinetwork tools when targeting the PDK

Bug: 29071416
Change-Id: Ie39cad3151907aabbf523895d6cde37b82ff29a2

7 years agolibfec: return raw and corrected verity metadata signatures
Sami Tolvanen [Tue, 7 Jun 2016 00:05:42 +0000 (00:05 +0000)]
libfec: return raw and corrected verity metadata signatures
am: 65cbaeb020

* commit '65cbaeb020b209f3d75d594ebbe49a609dd3c7e7':
  libfec: return raw and corrected verity metadata signatures

Change-Id: I77bb88a549c2da0ed69f36d80ca6d93ed91a163b

7 years agolibfec: return raw and corrected verity metadata signatures
Sami Tolvanen [Fri, 3 Jun 2016 20:56:07 +0000 (13:56 -0700)]
libfec: return raw and corrected verity metadata signatures

Since it's not possible for libfec to identify whether the signature
field was successfully corrected, return both and allow the caller to
validate either signature.

Bug: 28943429
Change-Id: Ie913c21ba1d07d6df4c6feeb7226b2ec963f4d19

7 years agoMerge "Introduce squashfs compression threshold" into nyc-mr1-dev
Mohamad Ayyash [Mon, 6 Jun 2016 15:37:43 +0000 (15:37 +0000)]
Merge "Introduce squashfs compression threshold" into nyc-mr1-dev

7 years agoIntroduce squashfs compression threshold
Mohamad Ayyash [Sat, 4 Jun 2016 01:55:16 +0000 (18:55 -0700)]
Introduce squashfs compression threshold

If we can't beat that compression ratio for a single block then we leave
it uncompressed. The choice of the threshold depends on the cost of I/O
in a specific device which is determined from block I/O speed and CPU
speed.

BUG: 29058965
Change-Id: I8d17a4551c7d00ddb85687381b7cb0d6c60babf6
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 31 May 2016 07:03:53 +0000 (00:03 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoAdd multinetwork debugging tools, dnschk and httpurl
Erik Kline [Tue, 31 May 2016 01:41:50 +0000 (01:41 +0000)]
Add multinetwork debugging tools, dnschk and httpurl
am: 871e63d9b7

* commit '871e63d9b7e584bc398dd4aa983cf561a5e8394e':
  Add multinetwork debugging tools, dnschk and httpurl

Change-Id: Iffea34208fb19daa3b1f2c015364dff3a6542498

7 years agoAdd multinetwork debugging tools, dnschk and httpurl
Erik Kline [Fri, 22 Jan 2016 00:07:44 +0000 (09:07 +0900)]
Add multinetwork debugging tools, dnschk and httpurl

Bug: 19537384
Bug: 27199751
Bug: 28719525
Change-Id: Ie983ec12ac6c550fa76c89cd44343220688a99b4

7 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 29 May 2016 07:06:00 +0000 (00:06 -0700)]
merge in nyc-release history after reset to nyc-dev

7 years agoANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67 am: 4b7f0...
Zhengyin Qian [Fri, 27 May 2016 18:11:07 +0000 (18:11 +0000)]
ANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67 am: 4b7f0b27a2
am: 27879586ff

* commit '27879586fff26d5ac1864f57bf441a39f8ab9315':
  ANRdaemon: add README and a bash script to easily get trace.

Change-Id: Ib39181c0fd9901619a8a300f8a358e8918471e5b

7 years agoANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33...
Zhengyin Qian [Fri, 27 May 2016 18:11:05 +0000 (18:11 +0000)]
ANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33 am: ecb5849a5d
am: 90ce7ac45f

* commit '90ce7ac45f183aad12151d691f82a4a9c9a78f2f':
  ANRdaemon: add a few new trace options and poke all userland services

Change-Id: I31faaec8cfcc377ae4f7fc12cc94e634503df04a

7 years agoANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81 am: c33bbcd4c7
Zhengyin Qian [Fri, 27 May 2016 18:11:03 +0000 (18:11 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81 am: c33bbcd4c7
am: 05d982d4ed

* commit '05d982d4edde37937c9a6fdb97e36a492e18f7d5':
  ANRdaemon: increase the CPU threshold resolution to 0.01%

Change-Id: If7ad5c8aa7fa2b1314ed33ad0eb4f29d82ad4fa5

7 years agoANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67
Zhengyin Qian [Fri, 27 May 2016 17:58:00 +0000 (17:58 +0000)]
ANRdaemon: add README and a bash script to easily get trace. am: 9e90477a67
am: 4b7f0b27a2

* commit '4b7f0b27a267e5e10894bbf438dec15e534e4cc4':
  ANRdaemon: add README and a bash script to easily get trace.

Change-Id: I0ea20dd173cfaef70df4d07672810ca233fcb5f2

7 years agoANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33
Zhengyin Qian [Fri, 27 May 2016 17:57:56 +0000 (17:57 +0000)]
ANRdaemon: add a few new trace options and poke all userland services am: 5b42895d33
am: ecb5849a5d

* commit 'ecb5849a5d8cc59828c66910f2096ac44e455ca3':
  ANRdaemon: add a few new trace options and poke all userland services

Change-Id: Id35a4a5d9ccab90c0ab661e835fcd55787efa09a

7 years agoANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81
Zhengyin Qian [Fri, 27 May 2016 17:57:53 +0000 (17:57 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01% am: 6d25c0bd81
am: c33bbcd4c7

* commit 'c33bbcd4c7a2700f28af68a8673bec71ec92aacc':
  ANRdaemon: increase the CPU threshold resolution to 0.01%

Change-Id: Ib6cc29b5ac94344c9c7a9766b6548563da060888

7 years agoANRdaemon: add README and a bash script to easily get trace.
Zhengyin Qian [Fri, 27 May 2016 17:50:50 +0000 (17:50 +0000)]
ANRdaemon: add README and a bash script to easily get trace.
am: 9e90477a67

* commit '9e90477a678b5b5fa6ac6dd7e78770746d6c50bf':
  ANRdaemon: add README and a bash script to easily get trace.

Change-Id: Ief3f17421cc970a6b8676921b414d093c43ea880

7 years agoANRdaemon: add a few new trace options and poke all userland services
Zhengyin Qian [Fri, 27 May 2016 17:50:49 +0000 (17:50 +0000)]
ANRdaemon: add a few new trace options and poke all userland services
am: 5b42895d33

* commit '5b42895d33d72e74e3e3446e1d43fc541fbf404f':
  ANRdaemon: add a few new trace options and poke all userland services

Change-Id: Ic1eac97f0b965cc8f1e2b73f26456975150acb48

7 years agoANRdaemon: increase the CPU threshold resolution to 0.01%
Zhengyin Qian [Fri, 27 May 2016 17:50:48 +0000 (17:50 +0000)]
ANRdaemon: increase the CPU threshold resolution to 0.01%
am: 6d25c0bd81

* commit '6d25c0bd81eee66810339d5db3d1ecd48691d229':
  ANRdaemon: increase the CPU threshold resolution to 0.01%

Change-Id: I4b8feac7f8908943ae543f096e97896e50963697

7 years agoGet encryption mode for policy
Paul Lawrence [Tue, 24 May 2016 11:57:23 +0000 (04:57 -0700)]
Get encryption mode for policy

Get encryption mode from the file saved out in vold

Bug: 28905864
Change-Id: I472a5f3f5f348943a968373910de23ad1b20b138

7 years agoRevert "Add fileencrypted=software/ice to fstab options"
Paul Lawrence [Mon, 23 May 2016 22:03:40 +0000 (22:03 +0000)]
Revert "Add fileencrypted=software/ice to fstab options"

This reverts commit e8299d81a18d16b006019f37ec9d84921d5ff845.

Bug: 28905864
Change-Id: I077f1ce7337c7ff42be67fb7acbb80ce5ee9b9ba

7 years agoANRdaemon: add README and a bash script to easily get trace.
Zhengyin Qian [Mon, 9 May 2016 18:40:18 +0000 (11:40 -0700)]
ANRdaemon: add README and a bash script to easily get trace.

Bug: 28989601
Change-Id: I5c9b819a6b05003e68d26bfacccf4c539ddab7ae

7 years agoANRdaemon: add a few new trace options and poke all userland services
Zhengyin Qian [Tue, 26 Apr 2016 22:14:27 +0000 (15:14 -0700)]
ANRdaemon: add a few new trace options and poke all userland services

Bug: 28989601
Change-Id: Ic0fdb6e0601d5e0a285d42cd9fe1a3d8d6f86286

7 years agoANRdaemon: increase the CPU threshold resolution to 0.01%
Zhengyin Qian [Tue, 26 Apr 2016 18:57:16 +0000 (11:57 -0700)]
ANRdaemon: increase the CPU threshold resolution to 0.01%

Bug: 28989601
Change-Id: If2a305bd14e8bd7c22115cbca668bd7777d0e7d2

7 years agoDisable fragments for squashfs
Mohamad Ayyash [Tue, 24 May 2016 20:53:53 +0000 (13:53 -0700)]
Disable fragments for squashfs

BUG: 28920352
BUG: 22322817
Change-Id: I01c731202ef7a2450b5d1beca627a0158c9cc3b4
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agoAdd fileencrypted=software/ice to fstab options
Paul Lawrence [Thu, 5 May 2016 18:01:42 +0000 (11:01 -0700)]
Add fileencrypted=software/ice to fstab options

Bug: 28616054
Change-Id: I34257870d388993d168f6541ef51ee2ce1067a7e

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 11 May 2016 07:04:17 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

8 years agoFail with an error if we can\'t read the policy for encryption
Paul Crowley [Tue, 10 May 2016 22:17:23 +0000 (22:17 +0000)]
Fail with an error if we can\'t read the policy for encryption
am: 8d53b9619b

* commit '8d53b9619ba913354ffdb23acf0108f7445bb8bc':
  Fail with an error if we can't read the policy for encryption

Change-Id: I56e185bc0ee583d3a966e072dc34ed24af21ed39

8 years agoFail with an error if we can't read the policy for encryption
Paul Crowley [Wed, 27 Apr 2016 17:24:40 +0000 (10:24 -0700)]
Fail with an error if we can't read the policy for encryption

The absence of a policy reference in the unencrypted directory now
causes e4crypt_set_directory_policy to fail with an error. Callers
should call e4crypt_is_native (now moved into here) before calling this.

Bug: 28318405
Change-Id: I209292aba3abad3b19105c9afe2b84e8b3dd6874

8 years agoFix LOCAL_CPP_EXTENSION.
Ying Wang [Fri, 6 May 2016 02:41:11 +0000 (19:41 -0700)]
Fix LOCAL_CPP_EXTENSION.

Bug: 28622149
Change-Id: I785b9bdf90f77ed87c41542f3bd010c6b7356069
(cherry picked from commit 070b6199012eaf0c962f2ff4313551b13735198d)

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 2 May 2016 23:54:55 +0000 (16:54 -0700)]
merge in nyc-release history after reset to nyc-dev

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 2 May 2016 22:20:58 +0000 (15:20 -0700)]
merge in nyc-release history after reset to nyc-dev

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 1 May 2016 07:04:32 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

8 years agoIncr Ext4: Properly merge block_allocation lists
Mohamad Ayyash [Fri, 29 Apr 2016 19:19:03 +0000 (19:19 +0000)]
Incr Ext4: Properly merge block_allocation lists
am: f7124d6c95

* commit 'f7124d6c955c0453361b0ff47c5c94619e68087f':
  Incr Ext4: Properly merge block_allocation lists

Change-Id: I9d343f1762c183aaf4cacd9f7fd613af174896e3

8 years agoIncremental Ext4 Bug: prevent out of bound boundary allocations
Mohamad Ayyash [Fri, 29 Apr 2016 18:18:24 +0000 (18:18 +0000)]
Incremental Ext4 Bug: prevent out of bound boundary allocations
am: d2ed02a940

* commit 'd2ed02a94086e1221041bc59825add3d0a657e19':
  Incremental Ext4 Bug: prevent out of bound boundary allocations

Change-Id: I25c596b4db090b92ad475fb211e4b43a7dd2856b

8 years agoIncr Ext4: Properly merge block_allocation lists
Mohamad Ayyash [Fri, 29 Apr 2016 18:14:02 +0000 (11:14 -0700)]
Incr Ext4: Properly merge block_allocation lists

BUG: 27698960
Change-Id: Ia31b8319e0d1c8644ae1798116007a4b35c39e9b
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agoIncremental Ext4 Bug: prevent out of bound boundary allocations
Mohamad Ayyash [Fri, 29 Apr 2016 04:49:01 +0000 (21:49 -0700)]
Incremental Ext4 Bug: prevent out of bound boundary allocations

This happens around the boundary of block groups where a slightly
different block boundary is set based on size of filesystem which means
allocations based on a previous filesystem layout need to verify they're
not crossing that new bounday

BUG: 27698960
Change-Id: I45d444b4477f14f71e8f17144523505a7525b4e2
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 19 Apr 2016 07:04:33 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

8 years agomake_ext4fs: Modify ext4 filesystem setup to speed up fsck
Mohamad Ayyash [Tue, 19 Apr 2016 01:06:38 +0000 (01:06 +0000)]
make_ext4fs: Modify ext4 filesystem setup to speed up fsck
am: dedf8f9705

* commit 'dedf8f9705df13e1fd07d3f754216d34725bb269':
  make_ext4fs: Modify ext4 filesystem setup to speed up fsck

Change-Id: If03e8e8ef5ea07d979e8049beaf8301cc590beb3

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 17 Apr 2016 07:04:38 +0000 (00:04 -0700)]
merge in nyc-release history after reset to nyc-dev

8 years agomake_ext4fs: Modify ext4 filesystem setup to speed up fsck
Mohamad Ayyash [Fri, 15 Apr 2016 02:43:31 +0000 (19:43 -0700)]
make_ext4fs: Modify ext4 filesystem setup to speed up fsck

1) Set EXT4_BG_INODE_UNINIT so fsck will skip scanning unused inodes
2) Use EXT4_FEATURE_RO_COMPAT_GDT_CSUM to enable group descriptor
checksums in filesystem which reduces overhead for fsck

BUG: 24747200
BUG: 28013112
Change-Id: I118ab26935442f452962b3a7c29c61acf76ad4d9
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agosimpleperf: use libbacktrace_offline static library.
Yabin Cui [Thu, 14 Apr 2016 04:28:54 +0000 (21:28 -0700)]
simpleperf: use libbacktrace_offline static library.

Device may not have libbacktrace_offline shared library, so always
using libbacktrace_offline static library.
Use simpleperf namespace to avoid conflicts with ThreadEntry in
libbacktrace.

Bug: 28152982
Change-Id: Ia2cdbee3b28556c790ccd7b061a801ed96f9b97c
(cherry picked from commit 040f7b4c62ce49f0af0746640e94d415764262cd)

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 11 Apr 2016 23:00:54 +0000 (16:00 -0700)]
merge in nyc-release history after reset to nyc-dev

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 11 Apr 2016 21:47:54 +0000 (14:47 -0700)]
merge in nyc-release history after reset to nyc-dev