Commit graph

24291 commits

Author SHA1 Message Date
Automerger Merge Worker
3b77d78709 Merge "Use setxattr for incremental-fs" am: 2ddfad3709
Change-Id: Ia0773813cc8c81517f09e2dd3e2e4134f6146ffb
2020-02-12 00:14:17 +00:00
Songchun Fan
2ddfad3709 Merge "Use setxattr for incremental-fs" 2020-02-11 23:56:51 +00:00
Songchun Fan
ecafc55b70 Use setxattr for incremental-fs
BUG: b/133435829
Test: manual
Change-Id: I782f2041da5824fe28917789208e00d6ed10de79
2020-02-11 14:33:08 -08:00
Automerger Merge Worker
259264cd6c Merge "rebootescrow: allow dumpstate to call via binder" am: 4def25f171 am: 222d5c7a16 am: 3f12acd2f7
Change-Id: I5408afce8e9d1b6ac4addd9ddcc51dd3b5b19ce2
2020-02-11 22:14:40 +00:00
Automerger Merge Worker
924f09c6f1 Merge "selinux rules for apk files installed with Incremental" am: fcbfe3155f am: a0c022882c am: acab3cff75
Change-Id: If8d0b2c9955fba6caa5587a063a521399905ca70
2020-02-11 22:14:22 +00:00
Automerger Merge Worker
3f12acd2f7 Merge "rebootescrow: allow dumpstate to call via binder" am: 4def25f171 am: 222d5c7a16
Change-Id: I9005d0be42b25d10a08a3b43b85314a5d90ec8a5
2020-02-11 21:54:20 +00:00
Automerger Merge Worker
acab3cff75 Merge "selinux rules for apk files installed with Incremental" am: fcbfe3155f am: a0c022882c
Change-Id: I5fc36ba0b918eac9e1a5499041c6bee208ebe156
2020-02-11 21:54:07 +00:00
Automerger Merge Worker
222d5c7a16 Merge "rebootescrow: allow dumpstate to call via binder" am: 4def25f171
Change-Id: Ifbb92aa5e6dd5e31ec7774a46be918f358013848
2020-02-11 21:34:03 +00:00
Automerger Merge Worker
a0c022882c Merge "selinux rules for apk files installed with Incremental" am: fcbfe3155f
Change-Id: I179b22c05e431d922871f44ea4f2272024bbd1a4
2020-02-11 21:33:49 +00:00
Kenny Root
4def25f171 Merge "rebootescrow: allow dumpstate to call via binder" 2020-02-11 21:25:29 +00:00
Songchun Fan
fcbfe3155f Merge "selinux rules for apk files installed with Incremental" 2020-02-11 21:24:04 +00:00
Automerger Merge Worker
ffcafc7044 Merge "grant power hal client to access stable power hal service" am: a3b19be219 am: cadbe8d8ff am: 85abbc9fc0
Change-Id: I08c3a8e776fa461165f6f5a24fbf21b80621882a
2020-02-11 18:01:55 +00:00
Automerger Merge Worker
85abbc9fc0 Merge "grant power hal client to access stable power hal service" am: a3b19be219 am: cadbe8d8ff
Change-Id: I65205afee290ce02cf7dee970555985b835c7898
2020-02-11 17:52:49 +00:00
Automerger Merge Worker
cadbe8d8ff Merge "grant power hal client to access stable power hal service" am: a3b19be219
Change-Id: I49eb8ea8e1d664baf719e72b98ed43137cd60557
2020-02-11 17:37:51 +00:00
Wei Wang
a3b19be219 Merge "grant power hal client to access stable power hal service" 2020-02-11 17:18:38 +00:00
Alex Hong
1dd6321a00 Update Q sepolicy prebuilt
This updates 29.0 api for dumpstate restart control property contexts

Bug: 147730517
Change-Id: I0aa7450dc0fb34de321cf8d2ba357b2ecabbcf43
2020-02-11 13:53:22 +08:00
Kenny Root
7ae220742c rebootescrow: allow dumpstate to call via binder
Allow dumpstate to call into rebootescrow to request debug information.

