Adam Shih
c676225fef
enforce debugfs constraint on user build
...
Bug: 225815474
Test: build pass
Change-Id: I6507e784b3597220920f59d969bbeafdd199174b
2022-03-24 01:05:18 +00:00
Yabin Cui
287a45f6fd
[automerger skipped] Add SOC specific ETM sysfs paths am: 02c1ef8b85
am: f387f3dcd3
-s ours
...
am skip reason: Merged-In I10c8d250cf88b371ee573561d6678fc24f4e440c with SHA-1 02c1ef8b85
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17324045
Change-Id: If8737a8f9e654963177c42525323f027db12c1eb
2022-03-23 20:24:44 +00:00
Yabin Cui
045878aa5a
[automerger skipped] Add SOC specific ETM sysfs paths am: 02c1ef8b85
-s ours
...
am skip reason: Merged-In I10c8d250cf88b371ee573561d6678fc24f4e440c with SHA-1 278d110fba
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17324045
Change-Id: If8f338bccdb77ccd0cfce338e52f9870996c9dfd
2022-03-23 20:09:10 +00:00
Yabin Cui
f387f3dcd3
Add SOC specific ETM sysfs paths am: 02c1ef8b85
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17324045
Change-Id: I0e5889c043eaea6827d91423c3adfc14073ea289
2022-03-23 20:07:38 +00:00
Yabin Cui
02c1ef8b85
Add SOC specific ETM sysfs paths
...
Bug: 225403280
Test: run profcollectd on c10
Change-Id: I10c8d250cf88b371ee573561d6678fc24f4e440c
Merged-In: I10c8d250cf88b371ee573561d6678fc24f4e440c
2022-03-23 19:45:48 +00:00
Martin Liu
b8b02bc357
set swiotlb as noforce
...
As dma devices are 36bit bounded, we don't need SWIOTLB
bounce buffers. Set swiotlb=noforce to disable this and
make the minimum amount of memory allocation.
Bug: 207573157
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I21eac64f57505c14e12fed50980aad4d818b34cb
2022-03-23 17:08:18 +08:00
George Lee
586c4699e9
[automerger skipped] health: Grant sysfs_thermal access to health am: 17981f9fc0
am: 8e5d012c72
-s ours
...
am skip reason: Merged-In I4d9491862ff1bcc88f89b1478497ac569e3d1df1 with SHA-1 5b6a5292c3
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17312309
Change-Id: I08f32a1b663a40921528dabb26e285a6db7ea58d
2022-03-23 05:47:32 +00:00
SalmaxChang
704954b7dd
modem_svc_sit: fix avc error am: ae6f085676
am: 13a0910c39
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17314904
Change-Id: I0a71f49dc8d028d60a77bd2e9c5c31402323a28c
2022-03-23 05:47:25 +00:00
SalmaxChang
70a614ec80
vendor_init: fix avc error am: 6dd3de7813
am: a40641f2da
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17291644
Change-Id: Idff086bac5ca7eb1a2bfa7b0d09705e5f555dd72
2022-03-23 05:47:17 +00:00
George Lee
8e5d012c72
health: Grant sysfs_thermal access to health am: 17981f9fc0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17312309
Change-Id: I88cc6908a9d5062b815f077b8e6c9cb38067d1ce
2022-03-23 05:33:21 +00:00
George Lee
644a47d5a4
[automerger skipped] health: Grant sysfs_thermal access to health am: 17981f9fc0
-s ours
...
am skip reason: Merged-In I4d9491862ff1bcc88f89b1478497ac569e3d1df1 with SHA-1 5b6a5292c3
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17312309
Change-Id: Ibffa6cda778adf0b1a3509e3590c355f61bac5b8
2022-03-23 05:33:07 +00:00
SalmaxChang
13a0910c39
modem_svc_sit: fix avc error am: ae6f085676
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17314904
Change-Id: I3ae7e26013ec250818fee64adedf5e0b568e50c7
2022-03-23 05:33:06 +00:00
SalmaxChang
a40641f2da
vendor_init: fix avc error am: 6dd3de7813
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17291644
Change-Id: I58b4e5d1a0bf09666a0f852f2567605ca021cc1a
2022-03-23 05:33:01 +00:00
SalmaxChang
3ae795cf8b
modem_svc_sit: fix avc error am: ae6f085676
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17314904
Change-Id: I0962f68685aaabc68f74fd001c2b5edcc92ac10e
2022-03-23 05:33:00 +00:00
SalmaxChang
cf09620f3c
vendor_init: fix avc error am: 6dd3de7813
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17291644
Change-Id: Ic7d9db340241626de5f9852e4ddc01bbf6c8b84b
2022-03-23 05:32:52 +00:00
George Lee
17981f9fc0
health: Grant sysfs_thermal access to health
...
health-service has trouble accessing /dev/thermal. This change fixes
this.
Bug: 226009696
Test: dev/thermal/tz-by-name/soc/mode error:Permission denied no longer
exist
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I8d112cb12f3aeb1c8d5433ca69415d0413f070a2
Merged-In: I4d9491862ff1bcc88f89b1478497ac569e3d1df1
2022-03-23 05:30:33 +00:00
SalmaxChang
ae6f085676
modem_svc_sit: fix avc error
...
avc: denied { write } for comm="modem_svc_sit" name="modem_stat" dev="dm-46" ino=333 scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=dir permissive=0
Bug: 225149029
Change-Id: Id1045d9488a200b6c64abbe02cf5e65926ba0203
2022-03-23 05:13:29 +00:00
Luigi Zevola
f51dc49fb7
dumpstate: add additional AoC entries am: b1dadb6889
am: a5ebd22332
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17337551
Change-Id: I7234d57da613c3a1331ee71320b0ef0b5c32e047
2022-03-23 04:03:36 +00:00
Luigi Zevola
a5ebd22332
dumpstate: add additional AoC entries am: b1dadb6889
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17337551
Change-Id: I617c7ca6582c1fd94cc14aedd2d2a49d33f6a474
2022-03-23 03:46:24 +00:00
Luigi Zevola
97476711d0
dumpstate: add additional AoC entries am: b1dadb6889
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17337551
Change-Id: I75880e78091eb016b1bc177496effdf5eae01c54
2022-03-23 03:46:14 +00:00
Android Build Coastguard Worker
321e1a6f28
Snap for 8340981 from 679422da02
to udc-release
...
Change-Id: I9cf38e49d0bc7a28d6b0b2f68c40dac2bb353292
2022-03-23 03:01:11 +00:00
Luigi Zevola
b1dadb6889
dumpstate: add additional AoC entries
...
Add additional AoC Entries to dumpstate to improve debuggability
Bug: 225585054
Test: On P10/C10
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I2c276a0c157e64b3f376c4af1dbe214223a22af7
(cherry picked from commit 1f1958d031
)
2022-03-22 22:51:49 +00:00
Eric Biggers
679422da02
Stop setting vold.post_fs_data_done
...
The "vold.post_fs_data_done" system property was only used by FDE, which
is no longer supported and was never used by this device in the first
place, so there's no need to set this system property.
Bug: 208476087
Change-Id: Iec23cacb35696aebdaa30f47b19c91297eecbb07
2022-03-22 17:41:10 +00:00
Yabin Cui
278d110fba
Add SOC specific ETM sysfs paths
...
Bug: 225403280
Test: run profcollectd on c10
Change-Id: I10c8d250cf88b371ee573561d6678fc24f4e440c
2022-03-22 16:53:23 +00:00
SalmaxChang
6dd3de7813
vendor_init: fix avc error
...
avc: denied { getattr } for comm="init" name="/" dev="sda19" ino=2 scontext=u:r:vendor_init:s0 tcontext=u:object_r:modem_img_file:s0 tclass=filesystem permissive=0
Bug: 225151104
Change-Id: I508aa6b85039edc4b5a8746aaa602f1131768630
2022-03-22 07:57:59 +00:00
Kris Chen
b89f8faaca
Allow hal_fingerprint_default to access fwk_sensor_hwservice am: 997b8974ef
am: 3d1c17ffd7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17288686
Change-Id: Iad8b3eec7c5c9abc23d2df8d09e4b9b3e7b59ccb
2022-03-22 04:15:55 +00:00
Kris Chen
3d1c17ffd7
Allow hal_fingerprint_default to access fwk_sensor_hwservice am: 997b8974ef
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17288686
Change-Id: If57f3542180e8e0af17351c50415a8bab57306e5
2022-03-22 03:59:58 +00:00
Kris Chen
a312c79491
Allow hal_fingerprint_default to access fwk_sensor_hwservice am: 997b8974ef
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17288686
Change-Id: I68502cce84067dd230bec8e4b02491b5f6bb79fd
2022-03-22 03:59:50 +00:00
Peter Csaszar
0f9c31fb33
[automerger skipped] pixel-selinux: Port PRO SJTAG policies to tm-dev am: 466adbb2da
am: 0b35cf6a3b
-s ours
...
am skip reason: Merged-In I5ec50d9ff7cd0e08ade7acce21e73751e93a0aff with SHA-1 4041f814be
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17299051
Change-Id: I89786ea8bd4d67e255a1c03f41fea2dbc57912a6
2022-03-22 03:52:39 +00:00
Roshan Pius
db3c865121
gs-policy: Remove obsolete uwb vendor service rules am: 046601d414
am: d8a25b0f0c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17294749
Change-Id: I662ee5a78965812848a52ecb7afbf2a57c017549
2022-03-22 03:52:15 +00:00
Kris Chen
997b8974ef
Allow hal_fingerprint_default to access fwk_sensor_hwservice
...
Fix the following avc denial:
avc: denied { find } for interface=android.frameworks.sensorservice::ISensorManager sid=u:r:hal_fingerprint_default:s0 pid=1258 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:fwk_sensor_hwservice:s0 tclass=hwservice_manager permissive=0
Bug: 197789721
Test: build and test fingerprint on device.
Change-Id: I7494f28e69e5a1b660dc7fbaa528b1088048723b
(cherry picked from commit 9b54bf3665abce7a6f5f5df22069a8ef081ad80e)
2022-03-22 03:39:35 +00:00
Luigi Zevola
1f1958d031
dumpstate: add additional AoC entries
...
Add additional AoC Entries to dumpstate to improve debuggability
Bug: 225585054
Test: On P10/C10
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I2c276a0c157e64b3f376c4af1dbe214223a22af7
2022-03-22 03:32:31 +00:00
Peter Csaszar
0b35cf6a3b
pixel-selinux: Port PRO SJTAG policies to tm-dev am: 466adbb2da
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17299051
Change-Id: If1cc0d3afa539a104b2ad99b9bebdc18c98bd622
2022-03-22 03:30:37 +00:00
Peter Csaszar
a2a1b7f0a2
[automerger skipped] pixel-selinux: Port PRO SJTAG policies to tm-dev am: 466adbb2da
-s ours
...
am skip reason: Merged-In I5ec50d9ff7cd0e08ade7acce21e73751e93a0aff with SHA-1 4041f814be
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17299051
Change-Id: Ie53882049dae4879e6420ede4961e83681bd0905
2022-03-22 03:30:31 +00:00
Roshan Pius
d8a25b0f0c
gs-policy: Remove obsolete uwb vendor service rules am: 046601d414
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17294749
Change-Id: If87ae2d622842f33f4d71568fcf8918847762ee3
2022-03-22 03:30:17 +00:00
Roshan Pius
8eae925778
gs-policy: Remove obsolete uwb vendor service rules am: 046601d414
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17294749
Change-Id: I5562c289af945a110b2be5280170e0a5b948f6b4
2022-03-22 03:29:57 +00:00
Peter Csaszar
466adbb2da
pixel-selinux: Port PRO SJTAG policies to tm-dev
...
These are the SELinux policies for the sysfs files of the SJTAG
kernel interface for WHI-PRO-based devices, now migrated to the
tm-dev branch. The files are in the following directories:
/sys/devices/platform/sjtag_ap/interface/
/sys/devices/platform/sjtag_gsa/interface/
Bug: 207571417
Bug: 224022297
Signed-off-by: Peter Csaszar <pcsaszar@google.com>
Merged-in: I5ec50d9ff7cd0e08ade7acce21e73751e93a0aff
Change-Id: I56da5763c31ab098859cbc633660897646fe7f3e
2022-03-22 03:17:40 +00:00
Android Build Coastguard Worker
4a7d6561ae
Snap for 8333853 from cb78664adf
to udc-release
...
Change-Id: Ibc606934867a662ff11f4ffe78a4a39550a616d5
2022-03-22 03:01:13 +00:00
Midas Chien
cb78664adf
Move 90hz denylist to vendor am: e5125cb214
am: 0922920a07
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17232291
Change-Id: Ic4a0ccf57dac8c383a48520ec76e6ff599db0cde
2022-03-21 17:45:00 +00:00
Midas Chien
0922920a07
Move 90hz denylist to vendor am: e5125cb214
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17232291
Change-Id: I3633b7258334eda02d6190cce860212342dcac9c
2022-03-21 17:21:57 +00:00
Midas Chien
ac884cc57f
Move 90hz denylist to vendor am: e5125cb214
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17232291
Change-Id: Id444203e5ac5791a46a3d18ff054e6ee1f321c6d
2022-03-21 17:21:34 +00:00
TeYuan Wang
02ba96a2c7
dumpstate: dump cooling device user_vote am: e138cd41be
am: 65469e2a15
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17256671
Change-Id: I63d02849f12350a63ef4aea92a2a78d09856c7af
2022-03-21 17:04:35 +00:00
Midas Chien
e5125cb214
Move 90hz denylist to vendor
...
Bug: 224646131
Change-Id: I66c9dc9b047aaa833f88a3e6162095e6022a92a4
2022-03-21 17:03:34 +00:00
TeYuan Wang
65469e2a15
dumpstate: dump cooling device user_vote am: e138cd41be
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17256671
Change-Id: I2f7baad727de5048d7e3d570c945532f7294c627
2022-03-21 16:45:54 +00:00
TeYuan Wang
7fc5506d95
dumpstate: dump cooling device user_vote am: e138cd41be
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17256671
Change-Id: Ic70db5f849c6f0e7a2a40838924e7652b074175b
2022-03-21 16:45:00 +00:00
TeYuan Wang
e138cd41be
dumpstate: dump cooling device user_vote
...
Bug: 221180075
Test: check dumpstate from bugreport
Change-Id: I68e1d5d3561770714f13ab2560a0533d2cbec243
2022-03-21 16:30:04 +00:00
Roshan Pius
046601d414
gs-policy: Remove obsolete uwb vendor service rules
...
This service no longer exists in the UCI stack.
Bug: 186585880
Test: Manual UWB tests
Change-Id: I279824be6f51470364ad61833b797aa23cbea859
2022-03-21 09:18:28 -07:00
Beverly
c527bc8992
By default, face-auth is non-bypass am: 058774bc73
am: d9c9a30751
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17257647
Change-Id: I45da74d4a2132aee50bf69a8b319aaec80aaba9d
2022-03-21 14:24:35 +00:00
Beverly
ead16fc5c7
By default, face-auth is non-bypass am: 058774bc73
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17257647
Change-Id: I86cfa59d853dec35de7886e1163a4c78931165b2
2022-03-21 14:07:29 +00:00
Beverly
d9c9a30751
By default, face-auth is non-bypass am: 058774bc73
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17257647
Change-Id: Iab785285d7872157d2c30d5ed41303c28c50c3e8
2022-03-21 14:06:56 +00:00