Priyanka Advani
4c6f1b0a81
Revert "sepolicy: Allow PixelGnss to connect to Chre HAL"
...
Revert submission 27007604-pps_topic
Reason for revert: Droid-monitor created revert due to breakages in b/338407263. Will be verifying through ABTD before submission.
Reverted changes: /q/submissionid:27007604-pps_topic
Change-Id: Ib66d30e7de4fe1880296d2c66a99c2e941c96135
2024-05-02 16:28:07 +00:00
Cheng Chang
c4d1594131
sepolicy: Allow PixelGnss to connect to Chre HAL
...
avc: denied { call } for scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0
Bug: 330120749
Test: Verify PixelGnss HAL can connect to Chre HAL.
Test: Function test verification b/330120749.
Test: b/330120749#comment24 health boot check.
Test: b/330120749#comment25 health boot check.
Change-Id: I051cc19407ba168fadea4d51ed4aa1527e414bb7
2024-04-25 07:49:16 +00:00
Achigo Liu
c989d47ad9
Revert "Allow vendor_init to move tasks"
...
Revert submission 26931570-cpuset_system_group
Reason for revert: b/335346990 suspend/resume ramdump or black screen
Reverted changes: /q/submissionid:26931570-cpuset_system_group
Change-Id: Ib505a519b519bf8c907ca9f5973d01a2f00bd841
2024-04-17 09:35:53 +00:00
Rick Yiu
6122e05a50
Allow vendor_init to move tasks
...
To move tasks to cpuset system group.
Bug: 328210236
Test: build pass
Change-Id: I9336ec8922cbfed496ef37df73e3ecdf83a98584
2024-04-15 14:26:29 +00:00
Jenny Ho
a81b52aeb8
Merge "sepolicy: allow pixelstats to access maxfg_history" into 24D1-dev
2024-04-15 00:56:21 +00:00
Jenny Ho
b078a0eeca
sepolicy: allow pixelstats to access maxfg_history
...
to dump secondary battery history for dual battery projects:
avc: denied { read } for name="maxfg_history" dev="tmpfs" ino=1127 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
Bug: 333952062
Change-Id: I072db3adff63c63ebbb5b1ba4dabfccfe3d6adac
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-04-12 00:25:11 +00:00
Martin Liu
8c4445390a
allow vendor init to access percpu_pagelist_high_fraction
...
Bug: 333838316
Test: boot
Change-Id: I4b29278c4a7be10609e0aaafe99603d4762f64b6
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-11 15:03:58 +00:00
Treehugger Robot
e661ebabc8
Merge "allow vendor init to access compaction_proactiveness" into 24D1-dev
2024-04-11 13:33:33 +00:00
Martin Liu
1270b7766d
allow vendor init to access compaction_proactiveness
...
Bug: 332916849
Test: boot
Change-Id: Id640b5ae489e003e9b3bad6054f415f3742832c5
Merged-In: Id640b5ae489e003e9b3bad6054f415f3742832c5
Signed-off-by: Martin Liu <liumartin@google.com>
2024-04-11 02:56:26 +00:00
Aswin Sankar
bab1ea9e7b
Merge "Add telephony_modemtype_prop to GRIL service" into 24D1-dev
2024-04-10 22:56:52 +00:00
Cheng Chang
a1d7364f1f
Merge "sepolicy: sysfs to gnssif/wakeup node" into 24D1-dev
2024-04-10 03:28:56 +00:00
Aswin Sankar
aa139f50d2
Add telephony_modemtype_prop to GRIL service
...
Bug:315993263
Test: Manual test with GRIL changes to read out
SystemProperty("telephony.ril.modem_bin_status").
Change-Id: I67303f1410e5dfb4472185210f41437be01d473b
2024-04-09 13:28:42 -07:00
Treehugger Robot
8804ef12db
Merge "display: low-light blocking zone support" into 24D1-dev
2024-04-04 02:46:42 +00:00
cweichun
0b6fd93f3e
display: low-light blocking zone support
...
Bug: 315876417
Test: verify the functionality works
Change-Id: I8de35ac0685c9b5b07385001479906a84901b347
2024-04-02 15:25:43 +00:00
Cheng Chang
cdd424134a
sepolicy: sysfs to gnssif/wakeup node
...
avc: denied { read } for comm="binder:459_2" name="wakeup2" dev="sysfs" ino=54040 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
Bug: 329334328
Test: abtd under b/329334328 device-boot-health-check-extra.
Test: boot and check logcat avc.
Change-Id: If0e95efee521d15928648d1042f87d02fd41c637
2024-04-02 09:07:26 +00:00
Spade Lee
aac2240ca4
sepolicy: allow kernel to search vendor debugfs
...
audit: type=1400 audit(1710259012.824:4): avc: denied { search } for pid=128 comm="kworker/3:1" name="max77779fg" dev="debugfs" ino=24204 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=dir permissive=0
audit: type=1400 audit(1710427790.680:2): avc: denied { search } for pid=10 comm="kworker/u16:1" name="gvotables" dev="debugfs" ino=10582 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_votable_debugfs:s0 tclass=dir permissive=1
audit: type=1400 audit(1710427790.680:3): avc: denied { search } for pid=211 comm="kworker/u16:4" name="google_charger" dev="debugfs" ino=16673 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_charger_debugfs:s0 tclass=dir permissive=1
Bug: 328016570
Bug: 329317898
Test: check all debugfs folders are correctly mounted
Change-Id: Ib25cc13a329b40bebe87fab43e955e2e4395de9e
Signed-off-by: Spade Lee <spadelee@google.com>
2024-04-02 07:35:39 +00:00
Treehugger Robot
b07155593f
Merge "Allow modem_svc to access modem files and perfetto" into 24D1-dev
2024-03-29 07:01:36 +00:00
Shiyong Li
a06f6749c8
Merge "Label te2_rate_hz and te2_option as sysfs_display" into 24D1-dev
2024-03-28 21:10:16 +00:00
Priyanka Advani
3f268ee8a9
Merge "Revert "sepolicy: Allow PixelGnss to connect to Chre HAL"" into 24D1-dev
2024-03-28 20:01:53 +00:00
Priyanka Advani
7299abaa81
Revert "sepolicy: Allow PixelGnss to connect to Chre HAL"
...
Revert submission 26593083-lassen_pps
Reason for revert: Culprit for test breakages in b/331680556. Will be verifying through ABTD for confirmation and before submitting the revert.
Bug: b/331680556
Reverted changes: /q/submissionid:26593083-lassen_pps
Change-Id: I64487bc049ac7aa53b5bff461a033f70428ab6a9
2024-03-28 19:54:08 +00:00
Hungyen Weng
1a1679c87e
Allow modem_svc to access modem files and perfetto
...
Bug: 330730987
Test: Confirmed that modem_svc is able to access token db files in modem partition
Test: Confiemed that modem_svc can send traces to perfetto
Change-Id: Iaff263b1052cb565ffee30e442ee3c5824f35db9
(cherry picked from commit b5b20910e8
)
2024-03-28 01:38:00 +00:00
Chris Lu
2c3dc0c668
Label te2_rate_hz and te2_option as sysfs_display
...
Bug: 307787644
Test: Check the files label: adb shell ls -Z
Change-Id: Iab036b86b6d0c28191212a3ac10be6ddb5dcbd2b
2024-03-28 00:31:25 +00:00
WeiChungChang
c46f6cf333
display: create entity_name property
...
HWC should designate the entity name 'Inner-Display'
for the primary display in cases of dual panels.
Bug: 329370514
Test: verify powerstats for dual panel devices
Change-Id: I284ff460709da6a8cb48a35bf2b805ea3d09c990
2024-03-26 22:40:54 +00:00
Cheng Chang
3d57c4ee96
Merge "sepolicy: Allow PixelGnss to connect to Chre HAL" into 24D1-dev
2024-03-25 12:51:10 +00:00
Cheng Chang
79e12fe426
sepolicy: Allow PixelGnss to connect to Chre HAL
...
avc: denied { call } for scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0
Bug: 316227249
Test: Verify PixelGnss HAL can connect to Chre HAL.
Test: Function test verification b/330120749 without disable selinux.
Test: No avc error log in logcat.
Change-Id: I7f6a45cd80c7ccbba2af1a0d3f3d89f30267db00
2024-03-25 06:59:51 +00:00
Sam Ou
69b8799f82
Merge "sepolicy: fix odpm scale value path" into 24D1-dev
2024-03-25 02:35:28 +00:00
samou
8ff89c21d0
sepolicy: fix odpm scale value path
...
Extend odpm sysfs path to cover the
different startup sequence.
Bug: 330815850
Change-Id: Ifd346f379b71c790e175e08e74398bae0c0417df
Signed-off-by: samou <samou@google.com>
2024-03-22 10:38:08 +00:00
derickhong
1f38fe473a
Update SELinux error
...
Bug: 326869289
Test: adb shell dmesg | grep avc ; adb logcat -d | grep avc
Change-Id: I57090ee64cafc5c2a9d98ec02152fdc9eb495591
2024-03-20 07:39:32 +00:00
Tim Lin
d0b2833cac
Merge "allow GRIL native to read modem type" into 24D1-dev
2024-03-12 04:00:43 +00:00
Zheng Pan
e29dd9a08b
Merge "Move display properties from tracking_denials to vendor" into 24D1-dev
2024-03-11 21:04:14 +00:00
Yabin Cui
f5490aab33
Merge "Add SOC specific ETE sysfs paths" into 24D1-dev
2024-03-08 19:14:12 +00:00
John Chang
46d2322311
Move display properties from tracking_denials to vendor
...
Bug: 328001545
Test: Test MRR Version 2 is properly configured
Change-Id: Ib586398670b21bb88cd122647880149daa628d0d
2024-03-08 16:32:30 +00:00
timtmlin
f64d18749f
allow GRIL native to read modem type
...
telephony.ril.modem_bin_status is set by CBD
Bug: 328148438
Test: check GRIL requests at TN modem and NTN modem
Change-Id: I5a3265a89ff365fd5ae1f49a452b3abf73461c7c
2024-03-08 23:30:03 +08:00
John Chang
ff239639f8
display: change vrr.enabled to xrr.version
...
Bug: 328001545
Test: Test MRR Version 2 is properly configured
Change-Id: I02291bb537fe5a09ab8a1aa755426f45465883a9
2024-03-07 22:19:51 +00:00
Yabin Cui
af6b895528
Add SOC specific ETE sysfs paths
...
Bug: 321061072
Test: run profcollectd on device
Change-Id: I7eb39a5e9f586e36edd11679b0988af2ff6b986b
2024-03-06 11:06:13 -08:00
Treehugger Robot
4d305706a5
Merge "add dsim wakeup labels" into main
2024-02-28 03:59:20 +00:00
Peter Lin
f88ffce8c7
add dsim wakeup labels
...
Bug: 321733124
test: ls sys/devices/platform/19440000.drmdsim/19440000.drmdsim.0/wakeup -Z
Change-Id: I28bc16f23478131dfecf2ad61b306ce9ae1e2767
2024-02-27 12:59:04 +00:00
Thiébaud Weksteen
8816a77795
Merge "Revert^2 "Remove persist.bootanim.color property definitions"" into main
2024-02-26 22:40:44 +00:00
Jack Wu
85aa1cb4b1
dontaudit on dir search for vendor_charger_debugfs
...
Bug: 326869335
Test: make selinux_policy
Change-Id: I22623dd1c47a431233eb6666dbe37fa2d9aa73a3
Signed-off-by: Jack Wu <wjack@google.com>
2024-02-26 21:10:51 +08:00
Wilson Sung
348e64ecce
Update SELinux error
...
Test: SELinuxUncheckedDenialBootTest
Bug: 326869289
Bug: 326869335
Test: scanBugreport
Bug: 326869823
Test: scanAvcDeniedLogRightAfterReboot
Bug: 326869239
Change-Id: I8b245d769ae91c2f3f3d2dd7cfb1b8eebb83dd22
2024-02-26 08:37:54 +00:00
Thiébaud Weksteen
52478ef92b
Revert^2 "Remove persist.bootanim.color property definitions"
...
110b7705a1
Change-Id: I9e49db39f15479083e6187f1db17af084441ff04
2024-02-25 23:59:49 +00:00
Chi Zhang
9de082ad52
Merge "Allow GRIL to get IRQ counts." into main
2024-02-23 22:07:01 +00:00
Rubin Xu
bdc3b23756
Merge "Revert "Remove persist.bootanim.color property definitions"" into main
2024-02-23 12:42:52 +00:00
Rubin Xu
110b7705a1
Revert "Remove persist.bootanim.color property definitions"
...
Revert submission 26301396-bootanim_prop
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.corp.google.com/quarterdeck/?branch=git_main&target=sdk_goog3_x86_64-trunk_staging-userdebug&lkgb=11487950&lkbb=11488141&fkbb=11488141
Bug: 326521604
Reverted changes: /q/submissionid:26301396-bootanim_prop
Change-Id: Idfb848f2a4df8191c867aedfd4ec24f18de1b1ad
2024-02-23 12:26:04 +00:00
Thiébaud Weksteen
7c18ffbf3e
Merge "Remove persist.bootanim.color property definitions" into main
2024-02-23 02:59:57 +00:00
Mahesh Kallelil
61360c6fd3
Merge "radio: Add PCIe dyn speed sysfs nodes to sysfs_modem" into main
2024-02-22 04:00:47 +00:00
Hasan Awais
3a14cdf8df
Merge "Remove hal_uwb_default selinux bug map entry" into main
2024-02-21 17:35:56 +00:00
Mahesh Kallelil
4118c09b83
radio: Add PCIe dyn speed sysfs nodes to sysfs_modem
...
Allow modem_svc to write to the cpif sysfs files for PCIe dynamic
speed feature control.
Test: Tested with property change on device
Bug: 256247132
Change-Id: I1117ebf15ff4546cdd3a4bf0a653a46d39a8b59c
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
2024-02-20 22:56:57 -08:00
Thiébaud Weksteen
1045d8943c
Remove persist.bootanim.color property definitions
...
These now belong to the platform policy.
Bug: 321088135
Test: build
Change-Id: I98f41827a94defc3122db88275bed51576c9f3f0
2024-02-21 13:48:01 +11:00
Treehugger Robot
4f275afd4e
Merge "moving charger nodes to user build" into main
2024-02-21 02:01:55 +00:00