OSDN Git Service

android-x86/system-extras.git
9 years agoam 6f9a673e: am ad475697: Merge "Record device screen state and system load (from...
Than McIntosh [Thu, 11 Jun 2015 17:26:55 +0000 (17:26 +0000)]
am 6f9a673e: am ad475697: Merge "Record device screen state and system load (from /proc/loadavg)."

* commit '6f9a673e30838c549d3fe56e56a30a36ab73e1cd':
  Record device screen state and system load (from /proc/loadavg).

9 years agoam ad475697: Merge "Record device screen state and system load (from /proc/loadavg)."
Than McIntosh [Thu, 11 Jun 2015 17:14:17 +0000 (17:14 +0000)]
am ad475697: Merge "Record device screen state and system load (from /proc/loadavg)."

* commit 'ad47569766763512d45e51fb33483419aaee6f13':
  Record device screen state and system load (from /proc/loadavg).

9 years agoMerge "Record device screen state and system load (from /proc/loadavg)."
Than McIntosh [Thu, 11 Jun 2015 16:51:10 +0000 (16:51 +0000)]
Merge "Record device screen state and system load (from /proc/loadavg)."

9 years agoam 553768a9: am 1dbbc532: Merge "Simpleperf: fix a few bugs."
Yabin Cui [Thu, 11 Jun 2015 05:54:53 +0000 (05:54 +0000)]
am 553768a9: am 1dbbc532: Merge "Simpleperf: fix a few bugs."

* commit '553768a9c61b39a21e75c2daea2265b6a7407c13':
  Simpleperf: fix a few bugs.

9 years agoam 4b85b3af: am 8782e1a0: Merge "Simpleperf: support symbol parsing in report command."
Yabin Cui [Thu, 11 Jun 2015 05:54:52 +0000 (05:54 +0000)]
am 4b85b3af: am 8782e1a0: Merge "Simpleperf: support symbol parsing in report command."

* commit '4b85b3afb731e4ab3c70325f41c82b0f398f0d20':
  Simpleperf: support symbol parsing in report command.

9 years agoam 1dbbc532: Merge "Simpleperf: fix a few bugs."
Yabin Cui [Thu, 11 Jun 2015 02:31:44 +0000 (02:31 +0000)]
am 1dbbc532: Merge "Simpleperf: fix a few bugs."

* commit '1dbbc5321bea27417221dc31edf0114bf26a3302':
  Simpleperf: fix a few bugs.

9 years agoam 8782e1a0: Merge "Simpleperf: support symbol parsing in report command."
Yabin Cui [Thu, 11 Jun 2015 02:31:43 +0000 (02:31 +0000)]
am 8782e1a0: Merge "Simpleperf: support symbol parsing in report command."

* commit '8782e1a072dec91771279ae580fbbf541d3dd635':
  Simpleperf: support symbol parsing in report command.

9 years agoam dadc701b: am bb6fa058: Merge "Remove selinux/android.h from host tools" into mnc-dev
Jeff Vander Stoep [Thu, 11 Jun 2015 01:33:22 +0000 (01:33 +0000)]
am dadc701b: am bb6fa058: Merge "Remove selinux/android.h from host tools" into mnc-dev

* commit 'dadc701b1ba242feb9beba1351ebf68602c5454c':
  Remove selinux/android.h from host tools

9 years agoMerge "Simpleperf: fix a few bugs."
Yabin Cui [Thu, 11 Jun 2015 00:02:54 +0000 (00:02 +0000)]
Merge "Simpleperf: fix a few bugs."

9 years agoMerge "Simpleperf: support symbol parsing in report command."
Yabin Cui [Wed, 10 Jun 2015 23:58:53 +0000 (23:58 +0000)]
Merge "Simpleperf: support symbol parsing in report command."

9 years agoSimpleperf: fix a few bugs.
Yabin Cui [Tue, 9 Jun 2015 20:38:42 +0000 (13:38 -0700)]
Simpleperf: fix a few bugs.

Fix mistyped word.
Kill workload process when exiting.
Add checking of whether branch sampling is supported.

Bug: 19483574

Change-Id: Ibe48914cd92da1ee40bf67c0c47a6376a7291e8c

9 years agoam bb6fa058: Merge "Remove selinux/android.h from host tools" into mnc-dev
Jeff Vander Stoep [Wed, 10 Jun 2015 23:16:02 +0000 (23:16 +0000)]
am bb6fa058: Merge "Remove selinux/android.h from host tools" into mnc-dev

* commit 'bb6fa058895f5aafd025643b03b8ec6c778369f5':
  Remove selinux/android.h from host tools

9 years agoMerge "Remove selinux/android.h from host tools" into mnc-dev
Jeff Vander Stoep [Wed, 10 Jun 2015 21:05:13 +0000 (21:05 +0000)]
Merge "Remove selinux/android.h from host tools" into mnc-dev

9 years agoRemove selinux/android.h from host tools
Jeff Vander Stoep [Wed, 13 May 2015 21:29:15 +0000 (14:29 -0700)]
Remove selinux/android.h from host tools

