Commit graph

11403 commits

Author SHA1 Message Date
TreeHugger Robot
2099355da8 Merge "Allow power stats HAL read uwb power_stats sysfs node" into sc-dev am: a4d458026a am: 6b2103ed0c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14189309

Change-Id: I56f3c1c21396e97ec839923e98f39852ee9e03f0
2021-05-15 08:01:15 +00:00
Benjamin Schwartz
cbffb84350 Merge "Allow power stats HAL to read gnss stats" into sc-dev am: 948f48997b am: 09c2e2802a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14106551

Change-Id: Ic9409d79e53fa3351b647360461b5814b77a8911
2021-05-15 08:01:11 +00:00
Vova Sharaienko
180b8d1901 Merge "Stats: removed obsolete IStats HIDL sepolicies" into sc-dev am: d7e81afb35 am: 350b5e41c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14192518

Change-Id: I182f4be3960f7bd4e50171c528b379299c452ac6
2021-05-15 08:01:06 +00:00
Chris Lu
72fc27fecf display: remove dontaudit for hal_memtrack_default am: 86582e6ce0 am: bbabdc9504
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14187062

Change-Id: I67bf88fab71c3e85ea40b95c743b682902dd0220
2021-05-15 08:01:02 +00:00
Aaron Tsai
f08421e50c Fix avc denied for Silent Logging am: 204dc05aa4 am: ab5ab00a89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14182163

Change-Id: I06c2be07f444556ca3a8c92be9851d1ee106756d
2021-05-15 08:00:57 +00:00
Adam Shih
c511ea832d Merge "change assigned bug" into sc-dev am: 65355b49a3 am: 6c77867c16
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14167787

Change-Id: Ic99c235648350f5828969a1b64e2c1ca9d937a22
2021-05-15 08:00:53 +00:00
SalmaxChang
069758447d Add more modem properties am: f23a4423c4 am: eac287b429
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14173742

Change-Id: Iff34898b9b49f33638a83ebb763331256f081123
2021-05-15 08:00:49 +00:00
Roshan Pius
348c6e5d96 Uwb: Create a new Uwb system service am: 8119d482ed am: 2b15027412
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14057967

Change-Id: Ib131cb3b4afab98ff67b145379c47df1dec29da7
2021-05-15 08:00:44 +00:00
Ilya Matyukhin
1099e73569 Merge "Add sepolicy for SystemUIGoogle to write to lhbm" into sc-dev am: 75d0cce94f am: d22884d3cd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14105113

Change-Id: I93631396ab0eb49ff336f0eafbb1e2cee14c8c48
2021-05-15 08:00:40 +00:00
Vova Sharaienko
00bef6431e wirelesscharger-adapter: updated sepolicy am: 72f80a3c90 am: b0a79e65a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14176231

Change-Id: I9ced7dc9dbc40eb29bb3832016527037aae79855
2021-05-15 08:00:35 +00:00
TreeHugger Robot
067716b11c Merge "Remove platform certification from imsservice" into sc-dev am: 6a5cfd86f5 am: b33a1a4042
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14343989

Change-Id: Ia5a8036716a4b86017bfa637ac2f7490fc8fa2a9
2021-05-15 07:33:02 +00:00
TreeHugger Robot
268781c624 Merge "Update gs101 sepolicy for contexthub HAL" into sc-dev am: ff7948fc48 am: 81e7e0d374
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14354723

Change-Id: I70e38ecb15a31a294661e2d683583423942a95fb
2021-05-15 07:31:18 +00:00
TreeHugger Robot
4176a39915 Merge "sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes" into sc-dev am: c134ed985a am: 56305a9427
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14357213

Change-Id: Id642e05d205b1f0e78b90178b3a7c63a404c9f24
2021-05-15 07:30:38 +00:00
TreeHugger Robot
b41e03b3a6 Merge "change persist.camera to persit.vendor.camera" into sc-dev am: 2c4b0fd96a am: 82f13cbf48
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14356785

Change-Id: If4861375981b0bd1b74fd2b79af7852cce2f693c
2021-05-15 07:30:35 +00:00
Colin Cross
9715ce3e05 Update manifest_64.xml to match manifest.xml
Update manifest_64.xml for the following changes that were made to
manifest.xml:
I0babd05f17281406af10e4ea2435aca598910d36 Remove android.hardware.drm@1.0 HAL services
Iaafd526fc5a601f7e8189ec764399d99c660beb0 Replace the HIDL with AIDL for "android.hardware.memtrack"
I3f0d35647c0748d360b12d3be078d514f99d23d5 Update dumpstate HAL to V1.1
I9ba18473132f4bfa37a9fe2bbae4bb3dc015cc0e gs101: Remove sensor HAL 1.0 config

