Commit graph

39 commits

Author SHA1 Message Date
Arian
5e7b3eaff5 sm8450-common: sepolicy: Drop nfc rules which are handled by sepolicy_vndr already
Change-Id: Ifa04e62bc2cb5a9b24cdaf5c6de92edda4613525
2024-09-01 18:22:12 +02:00
Arian
a065ab84cc sm8450-common: sepolicy: Remove xiaomi specific gnss rules
We don't use stock GNSS stock anymore, thus these are not necessary anymore

Change-Id: I730e5101ea69e2c9d456d53a82c30433f916706c
2024-09-01 18:22:12 +02:00
Cosmin Tanislav
c9597dc87d sm8450-common: Move to lineage powershare implementation
Change-Id: I9c2ef85b7ef79ca4db127baf8d4095442f5d2f5a
2024-08-29 17:33:15 +02:00
Sebastiano Barezzi
a1e2240d59 sm8450-common: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2024-08-21 10:56:41 +02:00
Arian
06f5c160c2 sm8450-common: Kill xiaomi citsensorservice and sensor communicate
Change-Id: Iaa50c3d23f8c9398e12486098c037bc970ae4940
2024-08-12 10:24:41 +02:00
Arian
b9ef44eff2 sm8450-common: sensors: Introduce LightNotifier and use libssccalapi@2.0
Change-Id: Iec11aa1a8ccc13db5d30cc6fa52e4b10d255c706
2024-08-12 10:24:41 +02:00
Arian
a96665b595 sm8450-common: sensors: Add aod notifier
Change-Id: I2ba35d7b7db4e6922d83f041497fe66bf52124cb
2024-08-12 10:24:33 +02:00
Arian
53191f2811 sm8450-common: sensors: Convert nonui notifier into a generalized sensor based notifier
Change-Id: I34b9861341f4f033185fdbd066b46d779dd95cfa
2024-08-12 10:24:04 +02:00
Arian
c9aa23766e sm8450-common: Add nonui notifier
Change-Id: Id447dec0d6c6a384a55a25db45f2d763ba23635a
2024-06-09 11:07:59 +02:00
Arian
ec8a98e97f sm8450-common: Move to double tap sensor
Change-Id: Ib4803011fefad35c8b7a2d1e2b7d2744b32b13f4
2024-06-09 11:07:59 +02:00
Arian
999f5ead73 sm8450-common: Enable single_tap sensor and set permissions for touch sensors
Change-Id: I777ed71ecc5dc502182567bc7e1166605251af93
2024-06-09 11:07:59 +02:00
Jens Reidel
ec0869c007
sm8450-common: sepolicy: Drop extcon rules
These live in device/qcom/sepolicy_vndr now.

Change-Id: I33a51a18bdf9fbef01c5c12647646472c4850b32
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-24 13:48:38 +02:00
Arian
5e4d14e637 sm8450-common: Build nxp nfc service from source
Change-Id: Ib2294005a1761570c4dab98b7c1a44728406b428
2024-05-18 14:41:04 +02:00
Jens Reidel
97d9ac1d53 sm8450-common: Add sepolicy rules for ziyi battery
Change-Id: I7433f54fd047aaecae485614a42db1c736018959
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-18 11:05:22 +02:00
Arian
1328eabc27 sm8450-common: udfps: Enable HBM via disp_feature
Change-Id: I6ffdf1de9b0cf5eb2b479ce3ff66ca4f7e74e17c
2024-03-19 23:22:37 +01:00
kxxt
b2dcc1ec15 sm8450-common: sepolicy: Add rules for fpc fod
Change-Id: Ib0cb756a54a3d5416af4f892a0ebb9159a2130af
2024-03-19 23:22:37 +01:00
Arian
f45cab519c sm8450-common: sepolicy: Relax xiaomi camera postproc rules
Change-Id: I278843abfa2f91fc44ef54c8b61f81d97b8e772e
2024-03-19 23:22:37 +01:00
Jens Reidel
8c6add2160 sm8450-common: Build Lineage PowerShare HAL
Change-Id: I3ea02cd0c6b1a26851f1961768e00e5f3339c4bb
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
a49e28c03c sm8450-common: Address marble denials
Change-Id: Icb73c862a1da3fa43da1885f7da93f2c71fe9da7
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
e6fb9bb57c sm8450-common: Address marble fingerprint denials
Change-Id: I5b409c7bd3158efb042429432c771e5574b5b8b6
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Arian
e9c724fc08 sm8450-common: sepolicy: Drop label of wlan_mac.bin in persist
ueventd wants to load it and neverallows forbid to allow ueventd to access the new type.