For tools built for both host and device, only include if not host.

(cherry-picked from commit 6bc4a54fdbd926c032ed5c99f8b5c69f624c6312)

Change-Id: Ie102bd7575d2cf5eef3f95e6063c2970d143dac8

9 years agoRecord device screen state and system load (from /proc/loadavg).
Than McIntosh [Wed, 10 Jun 2015 15:47:01 +0000 (11:47 -0400)]
Record device screen state and system load (from /proc/loadavg).

Bug: http://b/19483574
Change-Id: Ic0306ca9d7707c7e20158014e2c0a18b929afbc4

9 years agoam 15502479: am d31c4c3a: Merge "Exclude verify_boot_signature from Mac build." into...
Ying Wang [Tue, 9 Jun 2015 23:23:35 +0000 (23:23 +0000)]
am 15502479: am d31c4c3a: Merge "Exclude verify_boot_signature from Mac build." into mnc-dev

* commit '155024798aba20ccf704d6bf4899f60918ecd750':
  Exclude verify_boot_signature from Mac build.

9 years agoam d31c4c3a: Merge "Exclude verify_boot_signature from Mac build." into mnc-dev
Ying Wang [Tue, 9 Jun 2015 23:00:04 +0000 (23:00 +0000)]
am d31c4c3a: Merge "Exclude verify_boot_signature from Mac build." into mnc-dev

* commit 'd31c4c3a363b3b4b0018d81c2bdbcb15a06e5007':
  Exclude verify_boot_signature from Mac build.

9 years agoMerge "Exclude verify_boot_signature from Mac build." into mnc-dev
Ying Wang [Tue, 9 Jun 2015 22:33:59 +0000 (22:33 +0000)]
Merge "Exclude verify_boot_signature from Mac build." into mnc-dev

9 years agoExclude verify_boot_signature from Mac build.
Ying Wang [Tue, 9 Jun 2015 22:26:35 +0000 (15:26 -0700)]
Exclude verify_boot_signature from Mac build.

verify_boot_signature doesn't build on Mac currently.
Temporarily exclude it from Mac build.

Bug: 21669400
Change-Id: I7b978adafefb700d65f6fc10f69c949fce94c236

9 years agoSimpleperf: support symbol parsing in report command.
Yabin Cui [Mon, 8 Jun 2015 17:38:10 +0000 (10:38 -0700)]
Simpleperf: support symbol parsing in report command.

Also fix the storage of ProcessEntry.

Bug: 19483574
Change-Id: I2182a804f6ecbd28e7aa3c1a38a6f19b86f583c9

9 years agoam 07f75005: am d0fefb84: fix chrome activity name in systemapps.sh
Todd Kjos [Tue, 9 Jun 2015 14:54:55 +0000 (14:54 +0000)]
am 07f75005: am d0fefb84: fix chrome activity name in systemapps.sh

* commit '07f7500579eb12b0f59a049edf3906d458c063d5':
  fix chrome activity name in systemapps.sh

9 years agoam d0fefb84: fix chrome activity name in systemapps.sh
Todd Kjos [Tue, 9 Jun 2015 14:47:42 +0000 (14:47 +0000)]
am d0fefb84: fix chrome activity name in systemapps.sh

* commit 'd0fefb8421a9cb57ac27d0d4fcf3abe938fcf2d1':
  fix chrome activity name in systemapps.sh

9 years agofix chrome activity name in systemapps.sh
Todd Kjos [Tue, 9 Jun 2015 00:48:08 +0000 (17:48 -0700)]
fix chrome activity name in systemapps.sh

the activity name for chrome changed recently which broke
systemapps.sh for some devices/builds. This change removes
the dependance on the chrome activity name in  systemapps.sh

Change-Id: I7f194a5c60221650300b6ab0df526f5bdf4b7f79

9 years agoam fc32c93a: am f7383f39: Merge "Simpleperf: remove overlapped user map in SampleTree."
Yabin Cui [Mon, 8 Jun 2015 21:51:30 +0000 (21:51 +0000)]
am fc32c93a: am f7383f39: Merge "Simpleperf: remove overlapped user map in SampleTree."

* commit 'fc32c93acc4a42f2839bce3d1e536447c36505b5':
  Simpleperf: remove overlapped user map in SampleTree.

9 years agoam f7383f39: Merge "Simpleperf: remove overlapped user map in SampleTree."
Yabin Cui [Mon, 8 Jun 2015 21:38:26 +0000 (21:38 +0000)]
am f7383f39: Merge "Simpleperf: remove overlapped user map in SampleTree."

* commit 'f7383f39e5a66731e6e34ca85c1ad599f39faf1d':
  Simpleperf: remove overlapped user map in SampleTree.

9 years agoMerge "Simpleperf: remove overlapped user map in SampleTree."
Yabin Cui [Mon, 8 Jun 2015 21:17:42 +0000 (21:17 +0000)]
Merge "Simpleperf: remove overlapped user map in SampleTree."

