Commit graph

11223 commits

Author SHA1 Message Date
Eddie Lan
2d4071ca8c Merge "Add sepolicy for fpc AIDL HAL" into sc-dev 2021-05-03 03:48:40 +00:00
TreeHugger Robot
e72dd4fc97 Merge "Provide fastbootd permissions to invoke the set_active command" into sc-dev am: 1256869c5c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14391698

Change-Id: I7c45dee73fa499b2188126ec642c64e6921a6999
2021-05-03 03:36:00 +00:00
TreeHugger Robot
fdbbf28fa0 Merge "Provide fastbootd permissions to invoke the set_active command" into sc-dev am: 1256869c5c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14391698

Change-Id: I496ba2c956296cc09ef3115fafe5d6c1af589b5e
2021-05-03 03:31:35 +00:00
TreeHugger Robot
d9ca54da9b Merge "Provide fastbootd permissions to invoke the set_active command" into sc-dev am: 1256869c5c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14391698

Change-Id: Ied6ebf69ba45c5a50a9ba35703b1cee14c31fa05
2021-05-03 03:31:31 +00:00
TreeHugger Robot
1256869c5c Merge "Provide fastbootd permissions to invoke the set_active command" into sc-dev 2021-05-03 03:19:23 +00:00
Taehwan Kim
33cd75bcf0 use debug.stagefright.ccodec_delayed_params am: 730c5679fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14234769

Change-Id: I9ba0910c78b4a94452df01c0b9d14e9bba33df1a
2021-05-03 02:55:39 +00:00
Taehwan Kim
730c5679fb use debug.stagefright.ccodec_delayed_params
Bug: 184611625
Test: android.media.cts.DecoderTest#testVp9Hdr10PlusMetadata
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib6d28d0bc7b7c17a4aaf8690f8ca9493065c9236
2021-05-03 02:37:04 +00:00
Hridya Valsaraju
1711a2d5c7 Provide fastbootd permissions to invoke the set_active command
These permissions fix the following denials:
[   66.641731][   T59] audit: type=1400 audit(1619815760.952:17): avc:
denied  { open } for  pid=360 comm="fastbootd" path="/dev/block/sdd1"
dev="tmpfs" ino=416 scontext=u:r:fastbootd:s0
tcontext=u:object_r:devinfo_block_device:s0 tclass=blk_file permissive=1
[   66.664509][   T59] audit: type=1400 audit(1619815760.952:18): avc:
denied  { write } for  pid=360 comm="fastbootd" name="sdd1" dev="tmpfs"
ino=416 scontext=u:r:fastbootd:s0
tcontext=u:object_r:devinfo_block_device:s0 tclass=blk_file permissive=1
[   66.686431][   T59] audit: type=1400 audit(1619815760.952:19): avc:
denied  { read write } for  pid=360 comm="fastbootd"
name="boot_lun_enabled" dev="sysfs" ino=57569 scontext=u:r:fastbootd:s0
tcontext=u:object_r:sysfs_ota:s0 tclass=file permissive=1
[   66.708623][   T59] audit: type=1400 audit(1619815760.952:20): avc:
denied  { open } for  pid=360 comm="fastbootd"
path="/sys/devices/platform/14700000.ufs/pixel/boot_lun_enabled"
dev="sysfs" ino=57569 scontext=u:r:fastbootd:s0
tcontext=u:object_r:sysfs_ota:s0 tclass=file permissive=1
[   56.680861][   T59] audit: type=1400 audit(1619806507.020:10): avc:
denied  { read write } for  pid=357 comm="fastbootd" name="sda"
dev="tmpfs" ino=476 scontext=u:r:fastbootd:s0
tcontext=u:object_r:sda_block_device:s0 tclass=blk_file permissive=0

Test: fastboot set_active
Bug: 185955438
Change-Id: I9339b2a5f2a00c9e1768f479fdeac2e1f27f04bc
2021-04-30 14:37:58 -07:00
TreeHugger Robot
8114fd6b37 Merge "Remove platform certification from imsservice" into sc-dev am: 6a5cfd86f5 am: 0adcb526f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14343989

Change-Id: I06e4f93716fda0ac8b84009ed3308ad7c73a5eaf
2021-04-30 17:15:25 +00:00
TreeHugger Robot
2ab009f72e Merge "Update gs101 sepolicy for contexthub HAL" into sc-dev am: ff7948fc48 am: 5c14296690
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14354723

Change-Id: Ia3db2de242cd75c840f8cf2fa1283e683f9bccd6
2021-04-30 17:15:16 +00:00
TreeHugger Robot
0d8edba50f Merge "Remove platform certification from imsservice" into sc-dev am: 6a5cfd86f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14343989

Change-Id: Ib5bd0d2f54aa7d4133bdfe5ab2ffaf16936716f4
2021-04-30 17:14:29 +00:00
TreeHugger Robot
b33a1a4042 Merge "Remove platform certification from imsservice" into sc-dev am: 6a5cfd86f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14343989