Bug: 148763226
Test: adb bugreport
Change-Id: Ib336cab755998b1ddcd7848b3e544c2e0f09c1aa
2020-02-10 21:28:32 -08:00
Automerger Merge Worker
0b18794a23 Merge "sepolicy: new prereboot_data_file type" am: e8b7cecad3 am: b98676bc7a am: 4cfad4bd0c
Change-Id: I730e1d0c934f5588c9dc3e6f6de98ee6eaae7aab
2020-02-11 03:27:40 +00:00
Automerger Merge Worker
4cfad4bd0c Merge "sepolicy: new prereboot_data_file type" am: e8b7cecad3 am: b98676bc7a
Change-Id: Ie609dc28fc97f1973eea4bebea0089e35d97f47f
2020-02-11 03:17:41 +00:00
Automerger Merge Worker
b98676bc7a Merge "sepolicy: new prereboot_data_file type" am: e8b7cecad3
Change-Id: I1250ca1cdd98f428438bb1e50d7c7c6fa5f0989e
2020-02-11 03:08:56 +00:00
Jerry Chang
e8b7cecad3 Merge "sepolicy: new prereboot_data_file type" 2020-02-11 02:49:29 +00:00
Automerger Merge Worker
51febc5e3a Merge "Update sepolicy to allow pushing atoms from surfaceflinger to statsd" am: c95ae9044d am: 0d8788688f am: 48ad52b24b
Change-Id: I6c843f4fb34835767d4d0f77b47613612ab003ba
2020-02-11 01:42:54 +00:00
Automerger Merge Worker
48ad52b24b Merge "Update sepolicy to allow pushing atoms from surfaceflinger to statsd" am: c95ae9044d am: 0d8788688f
Change-Id: I3ad605df4276c31b8bac8a6d46dcac0eaacf1c9e
2020-02-11 01:31:11 +00:00
Automerger Merge Worker
7e35595d97 Merge "Allow dumpstate access to /dev/binderfs/binder_logs" am: d13e12f9cc am: 6a18420ec5 am: e3ae58f557
Change-Id: Id24cb443c74503f02372fd86f1e6527dac140e56
2020-02-11 01:18:15 +00:00
Automerger Merge Worker
0d8788688f Merge "Update sepolicy to allow pushing atoms from surfaceflinger to statsd" am: c95ae9044d
Change-Id: Iad64c0ba3034f8a9fec168a72bfe60962b767fe1
2020-02-11 01:17:44 +00:00
Automerger Merge Worker
e3ae58f557 Merge "Allow dumpstate access to /dev/binderfs/binder_logs" am: d13e12f9cc am: 6a18420ec5
Change-Id: Ia6e58a079531ef0da25c82c38014297e02363971
2020-02-11 01:03:38 +00:00
Alec Mouri
c95ae9044d Merge "Update sepolicy to allow pushing atoms from surfaceflinger to statsd" 2020-02-11 01:01:20 +00:00
Automerger Merge Worker
6a18420ec5 Merge "Allow dumpstate access to /dev/binderfs/binder_logs" am: d13e12f9cc
Change-Id: I6246c08580580833f6a50fa3c7803c2dc89dbcf5
2020-02-11 00:49:42 +00:00
Treehugger Robot
d13e12f9cc Merge "Allow dumpstate access to /dev/binderfs/binder_logs" 2020-02-11 00:40:23 +00:00
Wei Wang
e55f2318d5 grant power hal client to access stable power hal service
Bug: 147913776
Test: Build
Change-Id: Ibf0d6b7b5b4ac71994de53922d9ce685bdc5f704
2020-02-10 16:32:35 -08:00
Automerger Merge Worker
ab4fea6bc3 Merge "Revert "Add sepolicy for persist.nfc"" am: a85454834d am: 456f93e9f3 am: a0eacce8e5
Change-Id: I3ac4a1e86c1b6ce4c624b4386e9a857f3b1b3cf6
2020-02-11 00:28:00 +00:00
Automerger Merge Worker
a0eacce8e5 Merge "Revert "Add sepolicy for persist.nfc"" am: a85454834d am: 456f93e9f3
Change-Id: I46a54f0dcfe3db034c2d70a8bfadbc347c03564e
2020-02-11 00:08:34 +00:00
Automerger Merge Worker
456f93e9f3 Merge "Revert "Add sepolicy for persist.nfc"" am: a85454834d
Change-Id: Ib46567f04860322a68802d132414ccb442d8a9f4
2020-02-10 23:58:35 +00:00
Jon Spivack
a85454834d Merge "Revert "Add sepolicy for persist.nfc"" 2020-02-10 23:42:41 +00:00
Hridya Valsaraju
4ea5709bc4 Allow dumpstate access to /dev/binderfs/binder_logs
These permissions allow dumpstate to access binder logs
from /dev/binderfs.
avc: denied { read } for name="binder_logs" dev="binder" ino=1048580
scontext=u:r:dumpstate:s0 tcontext=u:object_r:binderfs_logs:s0 tclass=dir permissive=0
avc: denied { read } for comm="dumpstate" name="failed_transaction_log"
dev="binder" ino=1048585 scontext=u:r:dumpstate:s0
tcontext=u:object_r:binderfs_logs:s0 tclass=file permissive=1
avc: denied { open } for comm="dumpstate"
path="/dev/binderfs/binder_logs/failed_transaction_log"
dev="binder" ino=1048585 scontext=u:r:dumpstate:s0
tcontext=u:object_r:binderfs_logs:s0 tclass=file permissive=1
avc: denied { getattr } for comm="dumpstate"
path="/dev/binderfs/binder_logs/failed_transaction_log"
dev="binder" ino=1048585 scontext=u:r:dumpstate:s0
tcontext=u:object_r:binderfs_logs:s0 tclass=file permissive=1