9 years agoam 59839abb: am 7a0eebab: Merge "Simpleperf: adjust report width based on requirement."
Yabin Cui [Mon, 8 Jun 2015 20:21:13 +0000 (20:21 +0000)]
am 59839abb: am 7a0eebab: Merge "Simpleperf: adjust report width based on requirement."

* commit '59839abb759a2ff4c77606b85a4f960ec24a495c':
  Simpleperf: adjust report width based on requirement.

9 years agoam 7a0eebab: Merge "Simpleperf: adjust report width based on requirement."
Yabin Cui [Mon, 8 Jun 2015 20:08:12 +0000 (20:08 +0000)]
am 7a0eebab: Merge "Simpleperf: adjust report width based on requirement."

* commit '7a0eebab656d3c5b1f843adffbd491681bcd4bd6':
  Simpleperf: adjust report width based on requirement.

9 years agoMerge "Simpleperf: adjust report width based on requirement."
Yabin Cui [Mon, 8 Jun 2015 19:32:06 +0000 (19:32 +0000)]
Merge "Simpleperf: adjust report width based on requirement."

9 years agoSimpleperf: remove overlapped user map in SampleTree.
Yabin Cui [Mon, 8 Jun 2015 19:27:19 +0000 (12:27 -0700)]
Simpleperf: remove overlapped user map in SampleTree.

If a new map overlapps with some old maps, the overlapped old
maps are not valid any more and should be removed.

Bug: 19483574
Change-Id: Ie5df5073d0c8c3727ab05163ef27537618bb416e

9 years agoSimpleperf: adjust report width based on requirement.
Yabin Cui [Mon, 8 Jun 2015 18:09:11 +0000 (11:09 -0700)]
Simpleperf: adjust report width based on requirement.

Bug: 19483574
Change-Id: I01fadd50090aea67cda5009c5f4c2d8d780fc616

9 years agoam 7fdb7eb6: am 4f9a042a: Merge "Add simpleperf report command."
Yabin Cui [Sat, 6 Jun 2015 17:05:29 +0000 (17:05 +0000)]
am 7fdb7eb6: am 4f9a042a: Merge "Add simpleperf report command."

* commit '7fdb7eb6bb199862399d66406aad4fd783899c6e':
  Add simpleperf report command.

9 years agoam 4f9a042a: Merge "Add simpleperf report command."
Yabin Cui [Sat, 6 Jun 2015 03:18:33 +0000 (03:18 +0000)]
am 4f9a042a: Merge "Add simpleperf report command."

* commit '4f9a042a60dcdb7492c1372cc3c973e3eda8a0ab':
  Add simpleperf report command.

9 years agoMerge "Add simpleperf report command."
Yabin Cui [Sat, 6 Jun 2015 02:58:49 +0000 (02:58 +0000)]
Merge "Add simpleperf report command."

9 years agoam b8bdb8f9: am 643233de: Add -W option to systemapps.sh
Todd Kjos [Sat, 6 Jun 2015 00:06:06 +0000 (00:06 +0000)]
am b8bdb8f9: am 643233de: Add -W option to systemapps.sh

* commit 'b8bdb8f98b835f72a31eaabc43c42bc5dd3fe4fe':
  Add -W option to systemapps.sh

9 years agoam 643233de: Add -W option to systemapps.sh
Todd Kjos [Fri, 5 Jun 2015 23:55:46 +0000 (23:55 +0000)]
am 643233de: Add -W option to systemapps.sh

* commit '643233ded9075628010c16feb8d2401ade3ae62c':
  Add -W option to systemapps.sh

9 years agoam 413188d0: am 8b6cf279: Merge "Enhancements to workload scripts" into mnc-dev
Todd Kjos [Fri, 5 Jun 2015 22:09:13 +0000 (22:09 +0000)]
am 413188d0: am 8b6cf279: Merge "Enhancements to workload scripts" into mnc-dev

* commit '413188d03ad3c7c6e83e398acbfc9af6442562d9':
  Enhancements to workload scripts

9 years agoAdd -W option to systemapps.sh
Todd Kjos [Fri, 5 Jun 2015 21:56:54 +0000 (14:56 -0700)]
Add -W option to systemapps.sh

Changes the wait time between apps. Example; "./systemapps.sh -W 1.2"

Change-Id: I3769aa93ebbcd129de2f3fa3df99720e1d83b2f9

9 years agoam 8b6cf279: Merge "Enhancements to workload scripts" into mnc-dev
Todd Kjos [Fri, 5 Jun 2015 21:56:41 +0000 (21:56 +0000)]
am 8b6cf279: Merge "Enhancements to workload scripts" into mnc-dev

* commit '8b6cf2796dc179b339b12e52d17b56d2519358fe':
  Enhancements to workload scripts

9 years agoMerge "Enhancements to workload scripts" into mnc-dev
Todd Kjos [Fri, 5 Jun 2015 21:32:36 +0000 (21:32 +0000)]
Merge "Enhancements to workload scripts" into mnc-dev

9 years agoEnhancements to workload scripts
Todd Kjos [Fri, 5 Jun 2015 20:28:46 +0000 (13:28 -0700)]
Enhancements to workload scripts

