Commit graph

14732 commits

Author SHA1 Message Date
Josh Gao
f740908c5b Don\'t create tombstone directory. am: cb9625cbe5 am: 99b8a56616 am: 0cf99e2b61 am: 338f1802ee am: 3ee4a0be2a am: 7f0d750b2d
am: 41f72f0537

* commit '41f72f05370fd7fa651131daec5ecd4e89afc9f5':
  Don't create tombstone directory.
2016-02-24 19:56:08 +00:00
Nick Kralevich
9b26997a1f ensure /data/tombstones exists on all Android devices am: e2796207ee am: 9660c6759e am: 4d4eb0db97 am: 6d7ce7b14c am: 077a9ffe40 am: bf8ace32ef
am: a03485daa5

* commit 'a03485daa5491b4315d01d0ef881c4876882db54':
  ensure /data/tombstones exists on all Android devices
2016-02-24 19:56:00 +00:00
Josh Gao
41f72f0537 Don\'t create tombstone directory. am: cb9625cbe5 am: 99b8a56616 am: 0cf99e2b61 am: 338f1802ee am: 3ee4a0be2a
am: 7f0d750b2d

* commit '7f0d750b2d8907816b3d9b171f2eebda38be6e03':
  Don't create tombstone directory.
2016-02-24 19:49:23 +00:00
Nick Kralevich
a03485daa5 ensure /data/tombstones exists on all Android devices am: e2796207ee am: 9660c6759e am: 4d4eb0db97 am: 6d7ce7b14c am: 077a9ffe40
am: bf8ace32ef

* commit 'bf8ace32efb4903642b0e372a5fe939685686467':
  ensure /data/tombstones exists on all Android devices
2016-02-24 19:49:12 +00:00
Josh Gao
7f0d750b2d Don\'t create tombstone directory. am: cb9625cbe5 am: 99b8a56616 am: 0cf99e2b61 am: 338f1802ee
am: 3ee4a0be2a

* commit '3ee4a0be2ae8b21a2235278c88d40b4feb3ddd08':
  Don't create tombstone directory.
2016-02-24 19:37:01 +00:00
Nick Kralevich
bf8ace32ef ensure /data/tombstones exists on all Android devices am: e2796207ee am: 9660c6759e am: 4d4eb0db97 am: 6d7ce7b14c
am: 077a9ffe40

* commit '077a9ffe402c0776328bd5a4e85230bba458dc47':
  ensure /data/tombstones exists on all Android devices
2016-02-24 19:36:45 +00:00
Josh Gao
3ee4a0be2a Don\'t create tombstone directory. am: cb9625cbe5 am: 99b8a56616 am: 0cf99e2b61
am: 338f1802ee

* commit '338f1802ee7d87bb4ea2f3fe9ef1c72e1784188b':
  Don't create tombstone directory.
2016-02-24 19:31:16 +00:00
Nick Kralevich
077a9ffe40 ensure /data/tombstones exists on all Android devices am: e2796207ee am: 9660c6759e am: 4d4eb0db97
am: 6d7ce7b14c

* commit '6d7ce7b14c906eff4488bddb0338a38f57eac1de':
  ensure /data/tombstones exists on all Android devices
2016-02-24 19:31:04 +00:00
Josh Gao
338f1802ee Don\'t create tombstone directory. am: cb9625cbe5 am: 99b8a56616
am: 0cf99e2b61

* commit '0cf99e2b618ac5c8a495f607b1978fcd9e3ee827':
  Don't create tombstone directory.
2016-02-24 19:25:50 +00:00
Nick Kralevich
6d7ce7b14c ensure /data/tombstones exists on all Android devices am: e2796207ee am: 9660c6759e
am: 4d4eb0db97

* commit '4d4eb0db978bca41727ed21406da42332367de7d':
  ensure /data/tombstones exists on all Android devices
2016-02-24 19:25:38 +00:00
Josh Gao
0cf99e2b61 Don\'t create tombstone directory. am: cb9625cbe5
am: 99b8a56616

* commit '99b8a5661614c3b973ab421ecff4ae40249c1579':
  Don't create tombstone directory.
