Commit Graph

77 Commits

Author SHA1 Message Date
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
Cosmin Tanislav
24a120dd08 sm8350-common: sepolicy: let tee setattr on bsg device 2021-10-19 10:14:23 +03:00
Cosmin Tanislav
637d08ca67 sm8350-common: sepolicy: label spi wakeup node 2021-10-19 10:14:23 +03:00
Cosmin Tanislav
1c4813ce2f sm8350-common: sepolicy: let fingerprint daemon register fingerprint hal 2021-10-19 10:14:23 +03:00
Cosmin Tanislav
0f30a327a3 sm8350-common: sepolicy: let mi_thermald create thermal_data_file files 2021-10-19 10:14:16 +03:00
Cosmin Tanislav
17b2e1a30b sm8350-common: sepolicy: label all wakeup dirs for msm codecs 2021-10-19 10:14:16 +03:00
Cosmin Tanislav
592d149dd5 sm8350-common: sepolicy: remove nonexistent type 2021-10-19 10:14:16 +03:00
Cosmin Tanislav
8b5143cdb4 sm8350-common: sepolicy: label wakeup nodes 2021-10-19 10:14:16 +03:00
Cosmin Tanislav
56d9f69223 sm8350-common: sepolicy: allow spodaemon to access spuari status prop 2021-10-19 10:14:16 +03:00