Test: adb shell dumpstate
Bug: 136497735
Change-Id: I5ff7223e431aab9baa3527570fff2da71ab6feb0
2020-02-10 12:47:35 -08:00
Jon Spivack
c7bc7ee309 Revert "Add sepolicy for persist.nfc"
This reverts commit 34240604aa.

Reason for revert: Droidcop: Potential culprit for Bug149218822- verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Iaba9f6e9125ac456a5787b1fcbb67d68c91c5f42
2020-02-10 19:08:31 +00:00
Automerger Merge Worker
30418d34ee Merge "property_contexts: add cache for getDisplayInfo." am: 8b02ee96f1 am: 92424b8323 am: 361eaf967f
Change-Id: Iacac375f237bcb849a04f46a9bc8faa874972330
2020-02-10 17:58:54 +00:00
Automerger Merge Worker
8980ab9b51 Merge "Add userspace_reboot_log_prop" am: 4119b07d1b am: 250f731efd am: f0531762ca
Change-Id: I83b726332f54feaae999e3e7d597f5792a45faad
2020-02-10 17:58:39 +00:00
Alec Mouri
b254ff2d5b Update sepolicy to allow pushing atoms from surfaceflinger to statsd
Bug: 148543048
Test: builds
Test: statsd_testdrive
Change-Id: I8ea6659d575fa2e7e5961dc1fea3219c238c9e41
2020-02-10 09:50:53 -08:00
Automerger Merge Worker
361eaf967f Merge "property_contexts: add cache for getDisplayInfo." am: 8b02ee96f1 am: 92424b8323
Change-Id: I2595c83c0e5a29edb4e0727bba5e41c3bb4f0064
2020-02-10 17:48:39 +00:00
Automerger Merge Worker
f0531762ca Merge "Add userspace_reboot_log_prop" am: 4119b07d1b am: 250f731efd
Change-Id: I67a4805295396312a3c8aa9f652ae9726c88cfdb
2020-02-10 17:48:10 +00:00
Automerger Merge Worker
92424b8323 Merge "property_contexts: add cache for getDisplayInfo." am: 8b02ee96f1
Change-Id: Ib92ee6f92888cf08298140e1186a3bd425805c9d
2020-02-10 17:40:21 +00:00
Automerger Merge Worker
250f731efd Merge "Add userspace_reboot_log_prop" am: 4119b07d1b
Change-Id: Id2fc710764841f92d7640bfe306d7ab59784a69d
2020-02-10 17:34:12 +00:00
Tim Murray
e61c1c98f6 property_contexts: add location cache
Add support for isLocationEnabledForUser caching.

Test: location cache works
Bug: 140788621
Change-Id: Ic42da5ce770b21ff2304dec176b8761aed75ea20
2020-02-10 09:33:44 -08:00
Treehugger Robot
8b02ee96f1 Merge "property_contexts: add cache for getDisplayInfo." 2020-02-10 17:29:04 +00:00
Nikita Ioffe
4119b07d1b Merge "Add userspace_reboot_log_prop" 2020-02-10 17:22:03 +00:00
Automerger Merge Worker
816bc88707 [automerger skipped] Merge "Reland: Rework platform version to hide codenames." am: d21ecebb27 am: 4d83a33d41 am: dd55cc6f03 -s ours
am skip reason: Change-Id I257ca42672e4712841c90b0608202c846bda628c with SHA-1 afa84c96ac is in history

Change-Id: I34d305020440bd75f41c96ee15fd376da3091d85
2020-02-10 16:49:07 +00:00
Automerger Merge Worker
dd55cc6f03 Merge "Reland: Rework platform version to hide codenames." am: d21ecebb27 am: 4d83a33d41
Change-Id: Ifd82439f5517bfb96c1dd8993a065c928fae45a8
2020-02-10 16:33:51 +00:00
Automerger Merge Worker
4d83a33d41 Merge "Reland: Rework platform version to hide codenames." am: d21ecebb27
Change-Id: Ib58bd7a62f077e4efae7a6b40cba38507de52f47
2020-02-10 16:22:30 +00:00
Treehugger Robot
d21ecebb27 Merge "Reland: Rework platform version to hide codenames." 2020-02-10 15:58:38 +00:00