- display frame latencies (90th/95th/99th) for recents and systemapps
- allow device type to be specified to capture
- workaround for am hang when starting chrome on volantis
- bullhead support for recentfling

New output of "recentfling.sh":

Fling recents...
Frames: 772 latency: 19/22/34 Janks: 131(16%)

New output of "systemapps.sh -T":

App      Start(ms) Iter(ms) Jank      Latency
gmail       1090    2168      69(72%) 65/75/88
hangouts    1757    2758      60(82%) 69/111/114
chrome         0     997      59(64%) 68/77/84
youtube     3533    4834     140(48%) 70/93/150
play        1868    3147      92(62%) 89/106/182
home           0    1125     210(15%) 62/84/129
TOTAL       8248   35052

Change-Id: If4fc94ab0188dae2afabfbf696be06b6ddf55ce1

9 years agoAdd simpleperf report command.
Yabin Cui [Thu, 21 May 2015 19:17:23 +0000 (12:17 -0700)]
Add simpleperf report command.

Only support report of process/file level. Symbol parsing is not included.

Bug: 19483574
Change-Id: I6d1c67000bd0e303623183912ff06fdeeb51c5e9

9 years agoam b1e18a92: am ed6f7968: Merge "Simpleperf: refactor command system."
Yabin Cui [Fri, 5 Jun 2015 02:17:51 +0000 (02:17 +0000)]
am b1e18a92: am ed6f7968: Merge "Simpleperf: refactor command system."

* commit 'b1e18a923b40be38a0de785af6d9169da57e92ad':
  Simpleperf: refactor command system.

9 years agoam ed6f7968: Merge "Simpleperf: refactor command system."
Yabin Cui [Fri, 5 Jun 2015 02:04:41 +0000 (02:04 +0000)]
am ed6f7968: Merge "Simpleperf: refactor command system."

* commit 'ed6f79688c581fcc5962de774838f052c4ad04cd':
  Simpleperf: refactor command system.

9 years agoMerge "Simpleperf: refactor command system."
Yabin Cui [Fri, 5 Jun 2015 01:41:28 +0000 (01:41 +0000)]
Merge "Simpleperf: refactor command system."

9 years agoSimpleperf: refactor command system.
Yabin Cui [Mon, 1 Jun 2015 18:21:37 +0000 (11:21 -0700)]
Simpleperf: refactor command system.

Register a callback function to create a new command instance instead of
registering a command instance. Then we can release resources in the
command destructors, and don't need xxxCommandImpl classes any more.

Bug: 19483574
Change-Id: Ibb54892ec0655fd43909347afd72bb08bc8a716c

9 years agoam 0f05445a: am b411bcc1: Move crypt commands to a different listener in vold
Paul Lawrence [Thu, 4 Jun 2015 22:10:33 +0000 (22:10 +0000)]
am 0f05445a: am b411bcc1: Move crypt commands to a different listener in vold

* commit '0f05445ac427a5fd5494c68e7d0d9125a02d619f':
  Move crypt commands to a different listener in vold

9 years agoam b411bcc1: Move crypt commands to a different listener in vold
Paul Lawrence [Thu, 4 Jun 2015 21:53:46 +0000 (21:53 +0000)]
am b411bcc1: Move crypt commands to a different listener in vold

* commit 'b411bcc138293db5e09c1f5af638115b3c7c18f8':
  Move crypt commands to a different listener in vold

9 years agoam fae4a14c: am d4637d6e: Merge "Simpleperf: support branch stack sampling in `simple...
Yabin Cui [Thu, 4 Jun 2015 02:59:11 +0000 (02:59 +0000)]
am fae4a14c: am d4637d6e: Merge "Simpleperf: support branch stack sampling in `simpleperf record`."

* commit 'fae4a14c88279aee75e15bfb5b69977f9a4d24ad':
  Simpleperf: support branch stack sampling in `simpleperf record`.

9 years agoam d4637d6e: Merge "Simpleperf: support branch stack sampling in `simpleperf record`."
Yabin Cui [Thu, 4 Jun 2015 02:46:58 +0000 (02:46 +0000)]
am d4637d6e: Merge "Simpleperf: support branch stack sampling in `simpleperf record`."

* commit 'd4637d6e7d17f48d9325fa133be82b06a408f523':
  Simpleperf: support branch stack sampling in `simpleperf record`.

9 years agoMerge "Simpleperf: support branch stack sampling in `simpleperf record`."
Yabin Cui [Thu, 4 Jun 2015 02:22:59 +0000 (02:22 +0000)]
Merge "Simpleperf: support branch stack sampling in `simpleperf record`."

9 years agoSimpleperf: support branch stack sampling in `simpleperf record`.
Yabin Cui [Wed, 3 Jun 2015 00:54:52 +0000 (17:54 -0700)]
Simpleperf: support branch stack sampling in `simpleperf record`.

This only adds support in simpleperf. Branch stack sampling still
lacks kernel support on arm devices.
Use perf_event.h of bionic in host build, because the perf_event.h
of platform glibc is too old.

Bug: 19483574
Change-Id: I9c7332c054e93e7433717dd293d3f366b1802e2d

