John Chang
2d20db9d65
display: properties of vrr settings
...
Bug: 290843234
Test: verify getprop/setprop after reboot.
Change-Id: I9cf5e2272b6ea9e9bbcf72b4363faf272872e27c
2023-10-10 18:21:54 +00:00
Matthew Sedam
e1b80aa4d5
Merge "Allow CHRE to access the IStats service for the zumapro target" into main
2023-10-09 18:18:57 +00:00
Matthew Sedam
a934af3727
Allow CHRE to access the IStats service for the zumapro target
...
This CL also moves the chre.te file from legacy to vendor.
Bug: 298459533
Test: Use stats service from chre
Change-Id: I6b954983e71b436a0dfef8a50cc2ce352bd14d79
2023-10-06 20:32:43 +00:00
Mike Wang
3c86943cfe
Grant the MDS access to the IPowerStats hal service. am: 72c63096bd
am: 89f3aa07c7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24887460
Change-Id: I7bd685ec1f3f81ea37ae0630aaf162af88323ab5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 17:12:26 +00:00
Mike Wang
89f3aa07c7
Grant the MDS access to the IPowerStats hal service. am: 72c63096bd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24887460
Change-Id: Ifc30437721481db68ead05dd1c98bb4f89e3b0ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 16:24:32 +00:00
Kuen-Han Tsai
92083a0f38
genfs_contexts: Modify USB SELinux policies
...
Add USB wakeup sources sepolicy contexts
Bug: 295128467
Test: Change USB sepolicies and existing tests still pass.
Change-Id: Ic6c693a24c59cc3248d89208268bad6279b50003
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2023-10-04 15:44:47 +08:00
Mike Wang
72c63096bd
Grant the MDS access to the IPowerStats hal service.
...
ref logs:
09-06 10:07:18.006 536 536 I auditd : avc: denied { find } for pid=22543 uid=10225 name=android.hardware.power.stats.IPowerStats/default scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:object_r:hal_power_stats_service:s0 tclass=service_manager permissive=1
09-06 10:07:18.010 22543 22543 I auditd : type=1400 audit(0.0:65): avc: denied { call } for comm="pool-4-thread-1" scontext=u:r:modem_diagnostic_app:s0:c512,c768 tcontext=u:r:hal_power_stats_default:s0 tclass=binder permissive=1 app=com.google.mds
Test: Tested with MDS app and the MDS can get IPowerStats binder and
call the interface.
Bug: 297250368
Change-Id: I7503a86baa01e4391d64f958cd053822de78d8fd
2023-09-28 15:26:21 +00:00
Tai Kuo
a3abd5ad39
Allow regmap debugfs for drivers probed by insmod
...
auditd : type=1400 audit(0.0:731): avc: denied { search } for
comm="modprobe" name="regmap" dev="debugfs" ino=2057
scontext=u:r:insmod-sh:s0 tcontext=u:object_r:vendor_regmap_debugfs:s0
tclass=dir permissive=1 bug=b/274727542
vendor_kernel_boot and vendor_dlkm modules probe by insmod need this.
Move regmap debugfs from legacy/whitechapel_pro/ to vendor/.
Bug: 274727542
Bug: 289012421
Bug: 285343932
Test: ls -d /sys/kernel/debug/regmap/*-0043
Change-Id: I1db7a5a3413467b4e14954d994b071b206fe0300
2023-09-12 16:42:21 +08:00
Hasan Awais
c9a5c03e84
Merge "uwb: add permissions for factory uwb calib file" into main
2023-09-11 21:21:06 +00:00
Tommy Kardach
eb18168d82
Merge "Allow Camera HAL to acquire wake locks" into main
2023-09-11 20:04:11 +00:00
Hasan Awais
3ca2aca558
uwb: add permissions for factory uwb calib file
...
needed for copying the factory calib file from persist to
/data/vendor/uwb, along with converting the file to a valid format
for uwb HAL
Equivalent CL: ag/22980180
Bug: 296108382
Bug: 296108391
Test: local build passed
Change-Id: I576d21433e2d0b958ef876bd42c382dd2061796e
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-09-11 17:36:08 +00:00
Tommy Kardach
4d8b7ddfd6
Allow Camera HAL to acquire wake locks
...
Bug: 298439902
Bug: 298272647
Test: manual flash
Change-Id: Ide1bf19ff54e0ce517722c1a028ac946e87ed787
2023-09-08 09:30:55 -07:00
Wilson Sung
14b4ee2aad
Merge "Correct the SEPolicy owner" into main
2023-09-08 04:07:10 +00:00
Wilson Sung
7974b22abc
Correct the SEPolicy owner
...
Bug: 296187211
Change-Id: I04f78cfd314d499546a624a5ade643a8bc95fb21
2023-09-08 09:51:24 +08:00
Jack Wu
a43564d968
fix incorrect max_secondary path
...
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: I198b7117270ef078c698b2c30f479bcb510d6471
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:10:19 +08:00
Treehugger Robot
fefaa5a45a
Merge "Add the common CS40L26 I2C path" into main
2023-09-06 05:59:54 +00:00
Jack Wu
442592fc0c
move google,charger SELinux config from legacy to vendor
...
Bug: 298923686
Test: no Permission denied while accessing the file node
Change-Id: Idea525f8067dd8d74065bcb128da4b25a04113dc
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-05 17:12:38 +08:00
Tai Kuo
2bbb50d15b
Add the common CS40L26 I2C path
...
Bug: 285343932
Test: No AVC denials for vibration and HAL dumpsys
Change-Id: I5a5baf70696748a19618157cd4e466e5f9ac4fdd
2023-09-04 19:28:45 +08:00
Wilson Sung
a202da5e8a
sepolicy: allows pixelstat to access pca file nodes
...
Bug: 298628728
Test: no Permission denied while accessing the file node
Change-Id: I0a2ffa3eb583775fa8e6dae02367d156152ee386
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 07:14:52 +00:00
Wilson Sung
25a9b1808b
Merge "Remove legacy tracking_denials" into main
2023-09-04 07:07:27 +00:00
Wilson Sung
863d41f6c6
Move vendor to legacy/zuma/vendor
...
Bug: 296187211
Change-Id: I28450565c4ee585060387ad988e7efbb1620eaee
2023-09-04 11:07:29 +08:00
Wilson Sung
eac7ac91c3
Remove legacy tracking_denials
...
Bug: 296187211
Change-Id: I5c400c5ed8daf18b5d9176ab0ffd5d4a5323689a
2023-09-04 03:04:03 +00:00
Luis Delgado de Mendoza
3e84a7d11f
Add sepolicy for chre.wakeup/non-wakeup channels.
...
Somehow this didn't transfer from previous platforms and needs to be added.
Bug: 296209514
Test: presubmits
Change-Id: I9ccaa515e1be3f882868400d25c2617dd4db61b6
2023-08-29 16:09:57 -07:00
Alec Foster
a0a3bf954f
Merge "Add selinux policy for QFP UDFPS." into udc-qpr-dev am: 2ceb44240d
am: adf57ce075
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24558016
Change-Id: I5eb748142276e85ad6780381f1b7a528550c8eb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 06:37:04 +00:00
Alec Foster
adf57ce075
Merge "Add selinux policy for QFP UDFPS." into udc-qpr-dev am: 2ceb44240d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24558016
Change-Id: I3479b9ae9ab922a0a3157bdd422f5078fb80667a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 05:46:19 +00:00
Alec Foster
2ceb44240d
Merge "Add selinux policy for QFP UDFPS." into udc-qpr-dev
2023-08-29 04:56:44 +00:00
Daniel Okazaki
2fd032d1c7
adding zumapro BMS sepolicy entries am: a2e02afde8
am: 29b703b93d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24576031
Change-Id: I92b898c6f7cd252c213d759d47251ec13af9b5b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 03:30:23 +00:00
Zheng Pan
146021afc9
update selinux policy based on new i2c bus id am: 9d124e7ddd
am: 2b6f638ebc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24541565
Change-Id: I3505c7eb5285dd590217579dd80ddfe02b79152b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 03:30:19 +00:00
Daniel Okazaki
29b703b93d
adding zumapro BMS sepolicy entries am: a2e02afde8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24576031
Change-Id: I4c1cef29d96a411accb9f3dce6a5e8399821e1f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 02:39:10 +00:00
Zheng Pan
2b6f638ebc
update selinux policy based on new i2c bus id am: 9d124e7ddd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24541565
Change-Id: If9b8e44605e175d229d56516f9deb191556cfc62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 02:39:07 +00:00
Daniel Okazaki
a2e02afde8
adding zumapro BMS sepolicy entries
...
Bug: 296941196
Test: build/flash/adb bugreport
Change-Id: I97185198f0147c5e7bd836b3e1b7e23284c6fe9b
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-28 19:36:27 +00:00
Alec Foster
8d86f12d0e
Add selinux policy for QFP UDFPS.
...
Bug: 295228935
Test: adb logcat -b events -e avc -d
Test: Fingerprint sensor works.
Change-Id: I22a92d6acdc8b4211bf84f33ab9d7c524f078ebc
2023-08-28 19:36:23 +00:00
Zheng Pan
9d124e7ddd
update selinux policy based on new i2c bus id
...
Bug: 296941196
Test: Check logcat and make sure no permission deny
Change-Id: Ib82ba45c600f940c0253b165fbe2f5676990231f
2023-08-24 22:45:23 +00:00
Wilson Sung
22b1751435
[automerger skipped] Merge "[conflict] Revert "Sync zuma-sepolicy to legacy folder" am: c7a757a4ee
" into udc-qpr-dev-plus-aosp am: 741c9e346f
-s ours
...
am skip reason: Merged-In I3b15b35df4bc40716d0aa757a226c5075c7e29ff with SHA-1 a24345872b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24533025
Change-Id: Idbcac8571adf42799792551ebeb6aabb5c5a41fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 19:29:23 +00:00
Wilson Sung
eb557799fc
[automerger skipped] [conflict] Revert "Sync zuma-sepolicy to legacy folder" am: c7a757a4ee
am: 9fbaf2a8c1
-s ours
...
am skip reason: Merged-In I3b15b35df4bc40716d0aa757a226c5075c7e29ff with SHA-1 a24345872b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24533025
Change-Id: I3ccd04c68d2d693c40b989b282109ca62d630d06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 19:29:20 +00:00
Wilson Sung
bf352e7046
[automerger skipped] Revert "Remove camera duplicate config" am: 880983646a
am: ddbf0e9bbc
-s ours
...
am skip reason: Merged-In I3b15b35df4bc40716d0aa757a226c5075c7e29ff with SHA-1 a24345872b
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24533024
Change-Id: Ib39a81bd4fc75a5603a797682bc1d1bb4f1e1500
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 19:29:17 +00:00
Wilson Sung
741c9e346f
Merge "[conflict] Revert "Sync zuma-sepolicy to legacy folder" am: c7a757a4ee
" into udc-qpr-dev-plus-aosp
2023-08-24 18:39:33 +00:00
Wilson Sung
9fbaf2a8c1
[conflict] Revert "Sync zuma-sepolicy to legacy folder" am: c7a757a4ee
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24526073
Merged-In: I3b15b35df4bc40716d0aa757a226c5075c7e29ff
Change-Id: I9cd7f29563316c50b0c2ea7e8b1aed749f2a1024
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 20:39:44 +08:00
Wilson Sung
ddbf0e9bbc
Revert "Remove camera duplicate config" am: 880983646a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24526072
Merged-In: I3b15b35df4bc40716d0aa757a226c5075c7e29ff
Change-Id: I1c618f8eed5df7429f33a3bda2c2ccb9fd906d79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 20:31:15 +08:00
Wilson Sung
c7a757a4ee
Revert "Sync zuma-sepolicy to legacy folder"
...
This reverts commit 355f0df8fd
.
Bug: 297270938
Merged-In: I3b15b35df4bc40716d0aa757a226c5075c7e29ff
Change-Id: I44cbb1a0ea6248fbc5a4dc3c12e96d2b66a32282
2023-08-24 08:47:01 +08:00
Wilson Sung
880983646a
Revert "Remove camera duplicate config"
...
This reverts commit a9972cfbde
.
Bug:297270938
Merged-In: I3b15b35df4bc40716d0aa757a226c5075c7e29ff
Change-Id: Id9418e2690ca002079d896fd7717bfbb3c607733
2023-08-24 08:46:42 +08:00
Vania Januar
dbe23f1ab5
Revert "Revert^2 commit 2c99c990d3
""
...
This reverts commit 9bd666007d
.
Reason for revert: build break b/297170337
Change-Id: I2459b680bb3153d3d7e0f17761b4a825da942bcc
2023-08-23 12:58:42 +00:00
Treehugger Robot
0e8266341b
Merge changes from topic "296187211" into main
...
* changes:
Remove camera duplicate config
Revert^2 commit 2c99c990d3
"
2023-08-23 11:01:43 +00:00
Wilson Sung
a24345872b
[automerger skipped] Remove camera duplicate config am: a9972cfbde
am: c07954bb70
-s ours
...
am skip reason: Merged-In I030b4f5c59383478355ac2cee8363f45c8101041 with SHA-1 5d2c755531
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24522248
Change-Id: I3b15b35df4bc40716d0aa757a226c5075c7e29ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 10:59:09 +00:00
Wilson Sung
c07954bb70
Remove camera duplicate config am: a9972cfbde
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24522248
Change-Id: I06fe53806a6c11dc1cb7b14026c1265f4e8310a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 10:18:02 +00:00
Wilson Sung
5e2e8df6e9
Remove camera duplicate config
...
Bug: 296187211
Test: make selinux_policy
Merged-In: I030b4f5c59383478355ac2cee8363f45c8101041
Change-Id: I105f5b282c29874b4fb6595fc808f5ae033e75d3
2023-08-23 17:58:51 +08:00
Wilson Sung
9bd666007d
Revert^2 commit 2c99c990d3
"
...
This reverts commit 5d2c755531
.
Bug: 297129706
Change-Id: Ia8301a139559e8abf119a0964d7a06914aacf55e
2023-08-23 17:57:57 +08:00
Wilson Sung
a9972cfbde
Remove camera duplicate config
...
Bug: 296187211
Test: make selinux_policy
Merged-In: I030b4f5c59383478355ac2cee8363f45c8101041
Change-Id: I105f5b282c29874b4fb6595fc808f5ae033e75d3
2023-08-23 16:19:51 +08:00
Chiachang Wang
23853091a3
Merge "Revert commit 2c99c990d3
" into main
2023-08-23 04:55:15 +00:00
Chiachang Wang
5d2c755531
Revert commit 2c99c990d3
...
This reverts commit 2c99c990d3
.
Reason for revert: <Build break>
Change-Id: I030b4f5c59383478355ac2cee8363f45c8101041
2023-08-23 04:16:56 +00:00