Bug: 188239794
Test: m out/target/product/oriole/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log
Change-Id: I92c313f7f31df7193ca8c67f56cd9f1317290948
2021-05-15 05:04:03 +00:00
TreeHugger Robot
a8f126d70c Merge "Add sepolicy for sensor HAL to read lhbm" into sc-dev am: 7a4cd3a6e0 am: 04b1f2cdec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14299201

Change-Id: I53405a3c3d1c593ab4068a796dc9cdf8123ff551
2021-05-15 04:18:27 +00:00
Quinn Yan
e11173811e Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev am: d2558a05b3 am: 5145ae8e4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14506028

Change-Id: I49d65fc12932e44d8bed5d2f015d4e7799cae10d
2021-05-14 21:08:26 +00:00
qinyiyan
bfbf29c18c Allows the edgetpu_logging service to write to the edgetpu sysfs.
Test: make selinux_policy -j128
Bug: 151063663
Change-Id: I5ac619b34bb6fb17caa4c00ac62ac6802c776d84
2021-05-14 13:54:04 -07:00
Quinn Yan
5145ae8e4c Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev am: d2558a05b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14506028

Change-Id: I1e474d36cdbd99753f6bce4c38314eff170bb9f1
2021-05-14 20:46:49 +00:00
qinyiyan
f93a35ade9 Update the manifest to switch the TPU NNAPI hal to use AIDL. am: ee23b47c8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14495075

Change-Id: I242dece3fde7ba245755197d4f3ca88021c12c00
2021-05-14 20:44:46 +00:00
Quinn Yan
631206bfa2 Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev am: d2558a05b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14506028

Change-Id: I4e88739fa33b60546468e2856b495ebffe301bab
2021-05-14 20:44:46 +00:00
Quinn Yan
73b67b2d9f Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev am: d2558a05b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14506028

Change-Id: I45981dd19e54cae6d96b6cde5ab33a81d81d222f
2021-05-14 20:44:45 +00:00
Quinn Yan
d2558a05b3 Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev 2021-05-14 20:15:37 +00:00
qinyiyan
d766be009f Update the manifest to switch the TPU NNAPI hal to use AIDL.
Test: Created Forrest build and flashed to phone.
Bug: 187846367
Change-Id: I0764d244ad939de2e5a6580728e528ec28069a93
2021-05-14 20:15:35 +00:00
Tri Vo
ef75692375 gs101: add trusty_metricsd am: 343ada7d27
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14542977

Change-Id: I8b20e465d11e5cf4d50be442935e8f5b3f6820f0
2021-05-14 19:32:44 +00:00
Wei Wang
37eedd3407 Fix permission for vendor_group migration am: 27e8fd62c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14552184

Change-Id: Ib4eb7070c6a1f37c732e0ee8af40334a139ae222
2021-05-14 19:32:23 +00:00
Tri Vo
90496be319 gs101: add trusty_metricsd
Bug: 173423860
Test: m
Change-Id: I149410a9c1ae8d9366f05d61e35fda04eb28d445
2021-05-14 19:23:24 +00:00
Wei Wang
b442e78600 Fix permission for vendor_group migration
Test: build
Bug: 182509410
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I535b93649d1653def108c0407b16a8ae2f4873bd
2021-05-14 19:12:21 +00:00
Kevin DuBois
82408c931b sepolicy: update gpu nnhal file
GPU nnhal needed a file update when update upgrading to 1.3 revision,
modify this so the device uses all the 1.2 rules.