2016-02-24 19:11:53 +00:00
Nick Kralevich
4d4eb0db97 ensure /data/tombstones exists on all Android devices am: e2796207ee
am: 9660c6759e

* commit '9660c6759e165ddbc91f823672ba9631199ae9dc':
  ensure /data/tombstones exists on all Android devices
2016-02-24 19:11:42 +00:00
Josh Gao
99b8a56616 Don\'t create tombstone directory.
am: cb9625cbe5

* commit 'cb9625cbe54f009c216a1f50fcaee15ee3478357':
  Don't create tombstone directory.
2016-02-24 19:05:34 +00:00
Nick Kralevich
9660c6759e ensure /data/tombstones exists on all Android devices
am: e2796207ee

* commit 'e2796207ee5a1ff2ebea30bdcf6d2c2553546b86':
  ensure /data/tombstones exists on all Android devices
2016-02-24 19:05:12 +00:00
William Luh
041cb4aa55 Add macro to call event logger for errors. DO NOT MERGE am: 769cba57e4 -s ours am: 43c0f28c11 am: ec0d1037ab
am: 785f82c09d

* commit '785f82c09d113126e6575d257df2bbf8b0823afe':
  Add macro to call event logger for errors. DO NOT MERGE
2016-02-24 03:01:13 +00:00
William Luh
785f82c09d Add macro to call event logger for errors. DO NOT MERGE am: 769cba57e4 -s ours am: 43c0f28c11
am: ec0d1037ab

* commit 'ec0d1037ab53465734934f2c91a5e0c015881633':
  Add macro to call event logger for errors. DO NOT MERGE
2016-02-24 02:54:36 +00:00
William Luh
ec0d1037ab Add macro to call event logger for errors. DO NOT MERGE am: 769cba57e4 -s ours
am: 43c0f28c11

* commit '43c0f28c1135bd1f1640441e3fa259be04aa04b0':
  Add macro to call event logger for errors. DO NOT MERGE
2016-02-24 02:46:27 +00:00
William Luh
43c0f28c11 Add macro to call event logger for errors. DO NOT MERGE
am: 769cba57e4  -s ours

* commit '769cba57e446be099c792516486a304a18ee2952':
  Add macro to call event logger for errors. DO NOT MERGE
2016-02-24 02:39:45 +00:00
William Luh
769cba57e4 Add macro to call event logger for errors. DO NOT MERGE
Bug:23180694
Change-Id: I566a290334345f48013029534efef3e08e726e40
2016-02-23 16:04:34 -08:00
Mohamad Ayyash
1dec743e01 Add CASIO to approved vendor IDs
am: 6c48349dee

* commit '6c48349deec6d7b6e654067416790fe16c69c28e':
  Add CASIO to approved vendor IDs
2016-02-17 07:01:15 +00:00
Mohamad Ayyash
6c48349dee Add CASIO to approved vendor IDs
BUG: 27021418
Change-Id: I083447d3555891db4fced2171a0a747882c4435a
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-02-16 20:14:01 -08:00
Josh Gao
cb9625cbe5 Don't create tombstone directory.
Partial backport of cf79748.

Bug: http://b/26403620
Change-Id: Ib877ab6cfab6aef079830c5a50ba81141ead35ee
2016-02-16 15:09:46 -08:00
Nick Kralevich
e2796207ee ensure /data/tombstones exists on all Android devices
/data/tombstones is referenced by core platform code, but is not
guaranteed to exist on all Android devices. Move the directory
creation out of device specific files and into the core
init.rc file.

Bug: https://code.google.com/p/android/issues/detail?id=93207
Change-Id: I94ae5199a6a32c4fe555ca994fc4a8345e0c9690

Bug: http://b/26403620
(cherry picked from commit 0359d778a5)
2016-02-16 15:09:43 -08:00
Jeff Sharkey
77a3c8fccd Re-derive permissions after package changes. am: a44febd19b
am: 36a6835aa5

* commit '36a6835aa5c40c5a83400c2fb162bd6fd5c5f878':
  Re-derive permissions after package changes.