9 years agoMove crypt commands to a different listener in vold
Paul Lawrence [Wed, 3 Jun 2015 21:18:17 +0000 (14:18 -0700)]
Move crypt commands to a different listener in vold

In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.

While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.

Bug: 19197175
Change-Id: Id87764ed68c169fc6b94ea4f4f7a51a7ec9c7564

9 years agoMerge "Add e4crypt_set_user_crypto_policies which calls vdc setusercryptopolicies"
Paul Crowley [Tue, 2 Jun 2015 12:15:50 +0000 (12:15 +0000)]
Merge "Add e4crypt_set_user_crypto_policies which calls vdc setusercryptopolicies"

9 years agoam 15c52274: (-s ours) am af02e8aa: DO NOT MERGE New faster file open kernel
Paul Lawrence [Mon, 1 Jun 2015 15:43:35 +0000 (15:43 +0000)]
am 15c52274: (-s ours) am af02e8aa: DO NOT MERGE New faster file open kernel

* commit '15c522741f469d6a9aa3e355f7610686da5e629a':
  DO NOT MERGE New faster file open kernel

9 years agoam 80cd919f: (-s ours) am a47a1331: DO NOT MERGE Use default key permissions for...
Paul Lawrence [Mon, 1 Jun 2015 15:43:35 +0000 (15:43 +0000)]
am 80cd919f: (-s ours) am a47a1331: DO NOT MERGE Use default key permissions for ext4enc

* commit '80cd919fc50c05644ab2b4d20960bc7abfc34d50':
  DO NOT MERGE Use default key permissions for ext4enc

9 years agoam db721836: (-s ours) am 2ecc6428: DO NOT MERGE Enable properties in ext4enc
Paul Lawrence [Mon, 1 Jun 2015 15:43:34 +0000 (15:43 +0000)]
am db721836: (-s ours) am 2ecc6428: DO NOT MERGE Enable properties in ext4enc

* commit 'db721836a20f08a96cb479be01195fe94cad9532':
  DO NOT MERGE Enable properties in ext4enc

9 years agoam af02e8aa: DO NOT MERGE New faster file open kernel
Paul Lawrence [Mon, 1 Jun 2015 15:28:34 +0000 (15:28 +0000)]
am af02e8aa: DO NOT MERGE New faster file open kernel

* commit 'af02e8aa9164f723a0c2a421a97c227c5adff4c2':
  DO NOT MERGE New faster file open kernel

9 years agoam a47a1331: DO NOT MERGE Use default key permissions for ext4enc
Paul Lawrence [Mon, 1 Jun 2015 15:28:33 +0000 (15:28 +0000)]
am a47a1331: DO NOT MERGE Use default key permissions for ext4enc

* commit 'a47a1331f75433fe25e3f57ffdecea92f7e48425':
  DO NOT MERGE Use default key permissions for ext4enc

9 years agoam 2ecc6428: DO NOT MERGE Enable properties in ext4enc
Paul Lawrence [Mon, 1 Jun 2015 15:28:31 +0000 (15:28 +0000)]
am 2ecc6428: DO NOT MERGE Enable properties in ext4enc

* commit '2ecc64285a67bad1f942581f5bd9f361d689d37c':
  DO NOT MERGE Enable properties in ext4enc

9 years agoam fa0a3014: am 34bce194: Merge "Simpleperf: add test about cpu hot-plug."
Yabin Cui [Sat, 30 May 2015 00:05:02 +0000 (00:05 +0000)]
am fa0a3014: am 34bce194: Merge "Simpleperf: add test about cpu hot-plug."

* commit 'fa0a30140b15b5e11e511cd108399b0b3f645869':
  Simpleperf: add test about cpu hot-plug.

9 years agoam 34bce194: Merge "Simpleperf: add test about cpu hot-plug."
Yabin Cui [Fri, 29 May 2015 23:51:24 +0000 (23:51 +0000)]
am 34bce194: Merge "Simpleperf: add test about cpu hot-plug."

* commit '34bce194a474083a3e156de8ffb0daf4fd27e005':
  Simpleperf: add test about cpu hot-plug.

9 years agoMerge "Simpleperf: add test about cpu hot-plug."
Yabin Cui [Fri, 29 May 2015 23:21:18 +0000 (23:21 +0000)]
Merge "Simpleperf: add test about cpu hot-plug."

9 years agoSimpleperf: add test about cpu hot-plug.
Yabin Cui [Fri, 29 May 2015 02:57:01 +0000 (19:57 -0700)]
Simpleperf: add test about cpu hot-plug.

On device like N7(flo), because of a kernel bug, if a cpu is hotplugged
while there are hardware events monitored not on that cpu, the kernel
arrives in an error state that no further hardware events can be monitored.
This test is used to detect the kernel bug.

Bug: 19863147
Change-Id: Ieed4fef174373b5fe62afacf8197e839685893df

9 years agoDO NOT MERGE New faster file open kernel
Paul Lawrence [Fri, 1 May 2015 12:24:04 +0000 (05:24 -0700)]
DO NOT MERGE New faster file open kernel

