Commit graph

9 commits

Author SHA1 Message Date
Stylogey
8376ecf831
sdm660-common: switch to blueprints where it's possible
Change-Id: I7d691f054b3744e52cb6d30b236e0a11de9923d3
2020-08-12 02:02:39 +06:00
Jeff Vander Stoep
c145e57b0f
sdm660: Move folio_daemon to system in sepolicy
Remove Treble violations.

Bug: 36867326
Bug: 62387246
Test: loaded on taimen, checked dmesg, and tested daemon with magnet
Change-Id: I4662b41206b94cae6ac9843b5dc7e1452003c63c
2019-10-19 20:50:52 +02:00
Lennart Wieboldt
f554793657
sdm660: remove LOCAL_CLANG := true for folie_daemon
Clang is the default compiler since nougat.

Change-Id: I565e25f9f688a979eac41de0eee4a88b24099098
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2019-10-19 16:29:57 +02:00
Chih-Hung Hsieh
a40685ba7a
sdm660: Use -Werror in folio_daemon
* Remove unused local variable.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I96228277b9c81b71e73e4e376d86cdea6cbcb647
2019-10-19 16:29:57 +02:00
Dan Albert
725e0b3f2e
sdm660: folie_daemon: Add missing includes.
Change-Id: I74ce25b3b5c918e371140b91f82ec00ff571f9fe
Exempt-From-Owner-Approval: trivial cleanup
Test: mma
Bug: None
2019-10-19 16:29:57 +02:00
Andrew Lehmer
21e2243476
sdm660: folio_daemon: retry slowly on failure
Bug: 38001818
Test: loaded on taimen
Change-Id: I3f5a8cbf0faca3b5d027dcd74f1b16de80fdbee2
2019-10-19 16:29:57 +02:00
Andrew Lehmer
33f3f09b13
sdm660: folio_daemon: exit when poll returns zero events
Bug: 37402669
Test: loaded on walleye, issued `adb shell stop`, checked `top`
Change-Id: I7d43cab39809b6b156eb26195df2c913991e5c96
2019-10-19 16:29:57 +02:00
Andrew Lehmer
1c3353b71b
sdm660: folio_daemon: improve logging for debugging
Bug: 37402669
Test: loaded on walleye
Change-Id: I9cfd071158386d3eb15a5b81656b09452c7fed15
2019-10-19 16:29:57 +02:00
Andrew Lehmer
f08faed4c3
sdm660: Add support for folio cases
Bug: 35243564
Test: Used magnet to wake and lock device. Also tested during suspend.
Change-Id: I4b819e12cc23a3d7a8ce048e208c15eac4f8d6c5
2019-10-19 16:29:57 +02:00