2016-02-14 22:39:02 +00:00
Jeff Sharkey
36a6835aa5 Re-derive permissions after package changes.
am: a44febd19b

* commit 'a44febd19b4efd17fe31d75c964ec47f85832a2a':
  Re-derive permissions after package changes.
2016-02-14 22:28:35 +00:00
Jeff Sharkey
a44febd19b Re-derive permissions after package changes.
When packages change, existing package-specific directories may have
gained/lost a UID mapping, so we need to update the permissions for
any in-memory nodes.

This allows an app to deliver data for another package before that
package is installed, which is the typical pattern of how OBB files
are delivered.

Also fix bug by re-deriving permissions when files are moved.

Bug: 25399427
Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683
(cherry picked from commit f7aad11c1c)
2016-02-12 20:37:05 +00:00
Thierry Strudel
b84295d027 Merge "[DO NOT MERGE] Use FUSE_SHORTCIRCUIT if available" into mnc-dr1.5-dev 2016-01-14 00:32:01 +00:00
Thierry Strudel
ac5175f9a6 [DO NOT MERGE] Use FUSE_SHORTCIRCUIT if available
Use a non yet maintainer reviewed kernel patch from QCOM that greatly
improves IO speed in case it is available from the device specific
kernel headers.

Bug: 24216004
Change-Id: I4101d80082c9ad9d042dde5c620ddb309d193d52
2016-01-13 15:11:35 -08:00
Ching Tzung Lin
905ad1d3e7 Mount debugfs earlier regardless build variant
am: df2d782368

* commit 'df2d78236834f5f6a99e88c8cd629b09d8292bb6':
  Mount debugfs earlier regardless build variant
2016-01-11 22:50:00 +00:00
Ching Tzung Lin
df2d782368 Mount debugfs earlier regardless build variant
ag/835596 can be reverted after this CL is merged.

BUG:26455292
Change-Id: I453b0f1d08d822f8cd2d4d33f1c1b21f0d7f543a
2016-01-11 13:00:22 -08:00
Tim Murray
14b307fa47 Merge "Fix logspam from system-background cpuset." into mnc-dr1.5-dev 2015-12-17 21:46:29 +00:00
Tim Murray
d31cb63db4 Fix logspam from system-background cpuset.
system-background can't be opened by most processes, since system-bg is
a privileged cpuset. Remove the log message when it can't be
opened. We'll still log a failure to use the fd if we try to use it
after it can't be opened, which is fine.

bug 26249842

Change-Id: I99f185c51645bc81b6a41732848227c27675cdf7
2015-12-17 13:11:50 -08:00
Jeff Sharkey
f7aad11c1c Re-derive permissions after package changes.
When packages change, existing package-specific directories may have
gained/lost a UID mapping, so we need to update the permissions for
any in-memory nodes.

This allows an app to deliver data for another package before that
package is installed, which is the typical pattern of how OBB files
are delivered.

Also fix bug by re-deriving permissions when files are moved.

Bug: 25399427
Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683
2015-12-16 13:20:53 -07:00
Alain Vongsouvanh
85c3bbed4c logcatd: up size from 16MB to 256MB
am: 2f18b54502

* commit '2f18b5450293c2360f688cd059989e36ba5a988c':
  logcatd: up size from 16MB to 256MB
2015-12-15 09:47:57 -08:00
Alain Vongsouvanh
2f18b54502 logcatd: up size from 16MB to 256MB
Based on: https://android-review.googlesource.com/#/c/172084

Change-Id: Idaa4177618acef31806b4d8f6a2f5caa859e8992
2015-12-08 12:50:18 -08:00
Tim Murray
a53ec324bd DO NOT MERGE: add support for new sched tracepoint
This tracepoint gives systrace the means to display the reason
for uninterruptible sleep.

bug 23350688