(chery-picked from commit b01dc1c52ec0a4ec5e07a18ffb5b105a997cc329)

Bug: 18151196

Change-Id: Icdb3d9afa1db125102d01cd06f45dbc99ca78021

9 years agoDO NOT MERGE Use default key permissions for ext4enc
Paul Lawrence [Tue, 5 May 2015 18:06:43 +0000 (11:06 -0700)]
DO NOT MERGE Use default key permissions for ext4enc

(cherry-picked from commit 478a01d6f2081f7807b99774d005fee373847f23)

As per discussion default permissions are the correct ones.
Note that since we use logon keys, they cannot be read outside
the kernel.

Note also that we limit who can read/write keys in selinux policy.

Bug: 18151196
Change-Id: I15dc0de92643ae1472b0cde79c464fb3e1a1d453

9 years agoDO NOT MERGE Enable properties in ext4enc
Paul Lawrence [Wed, 15 Apr 2015 21:11:07 +0000 (14:11 -0700)]
DO NOT MERGE Enable properties in ext4enc

(cherry-picked from commit 829e6413348e1d1569b32a604484b4ace3083776)

Enables OwnerInfo and pattern suppression

Change-Id: I4a7d71c9a750d5ed996ab1937bd5a81da480a2b3

9 years agoam 9dcaf3a9: (-s ours) am db1d49c7: (-s ours) DO NOT MERGE New ext4enc kernel switchi...
Paul Lawrence [Fri, 29 May 2015 21:13:06 +0000 (21:13 +0000)]
am 9dcaf3a9: (-s ours) am db1d49c7: (-s ours) DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl

* commit '9dcaf3a94384fb26367231e5d5f07e2740813e02':
  DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl

9 years agoam 3e1b7b1e: (-s ours) am bc2eb8c3: (-s ours) DO NOT MERGE Securely encrypt the maste...
Paul Lawrence [Fri, 29 May 2015 21:13:05 +0000 (21:13 +0000)]
am 3e1b7b1e: (-s ours) am bc2eb8c3: (-s ours) DO NOT MERGE Securely encrypt the master key

* commit '3e1b7b1e390b1f65d3eb2e957502ad00cd6a2fe6':
  DO NOT MERGE Securely encrypt the master key

9 years agoam db1d49c7: (-s ours) DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl
Paul Lawrence [Fri, 29 May 2015 21:08:33 +0000 (21:08 +0000)]
am db1d49c7: (-s ours) DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl

* commit 'db1d49c70eec489cf3d60a4ec70a8e7c0f3f2b76':
  DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl

9 years agoam bc2eb8c3: (-s ours) DO NOT MERGE Securely encrypt the master key
Paul Lawrence [Fri, 29 May 2015 21:02:36 +0000 (21:02 +0000)]
am bc2eb8c3: (-s ours) DO NOT MERGE Securely encrypt the master key

* commit 'bc2eb8c3fd621605ff1ccaed04a71e6685acc974':
  DO NOT MERGE Securely encrypt the master key

9 years agoDO NOT MERGE New ext4enc kernel switching from xattrs to ioctl
Paul Lawrence [Fri, 10 Apr 2015 14:47:30 +0000 (07:47 -0700)]
DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl

(cherry-picked from commit 9f53fb4abca1ee3af7b537c95445161db4b81f86)

This is one of three changes to enable this functionality:
  https://android-review.googlesource.com/#/c/146259/
  https://android-review.googlesource.com/#/c/146264/
  https://android-review.googlesource.com/#/c/146265/

Bug: 18151196

Change-Id: I05b96f49b8848e82484a500e4536bdb4d2cdd635

9 years agoDO NOT MERGE Securely encrypt the master key
Paul Lawrence [Tue, 28 Apr 2015 22:13:04 +0000 (22:13 +0000)]
DO NOT MERGE Securely encrypt the master key

(cherry-picked from commit 377cd1957172c19ee21baa3d6bda0840f1ce020d)

Move all key management into vold
Reuse vold's existing key management through the crypto footer
to manage the device wide keys.

Use ro.crypto.type flag to determine crypto type, which prevents
any issues when running in block encrypted mode, as well as speeding
up boot in block or no encryption.

This is one of four changes to enable this functionality:
  https://android-review.googlesource.com/#/c/148586/
  https://android-review.googlesource.com/#/c/148604/
  https://android-review.googlesource.com/#/c/148606/
  https://android-review.googlesource.com/#/c/148607/

Bug: 18151196

Change-Id: I7a4ef3f3a937c45ff18f17c9ad1398293a8630f3

9 years agoam 83a45f3e: am 14d9b4f1: Perfprofd: various changes related to config parameters.
Than McIntosh [Thu, 28 May 2015 17:39:32 +0000 (17:39 +0000)]
am 83a45f3e: am 14d9b4f1: Perfprofd: various changes related to config parameters.

* commit '83a45f3e342ee0d4e525bf6b2a8af4b618d90fc8':
  Perfprofd: various changes related to config parameters.