Change-Id: I846fdc99e252a3af2f9307e4e988f16d5eaa4b4c
2021-04-30 17:12:29 +00:00
TreeHugger Robot
0adcb526f5 Merge "Remove platform certification from imsservice" into sc-dev am: 6a5cfd86f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14343989

Change-Id: I6c66e6103c284a46e57efb5760226139e8e2a965
2021-04-30 17:01:41 +00:00
TreeHugger Robot
6a5cfd86f5 Merge "Remove platform certification from imsservice" into sc-dev 2021-04-30 16:55:56 +00:00
TreeHugger Robot
5c14296690 Merge "Update gs101 sepolicy for contexthub HAL" into sc-dev am: ff7948fc48
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14354723

Change-Id: Ibba6e73ddecc5a7984dc59900f256ad9a1ff114f
2021-04-30 16:54:08 +00:00
Anthony Stange
b3961e9b0f Switch back to generic contexthub HAL am: b764d48dd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14353483

Change-Id: I3dfba6b534d8893ee65f752f3d407153e9a642db
2021-04-30 16:52:14 +00:00
TreeHugger Robot
2d1988d06d Merge "Update gs101 sepolicy for contexthub HAL" into sc-dev am: ff7948fc48
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14354723

Change-Id: I5d18bfc7ec389676856b19c0d78b88bafb185f85
2021-04-30 16:52:14 +00:00
TreeHugger Robot
81e7e0d374 Merge "Update gs101 sepolicy for contexthub HAL" into sc-dev am: ff7948fc48
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14354723

Change-Id: I2c1056d41a703ebc09ae20ee5b196da88ae3a34a
2021-04-30 16:49:38 +00:00
Anthony Stange
b764d48dd4 Switch back to generic contexthub HAL
Now that USF can support the default fragment size, we can migrate back
to the generic HAL.

Bug: 168941570
Test: Load nanoapp via HAL
Change-Id: I8ddf892cd7c702ab2a549cfff521b24aadd6cf2c
2021-04-30 16:34:37 +00:00
TreeHugger Robot
ff7948fc48 Merge "Update gs101 sepolicy for contexthub HAL" into sc-dev 2021-04-30 16:34:37 +00:00
Aaron Ding
13b4ecb8af do not mount the debugfs on user builds am: 254e03a21c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14310449

Change-Id: I50cbb04804aa392e3977bf61af9c54533995e6ab
2021-04-30 01:23:20 +00:00
Aaron Ding
254e03a21c do not mount the debugfs on user builds
keep debugfs on userdebug and factory builds

Bug: 184801854
Change-Id: I6b4b7428b011a87a93d48af63f8dafc2c5d96e23
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-04-30 00:56:07 +00:00
TreeHugger Robot
b93162946f Merge "sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes" into sc-dev am: c134ed985a am: 521d0635f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14357213

Change-Id: Ie9b502d89ed42909718e2672b9c6a9698778f6df
2021-04-29 23:44:10 +00:00
TreeHugger Robot
521d0635f1 Merge "sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes" into sc-dev am: c134ed985a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14357213

Change-Id: Idd9f94fa544f5a2248cc68f8bb93e1bd155fb8f0
2021-04-29 23:14:57 +00:00
TreeHugger Robot
56305a9427 Merge "sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes" into sc-dev am: c134ed985a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14357213

Change-Id: I3baf533b80ea3e44e0e8e4ee91a8c985bec93a58
2021-04-29 23:07:38 +00:00
TreeHugger Robot
61f2e4ad4a Merge "sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes" into sc-dev am: c134ed985a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14357213

Change-Id: Ie77154a8220419986654f288ece820c1edc56606
2021-04-29 23:07:37 +00:00
Daniel Mentz
a7fff8d9ab init.insmod.gs101.cfg: Remove non-existent modules am: 0278f84cf8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14356848

Change-Id: I181edb0251f653119c78c222306e3bf426908e41
2021-04-29 23:02:14 +00:00
Lucas Dupin
ae1a872017 Enable blurs am: 52cc3f23c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14297682

Change-Id: I77b0f581a5791d2e77208a71b165f4a809fb7465
2021-04-29 23:01:39 +00:00
TreeHugger Robot
c134ed985a Merge "sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes" into sc-dev 2021-04-29 22:48:22 +00:00
Daniel Mentz
0278f84cf8 init.insmod.gs101.cfg: Remove non-existent modules
Remove three .ko files that appear to no longer exist.

Bug: 169367087
Change-Id: Id570163404454dbcbe03a9d29ecdc640bdc6b356
2021-04-29 22:47:03 +00:00
Lucas Dupin
52cc3f23c6 Enable blurs
Test: manual
Bug: 181092919
Change-Id: I23a50b195b6aada354213f767483eeeab15263a7
2021-04-29 22:44:12 +00:00
TreeHugger Robot
5757ee6b22 Merge "change persist.camera to persit.vendor.camera" into sc-dev am: 2c4b0fd96a am: 52ba04007b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14356785