Change-Id: Iaf9c929fe1169f8872a7f8135343950aa322b0f5
2015-11-30 10:58:26 -08:00
Tim Murray
6eee56ccab Improve cpuset support for surfaceflinger.
SurfaceFlinger needs some of its threads in the system-background cpuset
and some of its threads (the binder pool) outside of the
system-background cpuset in order to improve UI perf/power
consumption. Remove surfaceflinger from the system-background cpuset in
init.rc and allow a thread to place itself in the system-background
cpuset given enough permissions.

bug 25745866

Change-Id: I85f7e41c5439e6ad7cc2d355e51f5dfb3a0c7088
2015-11-18 22:36:23 +00:00
Mark Salyzyn
1589fa1bda logcat: continue where we left off
am: 5b0d59dde8

* commit '5b0d59dde85162fa9ef3a32464c0f1b81d7e05cb':
  logcat: continue where we left off
2015-11-12 23:44:18 +00:00
Mark Salyzyn
5b0d59dde8 logcat: continue where we left off
Issue introduced as part of new logcatd functionality in
commit f3555d9427

Faulty logic, add a gTest to confirm.

Bug: 19608716
Change-Id: Ic1b97def25e03e69faae4398a3dff2ff0f88545e
2015-11-12 11:51:41 -08:00
Jon Larimer
7b5fa175fa Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours am: ea1e6a59e7 am: 088639a20f -s ours am: 55263d2ae3
am: 99cd21ef5c

* commit '99cd21ef5c3548613d8a614551b858a5c47985fc':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:52:49 +00:00
Jon Larimer
ae1f2bfe92 Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-dev am: 5280061b56 am: 442a830e9b -s ours am: 93a3871abb am: 089ad5e98a -s ours am: 2f1562eb10
am: 9f1b1caa78

* commit '9f1b1caa787fdb9f66f32eda38d46f1b4e75b209':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:52:44 +00:00
Jon Larimer
ec73aeaaab Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-mr1-dev am: f84eef3fca -s ours am: d0ed7943b8 -s ours am: a1da204980
am: 7755770ac9

* commit '7755770ac930c8a7bf14a140e92330cee382fd16':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:52:38 +00:00
Jon Larimer
99cd21ef5c Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours am: ea1e6a59e7 am: 088639a20f -s ours
am: 55263d2ae3

* commit '55263d2ae3696baaa574ee896e3a8b0546aa5628':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:45:04 +00:00
Jon Larimer
9f1b1caa78 Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-dev am: 5280061b56 am: 442a830e9b -s ours am: 93a3871abb am: 089ad5e98a -s ours
am: 2f1562eb10

* commit '2f1562eb10279531524f54ca7c129ead66ab3673':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:44:57 +00:00
Jon Larimer
7755770ac9 Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-mr1-dev am: f84eef3fca -s ours am: d0ed7943b8 -s ours
am: a1da204980

* commit 'a1da204980891f9e59a41d7a41d510f3f05d34bf':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:44:50 +00:00
Jon Larimer
55263d2ae3 Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours am: ea1e6a59e7
am: 088639a20f  -s ours

* commit '088639a20fc388e8d4dcf1ed471b31086c43bc83':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:41:08 +00:00
Jon Larimer
2f1562eb10 Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-dev am: 5280061b56 am: 442a830e9b -s ours am: 93a3871abb
am: 089ad5e98a  -s ours

* commit '089ad5e98ab8a4b2d4ea00c6a88d61b963797c90':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:41:02 +00:00
Jon Larimer
a1da204980 Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-mr1-dev am: f84eef3fca -s ours
am: d0ed7943b8  -s ours

* commit 'd0ed7943b8a2f3d0000391f18899c77566a0be1a':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:40:55 +00:00
Jon Larimer
088639a20f Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours
am: ea1e6a59e7

* commit 'ea1e6a59e7dd8d4674a2116ec5893cdf801e6339':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:37:57 +00:00
Jon Larimer
089ad5e98a Merge "Add macro to call event logger for errors. DO NOT MERGE" into lmp-dev am: 5280061b56 am: 442a830e9b -s ours
am: 93a3871abb

* commit '93a3871abbd16a3e0dee6ab8e7e87356620efeac':
  Add macro to call event logger for errors. DO NOT MERGE
2015-11-11 20:37:51 +00:00