9 years agoam cd2f09c9: am 4d31f7f2: Fix hang when starting chrome
Todd Kjos [Thu, 28 May 2015 17:39:31 +0000 (17:39 +0000)]
am cd2f09c9: am 4d31f7f2: Fix hang when starting chrome

* commit 'cd2f09c9b8cdcdd01963700ef39825e2a5f70f66':
  Fix hang when starting chrome

9 years agoam 33815ea3: am 50e2e1d1: Merge "Perfprofd: various changes related to config paramet...
Than McIntosh [Thu, 28 May 2015 17:39:30 +0000 (17:39 +0000)]
am 33815ea3: am 50e2e1d1: Merge "Perfprofd: various changes related to config parameters."

* commit '33815ea3f3e9547449345654a5e07ab84d8a04c5':
  Perfprofd: various changes related to config parameters.

9 years agoam 35a502e8: am 421d4546: Merge "Set -fno-strict-aliasing here so we can get rid...
Elliott Hughes [Thu, 28 May 2015 17:39:29 +0000 (17:39 +0000)]
am 35a502e8: am 421d4546: Merge "Set -fno-strict-aliasing here so we can get rid of it globally"

* commit '35a502e8113941909de9514fde32c51ad1d949ac':
  Set -fno-strict-aliasing here so we can get rid of it globally

9 years agoam 14d9b4f1: Perfprofd: various changes related to config parameters.
Than McIntosh [Thu, 28 May 2015 17:30:49 +0000 (17:30 +0000)]
am 14d9b4f1: Perfprofd: various changes related to config parameters.

* commit '14d9b4f16be91459e1ab8421fd8f2ec273d05cf3':
  Perfprofd: various changes related to config parameters.

9 years agoam 4d31f7f2: Fix hang when starting chrome
Todd Kjos [Thu, 28 May 2015 17:30:29 +0000 (17:30 +0000)]
am 4d31f7f2: Fix hang when starting chrome

* commit '4d31f7f204b2441cb7cc742910d94c2f1054d660':
  Fix hang when starting chrome

9 years agoam 50e2e1d1: Merge "Perfprofd: various changes related to config parameters."
Than McIntosh [Thu, 28 May 2015 17:19:33 +0000 (17:19 +0000)]
am 50e2e1d1: Merge "Perfprofd: various changes related to config parameters."

* commit '50e2e1d1918e2400745cb1c6e5d34acd33d5c2fe':
  Perfprofd: various changes related to config parameters.

9 years agoam 421d4546: Merge "Set -fno-strict-aliasing here so we can get rid of it globally"
Elliott Hughes [Thu, 28 May 2015 17:19:19 +0000 (17:19 +0000)]
am 421d4546: Merge "Set -fno-strict-aliasing here so we can get rid of it globally"

* commit '421d454684235a7e9e20de43f22e70decc038c52':
  Set -fno-strict-aliasing here so we can get rid of it globally

9 years agoAdd e4crypt_set_user_crypto_policies which calls
Paul Crowley [Thu, 28 May 2015 15:45:52 +0000 (16:45 +0100)]
Add e4crypt_set_user_crypto_policies which calls
vdc setusercryptopolicies

Bug: 19704432
Change-Id: Ie1de2a8f5cee82814b6a617d90a1797921f3a2dd

9 years agoPerfprofd: various changes related to config parameters.
Than McIntosh [Thu, 21 May 2015 18:44:34 +0000 (14:44 -0400)]
Perfprofd: various changes related to config parameters.

Details:
- turn "max unprocessed profiles" into a configurable parameter.
- use a longer default collection interval
- reread config file on very iteration through the main loop,
  so as to incorporate new parameters written by the upload service

Bug: http://b/19483574
Change-Id: I1ecacbdeccf26f09ddd8387aef0f2587483eb967
(cherry picked from commit f353d8bf370eab2117e6259630f5540f12b361b0)

9 years agoFix hang when starting chrome
Todd Kjos [Thu, 28 May 2015 15:27:00 +0000 (08:27 -0700)]
Fix hang when starting chrome

Stop using the activity string and always use theverge.com

Change-Id: I22efebe83e8baffecd2a8510ec75c9269f1c24ef

9 years agoMerge "Perfprofd: various changes related to config parameters."
Than McIntosh [Thu, 28 May 2015 13:23:38 +0000 (13:23 +0000)]
Merge "Perfprofd: various changes related to config parameters."

9 years agoMerge "Set -fno-strict-aliasing here so we can get rid of it globally"
Elliott Hughes [Thu, 28 May 2015 05:28:07 +0000 (05:28 +0000)]
Merge "Set -fno-strict-aliasing here so we can get rid of it globally"

9 years agoPerfprofd: various changes related to config parameters.
Than McIntosh [Thu, 21 May 2015 18:44:34 +0000 (14:44 -0400)]
Perfprofd: various changes related to config parameters.

Details:
- turn "max unprocessed profiles" into a configurable parameter.
- use a longer default collection interval
- reread config file on very iteration through the main loop,
  so as to incorporate new parameters written by the upload service

Bug: http://b/19483574
Change-Id: I1ecacbdeccf26f09ddd8387aef0f2587483eb967

