John Chang
7baab4b7e7
display: change vrr.enabled to xrr.version
...
Bug: 328001545
Test: Test MRR Version 2 is properly configured
Change-Id: Ide6493d77a6047023f20fbd9c5723a36033e3691
2024-03-06 16:13:39 +00:00
Treehugger Robot
10dcc53e99
Merge "Add AIDL media.c2 into service_contexts" into main
2024-03-05 06:17:02 +00:00
Sungtak Lee
84531ff361
Add AIDL media.c2 into service_contexts
...
Bug: 321808716
Change-Id: I7c79bc46112b8330c6d2a62db030ecc13d1cece4
2024-02-27 18:05:41 +00:00
Treehugger Robot
48a81fa140
Merge "add dsim wakeup labels" into main
2024-02-27 13:14:49 +00:00
Peter Lin
161bbcd1e6
add dsim wakeup labels
...
Bug: 320693841
Bug: 321733124
test: ls sys/devices/platform/19440000.drmdsim/19440000.drmdsim.0/wakeup -Z
Change-Id: Ie99007455ef3879c8ee0aa1fa20801e4baf5e978
2024-02-17 08:11:13 +00:00
Will McVicker
1d8864cdee
Update tcpm i2c sepolicy with new device name
...
The new names fix uninformative kernel wakelock names.
Bug: 315190967
Bug: 323447554
Change-Id: I5e0a4e13484c9886be398782e580313892987e2f
2024-02-16 15:15:55 -08:00
Weizhung Ding
15fda1a501
Add HWC permission to access IStats AIDL
...
avc: denied { call } for scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:r:system_server:s0 tclass=binder permissive=0
Bug: 266898132
Test: Build and check log
Change-Id: I7e5ec165df0d397250b09f5981c1f45aea27bd4c
2024-02-10 02:18:16 +00:00
Treehugger Robot
4e66878b19
Merge "[displayport-stats] add sysfs access permission on Zuma devices." into main
2024-02-09 09:17:34 +00:00
Roy Luo
6c5b44f1bb
hal_usb_impl: Grant read permission to usb overheat files
...
Carried over from WHI PRO setting.
Bug: 307583011
Test: no audit logs
Change-Id: I45bb396f2597a4a8c150ad2975ecfa427d44f2a9
2024-02-07 05:18:41 +00:00
Hongbo Zeng
cfe12763f2
Allow con_monitor_app to read/write the folder /data/vendor/radio
...
Bug: 322266425
Test: after apply the patch, we can see the adum_log/adum_log_old files
are included in dumpstate_board.bin successfully without denial
Change-Id: Ic488a84a1942fbc424b08aa0cbd4d526014152cd
2024-02-02 15:42:31 +00:00
Kyle Tso
98972beada
Allow dump_power to read sysfs directories
...
dump_power needs to read the directories under /sys/class/power_supply.
Bug: 320613177
Bug: 322294676
Change-Id: I7bc55b90d67a1d05bb097955ed632d62535e0f40
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-01-31 07:01:55 +00:00
Daniel Chapin
6a6f65b5e5
Merge "Revert "Allow dump_power to read directories under "/sys/class/p..."" into main
2024-01-25 22:59:25 +00:00
Daniel Chapin
a5df4f07bf
Revert "Allow dump_power to read directories under "/sys/class/p..."
...
Revert submission 25915320-320613177
Reason for revert: Droidfood blocking bug: 322294676
Reverted changes: /q/submissionid:25915320-320613177
Change-Id: I5545dcd73cdce5ae029444c313bf5dc3f642a5c0
2024-01-25 21:44:18 +00:00
Treehugger Robot
ab46db5fef
Merge "Add capacity_headroom
to gpu sysfs" into main
2024-01-24 23:30:45 +00:00
Sean Callanan
d7decd5eee
Add capacity_headroom
to gpu sysfs
...
This allows userspace (notably the power HAL) to apply a boost to GPU
frequency independent of previously measured load.
Bug: 290625326
Test: boot, run modified Power HAL
Change-Id: Ia71266ee751a36a960706ac8aacc7fdefdf8a0f0
2024-01-24 21:46:23 +00:00
Weizhung Ding
3d156c0ad6
[displayport-stats] add sysfs access permission on Zuma devices.
...
Bug: 266898132
Test: Build
Change-Id: I4c5bd4729f837c843668c447abbbe4c34beb3fce
2024-01-24 08:28:40 +00:00
Kyle Tso
4e48a45727
Allow dump_power to read directories under "/sys/class/power_supply"
...
Bug: 320613177
Change-Id: I1a39ddb5fbbf4c62fa5b96e3562b34f2f2091c13
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-01-22 08:52:59 +00:00
Angela Wu
0d32d1c172
Change the type of hw_jpg_device for selinux policy so that the GCA release flavor could access hw_jpg_device
...
Bug: 320410642
Test:m
Change-Id: If77a097b4ca823322ef41b13d6283390dac69d6c
2024-01-16 08:51:05 +00:00
Midas Chien
d6e79769c1
Allow Powerstats service to access refresh rate residency node
...
Bug: 315424658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I86288b4f523b4463a46d710a6556fa6852d4bea0
2024-01-12 13:01:17 +00:00
Inseob Kim
80e1b3708f
Label dtbo_block_device with flag-guarding am: 0c15160cad
am: f817f9b687
am: bd1ea77736
...
Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2903809
Change-Id: I445a175dd8daabc19da05f9d08690955d836f21c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11 04:07:09 +00:00
Inseob Kim
bd1ea77736
Label dtbo_block_device with flag-guarding am: 0c15160cad
am: f817f9b687
...
Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2903809
Change-Id: I88784ab20f5e4a4c97000784e426a446a769777c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-11 03:02:37 +00:00
Inseob Kim
64fd14fdd8
Revert "Label dtbo partition as dtbo_block_device" am: f05143f43c
am: 478449e638
am: 93607ec24a
...
Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2903808
Change-Id: I9b7a68fd405327f22a08b9ba8759a45ee51a8b35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 10:55:30 +00:00
Inseob Kim
93607ec24a
Revert "Label dtbo partition as dtbo_block_device" am: f05143f43c
am: 478449e638
...
Original change: https://android-review.googlesource.com/c/device/google/zuma-sepolicy/+/2903808
Change-Id: Ib54efad23c80ce27e140270759cada42332dd77b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 10:24:49 +00:00
Inseob Kim
0c15160cad
Label dtbo_block_device with flag-guarding
...
Bug: 319035582
Test: run device assignment demo
Change-Id: I813be88391c9ff79d94e504149963160f1d74b2c
2024-01-10 17:02:34 +09:00
Inseob Kim
f05143f43c
Revert "Label dtbo partition as dtbo_block_device"
...
This reverts commit 3773ca269e
.
Reason for revert: b/319035582
Bug: 319035582
Test: boot
Change-Id: I3c2a5b5bc871aa506396c12d6e1fa036858c1273
2024-01-10 17:02:14 +09:00
Ken Yang
137c2ebd5a
selinux: label wakeup for BMS I2C 0x36, 0x69
...
Bug: 319035561
Change-Id: Ib57dba71691f70b75fbae23208125fa750b32dc1
Signed-off-by: Ken Yang <yangken@google.com>
2024-01-10 06:14:37 +00:00
Lei Ju
52beafc4c4
[zuma] Use common settings for Contexthub HAL
...
Test: compilation
Bug: 248615564
Change-Id: I6691b23af6e532584f4dee9618c264b20b8873c0
2024-01-07 20:10:59 -08:00
Lei Ju
5a4795ccd7
Merge "[zuma] Update chre sepolicy for socket connection" into main
2023-12-28 03:50:00 +00:00
Lei Ju
8587126f45
[zuma] Update chre sepolicy for socket connection
...
With multiclient HAL, the socket server domain changes from chre to
hal_contexthub_default.
Bug: 248615564
Test: updated the sepolicies and observed that avc violation logs
disappears.
Change-Id: I4b2d27b436c9d81bd0d0cdc5b3c1540884c37fec
2023-12-27 00:02:57 -08:00
Shiyong Li
d26ab660b8
display: support primary display preferred mode property
...
Bug: 315895938
Test: check default mode after factory reset
Change-Id: Ia5a4c12537d50faf54ed5ea82d24e52a623c34e3
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-12-21 20:12:45 +00:00
Imo Richard Umoren
b3e48816fa
Twoshay: Add SELinux Permissions for CHRE [Zuma]
...
Adds connection and write permissions for chre socket to SELinux policy.
Used for the Wallaby nanoapp.
Bug: b/315347346
Bug: b/314721681
Test: Manually tested on SB3 Proto 1.0
Change-Id: I4a01be73d76a577d8da07c36276349525c0fda68
2023-12-12 17:23:35 +00:00
David Drysdale
7beccb101a
Merge "Add Secretkeeper HAL" into main
2023-12-06 10:21:03 +00:00
David Drysdale
98448f5628
Add Secretkeeper HAL
...
Test: VtsAidlAuthGraphSessionTest
Bug: 306364873
Change-Id: I57de11a4c08476979e9283914a552a90254ee3fb
2023-12-05 10:39:26 +00:00
Ray Chi
7e755bb143
Add eusb_repeater to vendor_usb_debugfs context
...
Bug: 305145476
Test: adb bugreport
Change-Id: I8fe6eebb43ed80de486d93882879512d0918acee
2023-12-05 16:38:16 +08:00
Jason Chiu
47c545c8b0
zuma: move sepolicy related to bootctrl hal to gs-common
...
Bug: 265063384
Change-Id: Ic99547173f6eade30bce2d60051163336b27ca3b
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 00:45:55 +08:00
Daniel Norman
f219d38925
Removes duplicate hidraw_device type definition.
...
This type is now defined by the platform.
Bug: 303522222
Change-Id: Ic46a7327bb2dab89f424cde2682a40f2b28a04db
Test: ls -z /dev/hidraw0
(cherry picked from commit 8ff4604573
)
2023-12-02 00:01:28 +00:00
Daniel Norman
2729e96ec8
Removes duplicate hidraw_device type definition.
...
This type is now defined by the platform.
Bug: 303522222
Test: ls -z /dev/hidraw0
Change-Id: Ic46a7327bb2dab89f424cde2682a40f2b28a04db
Merged-In: Ic46a7327bb2dab89f424cde2682a40f2b28a04db
(cherry picked from commit 8ff4604573
)
2023-12-01 19:24:56 +00:00
Dario Freni
2584e99c58
Merge "Revert "zuma: move sepolicy related to bootctrl hal to gs-common"" into main
2023-12-01 13:00:07 +00:00
Sebastian Pickl
fbe923d20a
Revert "zuma: move sepolicy related to bootctrl hal to gs-common"
...
Revert submission 25477883-gs-common_bootctrl-aidl
Reason for revert: breaking builds b/314240126
Bug: 314240126
Reverted changes: /q/submissionid:25477883-gs-common_bootctrl-aidl
Change-Id: I84dda0a7c98ed1d1f7958734761c9c1a0bd9d169
2023-12-01 11:30:45 +00:00
Treehugger Robot
421b5abf97
Merge "zuma: move sepolicy related to bootctrl hal to gs-common" into main
2023-12-01 03:57:28 +00:00
Treehugger Robot
124e7aa639
Merge "Suppress avc error log on debugfs's usb folder." into main
2023-11-30 23:26:22 +00:00
Luis Delgado De Mendoza
76972151b2
Merge "Add sepolicy entries for new BT channel" into main
2023-11-30 16:21:41 +00:00
Khoa Hong
fb1c8b60bb
Suppress avc error log on debugfs's usb folder.
...
The XHCI driver in kernel will write debugging information to DebugFS on
some USB host operations (for example: plugging in a USB headphone). We
are not using those information right now.
Bug: 311088739
Test: No error when plugging a USB headphone in.
Change-Id: I3a8e2290e97967c02453eadff440d8bbeefa31b1
2023-11-30 14:50:52 +08:00
Jason Chiu
23feade4db
zuma: move sepolicy related to bootctrl hal to gs-common
...
Bug: 265063384
Change-Id: I230ca394c5d1b6e68dd8b4d51ea06568810eb4e0
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-27 17:45:29 +08:00
Treehugger Robot
9c8cb72283
Merge "allow vendor init to access percpu_pagelist_high_fraction" into main
2023-11-27 01:45:54 +00:00
Kyle Tso
2816dc3328
hal_usb_impl: Add get_prop for vendor_usb_config_prop am: 5775ea074a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25353179
Change-Id: Ie03d8b8da3e6ca672906764bebfc29ef6d3cf97e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 14:25:25 +00:00
Kyle Tso
5775ea074a
hal_usb_impl: Add get_prop for vendor_usb_config_prop
...
avc: denied { read } for comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0" dev="tmpfs" ino=391 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0
Bug: 310560098
Change-Id: I86588715cae2696dd0e045c5b75dde55e0f84c1e
Signed-off-by: Kyle Tso <kyletso@google.com>
2023-11-23 08:33:04 +00:00
Chia-Chi Teng
59af5f70be
Merge "Revert^3 "bluetooth: Allow triggering AOC reset from BT HAL"" into udc-qpr-dev am: edac582d40
am: 650409d4b4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25400378
Change-Id: I2003f92080f61363c0549d36a2a95c0ddf651a6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 08:11:42 +00:00
Chia-Chi Teng
650409d4b4
Merge "Revert^3 "bluetooth: Allow triggering AOC reset from BT HAL"" into udc-qpr-dev am: edac582d40
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/25400378
Change-Id: I92c8528073ca783dba8f9de5c51dde3616da47c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 07:39:22 +00:00
Martin Liu
b25d110b38
allow vendor init to access percpu_pagelist_high_fraction
...
Bug: 309409009
Test: boot
Change-Id: I2a4b34e3318b5de8688fe25133d7839165a2566d
Signed-off-by: Martin Liu <liumartin@google.com>
2023-11-23 15:35:07 +08:00