Change-Id: I3f4322bae0bf65813cc63d2cf3e664f6d2ffc582
2021-04-29 22:14:24 +00:00
TreeHugger Robot
82f13cbf48 Merge "change persist.camera to persit.vendor.camera" into sc-dev am: 2c4b0fd96a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14356785

Change-Id: Id34f09b33da5cc62d6958fe3fad3952b5cd319a7
2021-04-29 21:46:21 +00:00
TreeHugger Robot
52ba04007b Merge "change persist.camera to persit.vendor.camera" into sc-dev am: 2c4b0fd96a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14356785

Change-Id: Idb7fed4b35a5342936aa4247c79a20077ca82083
2021-04-29 21:44:32 +00:00
TreeHugger Robot
43c5bf6ed6 Merge "change persist.camera to persit.vendor.camera" into sc-dev am: 2c4b0fd96a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14356785

Change-Id: I8ece2241cea3bf27a1fa7294b29703f56030f27f
2021-04-29 21:42:50 +00:00
Oleg Matcovschi
963848fdaa sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes
Bug: 186788772
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I9cc44571eb5c8f52d6307bff9cb77f08712c5404
2021-04-29 14:34:55 -07:00
TreeHugger Robot
2c4b0fd96a Merge "change persist.camera to persit.vendor.camera" into sc-dev 2021-04-29 21:26:12 +00:00
Nicole Lee
9cb0e4dd12 init: grant read permission of always-on log for others am: 7311968443
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14339396

Change-Id: If8f4a02a2539f12689a2ab243750ccde8353629d
2021-04-29 21:01:20 +00:00
Alec Mouri
7dc89b7a4c Revert "Revert "Enable SurfaceFlinger Cache by default"" am: eee30bde78
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14341553

Change-Id: I54a3367740f7ba638f80523a2126f6063e4d4428
2021-04-29 21:01:14 +00:00
Nicole Lee
7311968443 init: grant read permission of always-on log for others
Bug: 186619367
Change-Id: Ie70d9c97d95f4cc90bc3d66d1309087dc3f148e5
2021-04-29 20:42:44 +00:00
Alec Mouri
eee30bde78 Revert "Revert "Enable SurfaceFlinger Cache by default""
This reverts commit 51c9d02193.

Reason for revert: Blocking flicker issues have been fixed.

Bug: 185398025

Change-Id: Ib712967e932cfcce3feca781731aba8264734dcd
2021-04-29 20:26:06 +00:00
Lida Wang
bb7ae85a0d change persist.camera to persit.vendor.camera
Bug: 186670529
Change-Id: I3a6d4202ec2b90cc0ce9cc9ba62d2cf2ce3a5c29
2021-04-29 13:18:01 -07:00
Sean Callanan
08a1299283 Enable Gralloc ion sync am: 13c4abd67c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13999058

Change-Id: I99ee5d462497f922fa55c2c668b84f8ab62a73f7
2021-04-29 17:14:25 +00:00
Anthony Stange
836f25d64b Update gs101 sepolicy for contexthub HAL
Bug: 168941570
Test: Load nanoapp via HAL
Change-Id: If133a3290e4fc02677523d737980ee5944885c36
2021-04-29 16:59:36 +00:00
TreeHugger Robot
25566f87c3 Merge "Add sepolicy for sensor HAL to read lhbm" into sc-dev am: 7a4cd3a6e0 am: 18525b89e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14299201

Change-Id: Icac3459a27db13bec70cfbeeca2198a29e85aec1
2021-04-29 16:58:00 +00:00
Sean Callanan
13c4abd67c Enable Gralloc ion sync
Gralloc ion sync enables a cache sync when Gralloc buffers are
unlocked.  Buffers the GPU wrote don't need this, but buffers the
CPU wrote do.

Bug: 183735780
Test: RealCalc
Change-Id: I67a9ee15b172fb11d262c41723404c5b9cafde82
2021-04-29 16:55:16 +00:00
TreeHugger Robot
18525b89e6 Merge "Add sepolicy for sensor HAL to read lhbm" into sc-dev am: 7a4cd3a6e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14299201

Change-Id: Ib1331ad73723ea5518f0e80d0a52f64d008255a8
2021-04-29 16:33:03 +00:00
TreeHugger Robot
0071fe0bc0 Merge "Add sepolicy for sensor HAL to read lhbm" into sc-dev am: 7a4cd3a6e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14299201

Change-Id: I9bb9d0d61ba1cf7525c0231e5177318501c5d0ae
2021-04-29 16:31:59 +00:00
TreeHugger Robot
04b1f2cdec Merge "Add sepolicy for sensor HAL to read lhbm" into sc-dev am: 7a4cd3a6e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14299201

Change-Id: I92d60c2f1f068b48df1b10ff852858b560127dfe
2021-04-29 16:31:33 +00:00
samou
52b0fd23ff powerstats: Add TPU EnergyConsumer power attribution am: 513c4afaa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14211586

Change-Id: I42d766828121cae87649b19b700e622cbefa6874
2021-04-29 16:30:24 +00:00