9 years agoam dcd3cd29: am 8e9233ec: Merge "Make mark reflect/accept required, it\'s been upstre...
Lorenzo Colitti [Fri, 22 May 2015 16:02:01 +0000 (16:02 +0000)]
am dcd3cd29: am 8e9233ec: Merge "Make mark reflect/accept required, it\'s been upstream for a while."

* commit 'dcd3cd29d2fdde80d96eb512495619ad883c79d2':
  Make mark reflect/accept required, it's been upstream for a while.

9 years agoam 8e9233ec: Merge "Make mark reflect/accept required, it\'s been upstream for a...
Lorenzo Colitti [Fri, 22 May 2015 15:16:30 +0000 (15:16 +0000)]
am 8e9233ec: Merge "Make mark reflect/accept required, it\'s been upstream for a while."

* commit '8e9233ecabd3ca4a7ae927cb2cdb6e80e8cf01bd':
  Make mark reflect/accept required, it's been upstream for a while.

9 years agoMerge "Make mark reflect/accept required, it's been upstream for a while."
Lorenzo Colitti [Fri, 22 May 2015 05:43:59 +0000 (05:43 +0000)]
Merge "Make mark reflect/accept required, it's been upstream for a while."

9 years agoMake mark reflect/accept required, it's been upstream for a while.
Lorenzo Colitti [Fri, 22 May 2015 00:49:31 +0000 (09:49 +0900)]
Make mark reflect/accept required, it's been upstream for a while.

Change-Id: I4a329ef59987a6414293ececcf9ed87466c3cadd

9 years agoam e5436ae3: (-s ours) am 684f65f8: Scripts to automate simple workloads for testing
Todd Kjos [Thu, 21 May 2015 19:25:12 +0000 (19:25 +0000)]
am e5436ae3: (-s ours) am 684f65f8: Scripts to automate simple workloads for testing

* commit 'e5436ae351ba61d23f4a3e298dc1691e472f8bd6':
  Scripts to automate simple workloads for testing

9 years agoam 684f65f8: Scripts to automate simple workloads for testing
Todd Kjos [Thu, 21 May 2015 18:48:36 +0000 (18:48 +0000)]
am 684f65f8: Scripts to automate simple workloads for testing

* commit '684f65f8602d1e1a79170984acc18421fb8f4c98':
  Scripts to automate simple workloads for testing

9 years agoScripts to automate simple workloads for testing
Todd Kjos [Wed, 20 May 2015 19:47:00 +0000 (12:47 -0700)]
Scripts to automate simple workloads for testing

DO NOT MERGE (already in master)

The initial set of scripts:
recentsfling.sh : start a set of apps, switch to recents and fling
systemapps.sh : start a set of apps, and then loop to move them
                to the forground, checking whether the app had
                been LMK'd or required direct reclaims
feedly-chrome.sh : automate a feedly, chrome
                workflow making sure both stay in memory

Change-Id: I40f0862623ea0963bb0eaed3a585b41b69bbbbc7

9 years agoMerge "Added jank accounting to systemapps.sh and fixed whitespace issues"
Todd Kjos [Wed, 20 May 2015 15:10:30 +0000 (15:10 +0000)]
Merge "Added jank accounting to systemapps.sh and fixed whitespace issues"

9 years agoam 36a38281: am 8fc9bc57: Merge "Disable certain kernel configuration options in...
Lorenzo Colitti [Wed, 20 May 2015 13:17:23 +0000 (13:17 +0000)]
am 36a38281: am 8fc9bc57: Merge "Disable certain kernel configuration options in net_test."

* commit '36a382814099d1a4efeacb9be8bb8dd8ad1e2587':
  Disable certain kernel configuration options in net_test.

9 years agoam 8fc9bc57: Merge "Disable certain kernel configuration options in net_test."
Lorenzo Colitti [Wed, 20 May 2015 09:48:13 +0000 (09:48 +0000)]
am 8fc9bc57: Merge "Disable certain kernel configuration options in net_test."

* commit '8fc9bc570474c7f76638529e2b98248775c0d5d8':
  Disable certain kernel configuration options in net_test.

9 years agoMerge "Disable certain kernel configuration options in net_test."
Lorenzo Colitti [Wed, 20 May 2015 07:06:40 +0000 (07:06 +0000)]
Merge "Disable certain kernel configuration options in net_test."

9 years agoDisable certain kernel configuration options in net_test.
Lorenzo Colitti [Wed, 20 May 2015 06:53:30 +0000 (15:53 +0900)]
Disable certain kernel configuration options in net_test.

- Support disabling as well as enabling configuration options
- Disable two options that break the flo kernel when compiling
  with a recent GCC.

Change-Id: Ic8824c0de997bb479f44d9ec35c1d1d2f6fc344b

9 years agoAdded jank accounting to systemapps.sh and fixed whitespace issues
Todd Kjos [Wed, 20 May 2015 00:24:32 +0000 (17:24 -0700)]
Added jank accounting to systemapps.sh and fixed whitespace issues

Change-Id: I1dfb37e63f880bce07fab1b2284d5b658d2dd464