Commit graph

25 commits

Author SHA1 Message Date
LuK1337
f0e0e8184e sdm845-common: Move LiveDisplay HAL default profile path to /data/misc/display
* /data/display does not exist and we are unable to allow
  writing to /data/system since it's a neverallow. Instead
  we are creating /data/misc/display which coredomain is
  allowed to write to.

Change-Id: I1198c61177b75fd2ad460aafab5f2d5010b2ca63
2019-06-17 14:23:00 +02:00
LuK1337
4875e13d6a sdm845-common: sepolicy: Allow LiveDisplay HAL to write to its sysfs tunables
Change-Id: If0a80437547ee9e93312d26fbcdd8cbd901978e8
2019-06-17 14:20:51 +02:00
LuK1337
b687e1a04f sdm845-common: sepolicy: Drop unnecessary HAL rules
* coredomain can write to binder device without granting anything.

Change-Id: Ie657d1e79702b557f00376d31f87d33e104eaf3d
2019-06-17 11:09:51 +02:00
LuK1337
b7d970b745 sdm845-common: sepolicy: Label OTG toggle property as public_vendor_default_prop
Change-Id: I435fca6127c01f9fe039b07adc3b3cb5a579b852
2019-03-20 20:24:33 +01:00
LuK1337
8936a7fda0 sdm845-common: sepolicy: Copy over public_vendor_default_prop rules from qcom sepolicy
* This addresses many denials introduced by enabling
  vendor and system property isolation.

Change-Id: I24e04fc24be32698c7fdae4b28e90e9c20161a77
2019-03-03 22:17:12 +01:00
LuK1337
26cf3e0528 sdm845-common: sepolicy: Let vendor_init set vendor.camera.aux.packagelist
Change-Id: Iddfe1b10ae0bb1545db6bf6143d1a805d4025388
2019-03-03 22:16:48 +01:00
LuK1337
95e71a6898 sdm845-common: sepolicy: Label dsi-display@21 nodes
* These are used on fajita.

Change-Id: Id10c93947468df24a0d57beea47a56aa02ed9d93
2019-02-06 16:49:00 +01:00
Luca Stefani
53fecbf169 sdm845-common: Add and build trust HAL
Change-Id: I6ffdcd0cae2afb1b1e872152f7997da704ad74dc
2019-02-04 20:47:31 +01:00
Danny Baumann
e3ee15e8af sdm845-common: Replace lineagehw implementation by HIDL services
Move DisplayModeControl and SunlightEnhancement into a livedisplay
service, and TouchscreenGestures into a touch one.

Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
2019-02-04 15:15:19 +01:00
Luca Stefani
eaa9bbce92 sdm845-common: Fix neverallows
Change-Id: I9a73f72b9c5c01afbaf6c2f960c7e25ca923d90c
2019-02-04 15:10:35 +01:00
Luca Stefani
922b46d9f1 sdm845-common: Build only 64bit power hal
Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da
2018-12-23 20:20:00 +01:00
Danny Baumann
b7f7fa2a3f sdm845-common: Properly label display control files
Additionally, allow system_server access to them.

Change-Id: I12ceb3970460282d10b240e8a12207e2fd3ca882
2018-12-23 20:18:42 +01:00
Luca Stefani
790fc7c7d9 sdm845-common: Add missing power_supply genfscon rules
Change-Id: I8d6716ce364891483701f38bcc855d84249154fd
2018-10-14 14:34:09 +02:00
LuK1337
4b1d9b429e sdm845-common: Allow appdomain to get vendor_camera_prop
* Some apps rely on this and won't work properly if they
  can't read this property. See ~ Snapchat.

Change-Id: I737e28f038941e6d18b96ff512f29dbe0ad7b7e4
2018-10-14 14:34:09 +02:00
LuK1337
788f9b7522 sdm845-common: Allow hal_usb to read and write to sysfs_oem
Change-Id: I29187ad7844b953e63e356c405f4a18e107d902b
2018-10-14 14:34:09 +02:00
LuK1337
1272127b9a sdm845-common: Bind mount our own audio policy configuration
Change-Id: I830b0488d34f76169bceb33503eb701b3dfbfd27
2018-10-14 14:34:09 +02:00
LuK1337
25e29b6576 sdm845-common: Allow system_app to getattr on sysfs_fpc_proximity
* Required for pocketmode app.

Change-Id: I085839a449529d12cb3911ebfbab97f8e1ef155f
2018-10-14 14:34:09 +02:00
LuK1337
6e02427beb sdm845-common: Fix lights HAL denials
* OnePlus decided to label these sysfs_oem for some reason.

Change-Id: I4f9012d1583d5d9068751f273b3aa1537c2ce540
2018-10-14 14:28:13 +02:00
LuK1337
1207730aa7 sdm845-common: sepolicy: Allow init to chown/chmod on pseudo files in /sys
Change-Id: Idf9cca465b9db3cfc9714ce170c5bf965968f79d
2018-10-14 14:28:13 +02:00
LuK1337
4ed29836d8 sdm845-common: Import pocketmode app and SELinux rules for it
* Based off android_device_oneplus_msm8998-common pocketmode
  app but without fpc10xx support and using actual OnePlus
  pocketmode sensor.

Change-Id: I73eaf7e00afd08cdad71d323b6821eb8a0160cd2
2018-07-27 20:23:44 +02:00
Luca Stefani
9850301224 sdm845-common: Load qcacld from system
* This will implicitly add every kernel module to system

Change-Id: I1fb827536a7cd6cb0d46c9dbb78da4f19e80492b
2018-07-26 09:00:33 +02:00
Luca Stefani
924e50ddc2 sdm845-common: Add power hal
Change-Id: I764cccb93b01ea2bfaca4cfe93ac314b7c680d5d
2018-07-19 22:13:43 +02:00
Luca Stefani
89203b453e sdm845-common: Add tri-state-key daemon
Change-Id: I796f3853ac87df78a0d1a890c663e312a0ee2d1b
2018-07-19 22:13:32 +02:00
LuK1337
118f6920b5 sdm845-common: Build our own lights HAL
Change-Id: I0e0d2db5c109778b86ab54101b70f0d3856195cb
2018-07-07 21:22:51 +02:00
LuK1337
02a9fcb3e4 sdm845-common: Initial commit
Change-Id: I317c72bd943457c95d2b2c2c80ac0163c9f76a93
2018-07-07 18:44:53 +02:00