Change-Id: I8cf246860cfc40bdf1706dec79ab5f2df0ba1881
2024-03-19 23:22:37 +01:00
Arian
b9f9cf202f sm8450-common: sepolicy: Reduce mi_thermald permissions in sysfs
Change-Id: I0d16f1a1ed73c5089d9dc116e24b61d58da47b7a
2024-03-19 23:22:37 +01:00
Arian
f38ee92bb5 sm8450-common: sepolicy: Grant audio hal permissions on persist audio files
Change-Id: Ib0bc16d2b2bcf106c14ae0cb6ea3995ea4f71664
2024-03-19 23:22:37 +01:00
Arian
106355e12e sm8450-common: Drop mfidoca, mtd- and tidaservice
Change-Id: I0b7a851137b954ea767ff1846c9ca30b36d1c875
2024-03-19 23:22:37 +01:00
Arian
8d24a268f9 sm8450-common: Drop sla
Change-Id: I725028a3a6cd41b4008d46de476bfe986052de60
2024-03-19 23:22:37 +01:00
Arian
30c8d6c293 sm8450-common: sepolicy: Overall cleanup
Change-Id: I0d6282ea0315774fa29e8155cb0e113123025623
2024-03-19 23:22:37 +01:00
Arian
14be88afd4 sm8450-common: sepolicy: Cleanup dolby related policies
Change-Id: Id2b70818bdfb9927d375065675cac9f2e7a6e890
2024-03-19 23:22:37 +01:00
Arian
6e6cb237b1 sm8450-common: sepolicy: Cleanup displayfeature related policies
Change-Id: Ifcb8394eba045fa20e8f9e8fd356be560163bc67
2024-03-19 23:22:37 +01:00
Arian
27b20a7ecc sm8450-common: sepolicy: Drop ddr training rules
Change-Id: I69e64b937da768e88632e136dc4f1a038f075c75
2024-03-19 23:22:37 +01:00
Arian
6ed022ec9d sm8450-common: sepolicy: Update from mondrian V14.0.5.0.TMNMIXM
Change-Id: I6aace666658b82ae3bcd63be5756ecfe71ce091a
2024-03-19 23:22:36 +01:00
Arian
19201de306 sm8450-common: sepolicy: Add new fingerprint rules
Change-Id: I85503c9f8dfe95bfc684573901d346ebaf7d07bd
2024-03-19 23:22:36 +01:00
Arian
668f7f3929 sm8450-common: sepolicy: Add policy for touch_report
Change-Id: If5e39a604c7a52a1ccb752657fcbcf87109ae5c7
2024-03-19 23:22:36 +01:00
Jens Reidel
18c9d03006 sm8450-common: Fix user builds
device/qcom/sepolicy_vndr only includes the files that define
vendor_sensors_debug_prop on eng and userdebug builds, so we have to
wrap access to it in a call to userdebug_or_eng.

Change-Id: I4e2662ec29e7ebb4ea1b8616d360307f92e89834
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:36 +01:00
Arian
bd85081d3f sm8450-common: sepolicy: Allow IR HAL to r/w ir_spi
Change-Id: If705da0786e6233999378de3e258fd67a7ff6f62
2024-03-19 23:22:36 +01:00
Arian
83ac7236a5 sm8450-common: sepolicy: Label camera libs as same process hal files
Change-Id: Id81ad80124a234b3a16e3a3b3e841e5724964d94
2024-03-19 23:22:36 +01:00
Arian
480d6a6a73 sm8450-common: sepolicy: Adjust permissions on displayfeature sysfs for fingerprint hal
Change-Id: If7aaf9bde52991060118942bd20c51f347637cb2
2024-03-19 23:22:36 +01:00
Arian
80a70b99d3 sm8450-common: sepolicy: Allow init to set more vendor properties
Change-Id: I17baf8756ed1e7297d18b116f760f86dc2807457
2024-03-19 23:22:36 +01:00
Arian
37eea61587 sm8450-common: Initial sepolicy
Change-Id: Ia21793576649e8518e79e4680e0b79b6a9331720
2024-03-19 23:22:36 +01:00
Arian
973b08b277 sm8450-common: Add touch_report init script
Change-Id: I4db767086b34c46e64cb94a6e4dd20837672d31c
2024-03-19 22:58:04 +01:00