EcrosoftXiao
bc476fbaca
sm8350-common: Add Xiaomi dtool HAL
...
Change-Id: I56af84663e44672c5f0e105be323dea7902e1c75
2023-08-12 16:51:40 +08:00
EcrosoftXiao
e5363bb71f
sm8350-common: sepolicy: Address more denials for fp hal
...
Change-Id: I9a0ad1bc605ea6fd40b8f0a1301129bad1c61fbd
2023-08-12 16:50:49 +08:00
EcrosoftXiao
a06760b18b
sm8350-common: sepolicy: Allow hal_fingerprint_default to access vendor_fingerprint_device
...
Change-Id: I8770a65a01e622f7c541bf88cf4b70c40792a169
2023-08-12 16:50:20 +08:00
EcrosoftXiao
d52d3b7ff7
sm8350-common: sepolicy: Allow hal_fingerprint_default to creat netlink_socket
...
Change-Id: Icb8b0619ebee908c241e90c76439895c7026adec
2023-08-12 16:47:22 +08:00
EcrosoftXiao
5ee0ae3439
sm8350-common: sepolicy: Label display drivers
...
Change-Id: If97042228749352bc804888d8cb31ccf56742542
2023-08-12 16:47:14 +08:00
Giovanni Ricca
19691486d9
sm8350-common: sepolicy: Address mlipay denials
...
Change-Id: Ie7ed48158db6f5f5facab5dfb2efc8560c83fe49
2023-05-15 11:22:04 +02:00
chaptsand
3364309e72
sm8350-common: sepolicy: Allow platform app to find SoterService
...
* Fix selinux denied of WeChat fingerprint payment
- E SELinux : avc: denied { find } for interface=vendor.qti.hardware.soter::ISoter sid=u:r:platform_app:s0:c512,c768 pid=3613 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:vendor_hal_soter_hwservice:s0 tclass=hwservice_manager permissive=0
Issue: https://gitlab.com/LineageOS/issues/android/-/issues/4701
Change-Id: I3176f8e709fb31aec16a31094b78f753d1d16b43
2023-05-14 17:23:42 +02:00
Arian
5943e273d8
sm8350-common: sepolicy: Label libSNPE.so as same process hal file
...
Change-Id: I2c8e996fe2b7772e88c925966a6bef04f47d3661
2023-04-25 16:54:44 +02:00
Arian
07b6eb7639
sm8350-common: Move to common sensors multihal
...
Change-Id: Iba4df5ebb5d653cb2d3f68fce9e682d946d20935
2023-04-16 17:43:25 +02:00
Bruno Martins
88fdfc318a
sm8350-common: sepolicy: Remove duplicate lahaina wakeup nodes
...
Needed after I53aad29624e904b092c3cf73d498c735cf2f1b3e
Change-Id: I245c50c6e5c5d93a58cb4fe11e8e3aef3003ae29
2023-04-16 17:43:25 +02:00
Arian
2a641ef6ff
sm8350-common: sepolicy: Label camera libraries as same process hal files
...
Change-Id: If04a525677e9e137dacb4fd759eb6d1d5d2776ba
2023-04-16 17:43:25 +02:00
Arian
08a574b256
sm8350-common: sepolicy: Add camera perf and postproc hwservice
...
Change-Id: I5e054952a9739c1363294564296a26adcf3c8d8a
2023-04-16 17:43:25 +02:00
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