Fixes: 187981206
Test: make sure hal starts
Change-Id: Ie1054fc092f1aa459cd36b6eb0f0a1a5cc032dbc
2021-05-14 10:55:25 -07:00
SHUCHI LILU
218a434cd8 Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be am: 64a1e16887
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: Ia00baf774f5ff6022c01bb15a9b22cfc84eba0ea
2021-05-14 10:10:45 +00:00
SHUCHI LILU
64a1e16887 Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: Icfc220bc3fd65730dd5acba470b504a0ae3114ab
2021-05-14 09:38:29 +00:00
SHUCHI LILU
53f59f5d9b Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: I7f581a8b4372a04bdcb49dea62d2e4c2d4980360
2021-05-14 09:37:01 +00:00
SHUCHI LILU
d081badaa2 Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: I6d37300c7842d194db5ed736eac8137aec105b0e
2021-05-14 09:35:54 +00:00
SHUCHI LILU
60bf6343be Merge "Update avc error on ROM 7358093" into sc-dev 2021-05-14 08:31:59 +00:00
Midas Chien
c5d3b92fe5 Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e am: d2e21ded9a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: I8c1e6dd9ad073cc5c9d9e647215c87b0000d5395
2021-05-14 06:25:06 +00:00
sukiliu
53c9a79002 Update avc error on ROM 7358093
Bug: 188114822
Bug: 188114896
Test: PtsSELinuxTestCases
Change-Id: Ic5e865a921d0db981acfd936e1599a0ab220b975
2021-05-14 14:23:22 +08:00
Midas Chien
d2e21ded9a Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: I44603831dfd836d4c7641ec26dd8081fe64e5316
2021-05-14 06:05:04 +00:00
davidycchen
83ef871951 dumpstate: modify the method for dump touch information am: ea61f9cd27
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14518353

Change-Id: Ia34b1b8606d4ab6fdf2efe328e87db3e1a12cc29
2021-05-14 06:03:14 +00:00
Midas Chien
489478f82e Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: If5dcf3b82fa17accf25704e913f47e450fdb6a94
2021-05-14 06:03:08 +00:00
Midas Chien
dc5e76190b powerhint: Support early wake up DPU via DISPLAY_UPDATE_IMMINENT am: e39d0b5261
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14309301

Change-Id: I10716bbf20bb9edb4acb1901e142468b7e65a41d
2021-05-14 06:03:08 +00:00
Midas Chien
3c7b2a49d5 Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: Ic93bf422660a5423f29807f2b3858d6c5dc75c81
2021-05-14 06:03:07 +00:00
davidycchen
2b65d2e31c dumpstate: modify the method for dump touch information
Use bugreport flag to keep waking up the touch driver instead of
force active flag to prevent the kernel driver from blocking CPU
enter the suspend mode.

Bug: 183466375
Test: touch driver won't block system suspend.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I586173485bd41deac891b7edb366b51a99977434
2021-05-14 05:47:39 +00:00
Midas Chien
b610fd307e Merge "Allowed PowerHAL service access Display node" into sc-dev 2021-05-14 05:47:32 +00:00
Midas Chien
777a57c92a powerhint: Support early wake up DPU via DISPLAY_UPDATE_IMMINENT
This hint is set to indicate that the framework is likely to provide
a new frame soon. Therefore HWC has additional time to exit power
collapse. Set display_update_imminent_timeout_ms align to DPU
hibernation timeout.

Bug: 164411401
Test: systrace, testLayoutCacheLowHitrateFling
Change-Id: Idac388ac8700ed92e9620445a5038af54683df53
2021-05-14 05:47:32 +00:00
qinyiyan
989855def7 Add the TPU AIDL NNAPI HAL to the sepolicy.
Test: Created Forrest build and flashed to phone.
Bug: 187846367
Change-Id: I3ada9ecf3f94a594185049ddb95f13a6853841ba
2021-05-13 22:23:48 -07:00
Manish Varma
b267dfbfb5 Modify file path for i2c devices am: d06d5bdd23
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14540730

Change-Id: Iaf7faf4b001df07d2e9069fbd7013e4865d806cb
2021-05-14 05:23:34 +00:00
Manish Varma
3fd056fb40 Modify file path for i2c devices
Bug: 188078957
Test: Verified using temporary log messages to confirm
file paths are formed correctly as otherwise to test queryMoistureDetectionStatus()
requires some mock circuits.

Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: If5402d5999c77bf5a3431c70d800e50570b87c88
2021-05-14 05:05:26 +00:00
SalmaxChang
4c134fec1b rfsd: fix permission error am: 30b9f8f277 am: 272b4e5590
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14467419

Change-Id: I7f37ffa05f100f10d3a3b63838aa72131e097e6f
2021-05-14 05:01:10 +00:00
SalmaxChang
272b4e5590 rfsd: fix permission error am: 30b9f8f277
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14467419

Change-Id: Ib166093bda7818f7be45468efbefe3df30fb0443
2021-05-14 04:47:35 +00:00
SalmaxChang
febf2cd145 rfsd: fix permission error am: 30b9f8f277
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14467419

Change-Id: I142c8c1c85c8ffb50abf5b5479ea598735255adc
2021-05-14 04:45:43 +00:00