Chenyang Zhong
794542baa6
sm8350-common: sepolicy: Set sensor HAL as a client of audio HAL
...
Elliptic ultrasonic proximity sensor's libnotifyaudiohal looks for
the audio HAL during elliptic's activate().
avc: denied { find } for interface=android.hardware.audio::IDevicesFactory sid=u:r:hal_sensors_default:s0 pid=970 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:hal_audio_hwservice:s0 tclass=hwservice_manager permissive=0
Change-Id: Ibcd6693acb49c810e8ce1f0ea86cf2238ad10a70
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-04-16 17:43:25 +02:00
AdarshGrewal
f3e0c86da3
sm8350-common: sepolicy: Label more wakeup nodes
...
Change-Id: Iba883ad3a4c35bc59222571c7a0069dc47d34d59
2023-04-16 17:43:25 +02:00
AdarshGrewal
346f014dd7
sm8350-common: sepolicy: Drop duplicate wakeup node labels
...
Change-Id: I528d6cfcdfb40b1f2fad8706e2121eb20bc81dc6
2023-03-05 10:01:31 +05:30
Arian
3bd4fbc7d7
sm8350-common: sepolicy: Allow camera hal to read mnt_vendor_file
...
This is necessary to find the dualcamera calibration in persist
Change-Id: I89d5d7839e13aeb2f5373b8bdc2e03830407cfb0
2022-09-27 12:12:25 +02:00
Adithya R
5a9786b385
sm8350-common: Add xiaomi cit sensor service
...
This service contains notifiers (Backlight2SlpiNotifier,
Freq2SlpiNotifier) which are responsible for relaying
current brightness and refresh rate to our under-display
light sensor. Without it, the screen brightness affects
light sensor readings, making auto brightness unusable.
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I1e6249e915e4973167dc1642af5e15717d2c03ef
2022-09-26 17:12:40 +02:00
Giovanni Ricca
ca24a1db5c
sm8350-common: sepolicy: Nuke duplicate wakeup nodes
...
Change-Id: I3fc529731fc592ffbb5051c8b1769342a5b2b132
2022-09-26 17:12:40 +02:00
Arian
1799fe9571
sm8350-common: Add udfps handler lib
...
Change-Id: Ib837e4a70015dc24d431458a1cce5b86e87816a9
2022-09-25 20:04:30 +02:00
Bruno Martins
16a45dcda2
sm6150-common: Move to common fingerprint HIDL
...
Change-Id: I7cb0a45c865d9dbfd800b1d633f8d5ae613bb1b9
2022-09-25 20:04:30 +02:00
Arian
d56b211120
sm8350-common: Drop lineage fod HAL
...
Change-Id: I490df0a5781a310db8d079a40a7bda5fbe7ca3e5
2022-09-25 20:04:30 +02:00
Giovanni Ricca
695e14a46a
sm8350-common: Move to common Xiaomi powershare HIDL
...
Change-Id: I497e2dc4bbbb877fcd8a4817d2b126c35d162a1c
2022-09-25 20:04:30 +02:00
Sebastiano Barezzi
8bf715623d
sm8350-common: Move to AOSP NXP NFC HAL
...
* NXP added snxxx support in AOSP
Change-Id: Id1b9cdbe1f29d1ff61af8182ae2f8370e5210426
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-09-25 20:04:30 +02:00
Inseob Kim
60afa5a8fb
sm8350-common: sepolicy: Attach vendor_property_type to properties
...
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.
Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: Ibed833cd9e5d786e82985ded6bc62abdf8cd9ded
2022-09-25 20:04:30 +02:00
Arian
2302a78494
Revert "sm8350-common: sepolicy: allow spodaemon to access spuari status prop"
...
This property is not referenced in our blobs
This reverts commit 56d9f69223
.
Change-Id: I69145e36ed9c2fe5adcabd4b4fb09aab7fb4efda
2022-09-25 20:04:20 +02:00
Arian
6cff8cff03
sm8350-common: sepolicy: Add vendor prefix to mlipay_prop
...
Change-Id: If707d5e4efb2513e8e447da2df692be99ef2d305
2022-09-25 19:26:26 +02:00
Giovanni Ricca
ba1fac34d5
fixup! sm8350-common: sepolicy: Label more wakeup nodes
...
Change-Id: If3d5e081d5e7e082578b111aeb83cf1662444126
2022-08-28 16:14:19 +02:00
Arian
19d012f5e5
sm8350-common: Rename and build fingerprint service
...
Change-Id: I09992ec66ba4b65bb60a23faa74929d385f199fa
2022-04-02 00:02:15 +02:00
Arian
d90172a404
sm8350-common: Add power HAL extension and use xiaomi-touch to handle dt2w
...
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2022-04-02 00:00:58 +02:00
Giovanni Ricca
a0ec4101e4
sm8350-common: sepolicy: Label more wakeup nodes
...
* Required for lisa
Change-Id: Iec55564b8a8d22dd80b81431edf7e606c68d7ea1
2022-04-02 00:00:58 +02:00
Arian
5600780c4b
sm8350-common: sepolicy: Label more wakeup nodes
...
Change-Id: Ifcdfebf840b125666b634c504d52a727278e9193
2022-04-02 00:00:58 +02:00
Arian
ffe4f5367d
sm8350-common: sepolicy: Allow bluetooth hal to read bt.mac
...
nv_mac stores the mac address in /data/vendor/mac_addr/bt.mac
and the xiaomi bluetooth HAL reads it from there.
Change-Id: I4469befffdcefa76a989020d617089dfb3e26673
2022-04-02 00:00:58 +02:00
Arian
0b7ee41b13
sm8350-common: sepolicy: Label xiaomi MAC address tool and data dirs
...
Change-Id: Ibb5a71bd753e5de2d3a8de0490a344a907dbd923
2022-04-02 00:00:58 +02:00
Erfan Abdi
577f097951
sm8350-common: sepolicy: Allow perf hal to read hal_camera_default dir
...
Change-Id: Ibd32be56e24325a6f349a7418835472f828f74ba
2022-04-02 00:00:51 +02:00
Erfan Abdi
7055015a16
sm8350-common: sepolicy: Add mlipay rules
...
Change-Id: I1023e481d49ed5ec0ae15a513c65133987d6f556
2022-04-02 00:00:44 +02:00
Erfan Abdi
5d25df15c4
sm8350-common: sepolicy: Add mius rules
...
Change-Id: I4ebc9561ae7e0700c7937e615688b5b71b1a0a82
2022-04-02 00:00:35 +02:00
Erfan Abdi
124e1c3210
sm8350-common: sepolicy: Replace mfp rules with hal_fingerprint_default
...
Change-Id: Ifa560592bcab7bc76155a1addde81c5ff0af147e
2022-04-02 00:00:23 +02:00
Cosmin Tanislav
15816b7165
sm8350-common: sepolicy: allow sensors to connect to audio hal socket
2021-11-05 02:34:37 +02:00
Cosmin Tanislav
98bf8eaf71
sm8350-common: sepolicy: allow ir hal to access spi ir device
2021-10-22 04:08:35 +03:00
Cosmin Tanislav
7e0bc34668
sm8350-common: sepolicy: allow vendor sensors to access panel backlight
2021-10-21 15:00:29 +03:00
Cosmin Tanislav
97b3076919
sm8350-common: sepolicy: add rules for elliptic proximity
2021-10-21 15:00:05 +03:00
Cosmin Tanislav
2f5f3de750
sm8350-common: sepolicy: allow inscreen fingerprint hal to send command to xiaomi hwservice
2021-10-19 10:14:36 +03:00
Cosmin Tanislav
237a992c1a
sm8350-common: sepolicy: allow perf hal to access fingerprint daemon process
2021-10-19 10:14:36 +03:00
Cosmin Tanislav
3930cb8f68
sm8350-common: sepolicy: let fingerprint daemon create netlink socket
2021-10-19 10:14:36 +03:00
Cosmin Tanislav
4b97aae3dc
sm8350-common: sepolicy: let fingerprint daemon find perf hwservice
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
8d97424ef2
sm8350-common: sepolicy: label other vendor fingerprint daemon props
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
0bee695455
sm8350-common: sepolicy: label other vendor fingerprint data files
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
b4c1162c94
sm8350-common: sepolicy: let fingerprint daemon add xiaomi fingerprint services
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
b0335f17e8
sm8350-common: sepolicy: let init start mi_thermald
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
b255c00b64
sm8350-common: sepolicy: label thermal daemon
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
4bfef5410c
sm8350-common: sepolicy: label fingerprint daemon
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
da27721999
sm8350-common: sepolicy: allow camera hal to access persist camera data
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
59d1e4975c
sm8350-common: sepolicy: allow camera hal to access camera sensor props
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
08e1ef9ec6
sm8350-common: sepolicy: label smp2p wakeup node
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
9da4665d16
sm8350-common: sepolicy: properly generate contexts for wakeup directories
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
6baf396305
sm8350-common: sepolicy: let bootctl hal access uefi block device
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
06f7e73444
sm8350-common: sepolicy: label aidl vibrator service
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
10ba6a429b
sm8350-common: sepolicy: let fingerprint daemon access input devices
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
8c76e46a0d
sm8350-common: sepolicy: let battery secret read kmsg device
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
234966a9e9
sm8350-common: sepolicy: let qti init shell access page cluster nodes
2021-10-19 10:14:31 +03:00
Cosmin Tanislav
16482979ca
sm8350-common: sepolicy: label fingerprint props
2021-10-19 10:14:23 +03:00
Cosmin Tanislav
75271d3b6c
sm8350-common: sepolicy: add title to spu prop in property contexts
2021-10-19 10:14:23 +03:00