Commit Graph

26 Commits

Author SHA1 Message Date
PIPIPIG233666
86032a20b5
davinci: fod: Add support for Xiaomi's touchfeature
Change-Id: I15a4a3d777d784abe04e88372647fc9abff78626
Signed-off-by: Arian <arian.kulmer@web.de>
2020-10-13 18:25:13 +02:00
Demon000
86826edb8d
davinci: fod: Set nit value on sysfs notification
Change-Id: I78069d10677c6704b0bb080ecf76ecbbfd0b2212
2020-10-13 18:25:13 +02:00
Demon000
95126a384e
davinci: fod: Switch to in-kernel handling of changes
Change-Id: I242a57b42bb455835bbc0777878a93bca6b986e7
2020-10-13 18:25:13 +02:00
Bruno Martins
bcc47bc18f
davinci: Implement SunlightEnhancement LiveDisplay HAL
Change-Id: I17b0215ad78d86989c146291552c5e6e7b6a689d
2020-10-13 18:24:30 +02:00
Nvertigo
6156c1202c
davinci: sepolicy: Fix OTA auto-flashing with encrypted f2fs.
If userdata is on f2fs and encrypted (stock config for userdata),
  /cache/recovery/block.map is not created due to this denial:

  05-01 13:43:47.512  6538  6538 W uncrypt : type=1400 audit(0.0:10): avc: denied { sys_admin } for capability=21 scontext=u:r:uncrypt:s0 tcontext=u:r:uncrypt:s0 tclass=capability permissive=0

  Without block.map the automatic flashing of the OTA without user
  interaction fails, and the user needs to manually mount data, and
  flash the OTA manually.

Change-Id: I6ecb84e8b730d4c641a8bd8769043dfbfb817b83
2020-10-10 21:43:31 +02:00
Arian
28af42ef6e
davinci: sepolicy: Label properties to avoid denials
Change-Id: Id07b6977e6ef19bd2c9d6867e06073c8364c57d3
2020-10-10 21:43:31 +02:00
Michael Bestas
51b7479a3d
davinci: sepolicy: Silence harmless QCOM denials
Change-Id: Iad1e2c0e654a4a46da76a57ece63dc4f35761d50
2020-10-10 21:43:31 +02:00
Arian
c41825b8c2
davinci: sepolicy: Label hwc and hwversion properties
Change-Id: I2c433eb307d63e0ca8fa4e4da664c649cdd0c4c2
2020-10-10 21:43:31 +02:00
Demon000
a4562cf819
davinci: sepolicy: Label property used by ril
Change-Id: I05e3a823cdfbbd995791769ea3774ebd064f6f12
2020-10-10 21:43:31 +02:00
Demon000
50625df1c3
davinci: sepolicy: Label manufacturer prop used by camera hal
Big brained Xiaomi checks if this device is a Xiaomi device before
giving access to auxiliary cameras.

Change-Id: Ife6587148824cd6b68e634ca0b999d4f380b20ce
2020-10-10 21:43:31 +02:00
Arian
f73820a339
davinci: sepolicy: Add motor rules
Change-Id: Ia076f82c816d0ff3ced950fcb1e2982e9ca668ff
2020-10-10 21:43:31 +02:00
Arian
fe196ce3ab
davinci: sepolicy: Allow adsprpcd to read sysfs_graphics
Change-Id: I14787d37700d6bf5d3ec34025ad67a66e5060222
2020-10-10 21:43:31 +02:00
Arian
68573e21ac
davinci: sepolicy: Allow power hal to write to input event
Change-Id: I003620c57059e0916c95ff9d025f4d668082b2c5
2020-10-10 21:43:31 +02:00
Arian
8abb2a34a1
davinci: sepolicy: Allow bluetooth HAL to read the mac address
Change-Id: I2e1a7c635ce8a5eedb1e4ec6cd55d31705ee47d3
2020-10-10 21:43:31 +02:00
Arian
264db02b15
davinci: sepolicy: Allow sensors HAL to set persist sensors properties
Change-Id: Ie1ed422961f922f1239f10eb2e752106cf3f7778
2020-10-10 21:43:31 +02:00
Demon000
566fe95ed5
davinci: sepolicy: Add sensors rules
Change-Id: I1e52fc7e35f4517c80cfc6ddc819d2b585ae7238
2020-10-10 21:43:31 +02:00
Demon000
a17f9fcea7
davinci: sepolicy: Create mi_thermald sepolicy
Change-Id: I0848568bd68c51a981273ead7e103703ff31393f
2020-10-10 21:43:31 +02:00
Demon000
11e6180f9b
davinci: sepolicy: Give NFC full access to NFC data files
Change-Id: I7a1dfea2e99a875eed5bc501db2175cb4955b90c
2020-10-10 21:43:31 +02:00
Demon000
279eba00ff
davinci: sepolicy: Allow radio to read vendor audio prop
Change-Id: Ibb6e15b51c6a06761bc7e534ff8eb3a70fba8321
2020-10-10 21:43:31 +02:00
Demon000
6ce7df4ba6
davinci: sepolicy: Add fingerprint rules
Change-Id: Id8b275e2d8666799eb1529cc66bc1d386710d3a4
2020-10-10 21:43:31 +02:00
Demon000
56783f283f
davinci: sepolicy: Label used camera props
Change-Id: Icf0f65f3a03323f38e4c6a954c508b894440b609
2020-10-10 21:43:31 +02:00
Demon000
bed948fb95
davinci: sepolicy: Add camera rules
Change-Id: Ifade6b81926206a8e7ab0ae0ff8d8dc657de294e
2020-10-10 21:43:31 +02:00
Demon000
167d382728
davinci: sepolicy: Add audio rules
Change-Id: I5da3edd3525831412d5eec131dcfa02dc88053ab
2020-10-10 21:43:31 +02:00
Demon000
a9d5dfade7
davinci: sepolicy: Allow nv_mac to create mac files
Change-Id: Ia7ed6c06d3ba4e2b3205c860dd57ac24026f96f8
2020-10-10 21:43:31 +02:00
Demon000
f4d2442601
davinci: sepolicy: Label nv_mac
Change-Id: I866c90cd4c248a04ced3d8f48438076827b7af9c
2020-10-10 21:43:31 +02:00
Arian
83c32c77e0
davinci: sepolicy: Label lights HAL
Change-Id: I92198544629ac299e1c753825d15e224fb76cceb
2020-10-10 21:43:30 +02:00