Commit graph

113 commits

Author SHA1 Message Date
Shahan-mik3
ae796f12df whyred: Add bluetooth support 2018-06-25 21:15:58 +05:30
Shahan-mik3
e9d3970d59 whyred: Add symlinks for wifi HAL, RFS, slpi and IMS 2018-06-25 21:15:58 +05:30
Shahan-mik3
157bb51dd4 whyred: Import system.prop and vendor.prop from miui 2018-06-25 21:15:58 +05:30
Bruno Martins
700ccf86f6 whyred: Doze: Minor code simplification and clean up
Change-Id: Idff05f2626138c96dccd3ab4c26c4df1be40a606
2018-06-25 21:15:45 +05:30
Bruno Martins
c1cfc3152b whyred: Doze: Build with AAPT2
Change-Id: Iab14804817e6b90bf4d773d9359a04f1e119264a
2018-06-25 21:15:33 +05:30
Bruno Martins
390020d0b2 whyred: Doze: Re-integrate into Settings
* Apply the default Oreo theme and inherit the layouts
   from Google for the Settings app, in order to keep
   UI consistency.

 * Get rid of SettingsDrawerActivity as it no longer fits in
   and include the back button in the action bar.

 * Kill the icon drawable not only because is a leftover,
   but also doesn't really serve any puropose in the new UI.

Change-Id: I53b6d3bb99d63852ba34d71e16ae99f05223569e
2018-06-25 21:15:15 +05:30
Bruno Martins
6d733eaae1 whyred: Doze: Apply LineageOS rebrand
Change-Id: I4daa1092494fdf207ef54dc79f787bcbe1d01a08
2018-06-25 21:15:00 +05:30
Álvaro Brey
55a8e721f2 modules: doze: Fix devicesettings path
* Was broken when moved to modules, since it iss a relative path
Change-Id: I7d934e7cfeccdc4bcaaf917de1316e81b34ae220
2018-06-25 21:14:58 +05:30
xiaobai
d02b8b9943 whyred: import doze from mi5 2018-06-25 21:14:49 +05:30
Vasishath Kaushal
abcab1e2cd lights: We have only single color led.
Also add additional steps to duty cycle to make notif light fade
smoother.
Also detect maximum brightness dynamically
2018-06-25 21:14:46 +05:30
Vasishath Kaushal
b9eb4bc24c lights: Adapt for sdm660 2018-06-25 21:14:46 +05:30
Michael Bestas
44aa3a9119 whyred: light: Minor cleanup
Change-Id: I42215a38ea3f98d5e202308bc80fab672ed8d776
2018-06-25 21:14:35 +05:30
Demon Singur
ac9beafcbc whyred: light: update state after notification is handled
Change-Id: Ic36b112c58316da802a6dfd011cbd25a0e842eef
2018-06-25 21:14:29 +05:30
Demon Singur
d76a0057be whyred: light: simplify notificationStates loop
Change-Id: If9e5f7b35f33fa0c5ee394b0edc542be6dd2aaea
2018-06-25 21:14:01 +05:30
Demon Singur
a7654d5325 whyred: turn light hal into a hidl service
* Dropped low persistence mode which is only used for VR,
  which we are not shipping

Change-Id: I4fa56abd38c04d8fa267dbab67e54fe4a617bfe1
2018-06-25 21:13:46 +05:30
Demon Singur
e42c7c1626 whyred: include all blueprint modules
Change-Id: Iaf3d59fe173cf0b424409c546854841e4da082a1
2018-06-25 21:13:32 +05:30
codeworkx
b9617da8a3 whyred: add vndk sp libs
Change-Id: If6eeb32084e72cb0d773b666921d6de7c9187392
2018-06-25 21:13:19 +05:30
Vasishath Kaushal
d00091ee39 whyred: Import fingerprint file attrs from miui ramdisk. 2018-06-25 21:03:34 +05:30
Vasishath Kaushal
464157cfd0 whyred: Goodix fp hal is present as fingerprint.default.so
So load it directly and specify class as fpc for fpc hal.
2018-06-25 21:03:34 +05:30
Vasishath Kaushal
1f37c1a0ad whyred: Adapt fingerprint HAL for sdm660 2018-06-25 21:03:34 +05:30
Demon Singur
8f5f462ede whyred: rootdir: further cleanup
* place sections in their order of execution
 * move charger to init.target.rc because all the services
   it starts are already there
 * move fingerprint rules to ueventd and merge sections where
   possible
 * remove unused ueventd rules

Change-Id: Ic5ef5e976f1cbd5143fb51fc5dc713295a7084b9
2018-06-25 21:03:19 +05:30
Demon Singur
2a74a5d950 whyred: turn fingerprint wrapper intro a hidl service
Change-Id: Ib72892417d401947aeb3935ef0f018c3b5daf94b
2018-06-25 21:03:05 +05:30
Demon Singur
f677ac9187 whyred: Cleanup fingerprint wrapper logic
Change-Id: I036f8d766378cbfc006cdefdd32ec48e65540dd2
2018-06-25 21:02:54 +05:30
Christopher R. Palmer
29fa5da482 whyred: fingerprint: Load goodix HAL if loading the fpc HAL fails
Change-Id: I5d45d1c655e69c34de16e6813eee80b07d30dda9
2018-06-25 21:02:37 +05:30
Christopher R. Palmer
fd644c012f whyred: Add a dummy fingerprint wrapper HAL
All this does is delegate all the requests to the real HAL.

Change-Id: Ie45ae24448fb989c45bba10f12128d20b71e1d34
2018-06-25 21:02:26 +05:30
Vasishath Kaushal
f436c24292 whyred: Adapt init for whyred 2018-06-25 21:02:24 +05:30
Michael Bestas
29bd4e0aff whyred: init: Cleanup and fix code style
Change-Id: Ice339617a0fb4555b5f37f42084ceaf98535bd24
2018-06-25 21:02:13 +05:30
LuK1337
1b147f98cf whyred: init: Update extension to work with 8.1
Change-Id: I9c8bd6fce94739e08cdfc9cf9b2b2761bbe4bcfd
2018-06-25 21:02:03 +05:30
Luca Stefani
fc87661af3 whyred: init: Update for O
Change-Id: I635dc8d27f92f9a2fa83da62c2f32e48bd2c7680
2018-06-25 21:01:52 +05:30
Michael Bestas
4ef7e054d5 whyred: init: Check if power off alarm is set
Check if power off alarm is set, then set alarm's properties

Adapted from Mao Jinlong <c_jmao@codeaurora.org> patch in init.qcom.early_boot.sh

Change-Id: Ib86584d1c09aba07c47435ac8bed39aac79a80f7
2018-06-25 21:01:39 +05:30
Zhao Wei Liew
be7adfd2ba whyred: init: Check reboot_reason when setting alarm_boot prop
This was missed out from init.qcom.early_boot.sh.

Change-Id: Iab5b0d7782a53b97315d2aa9d0c301ed7725e01d
2018-06-25 21:01:23 +05:30
Bruno Martins
f0a53c0a73 whyred: init: Use core init function to read from files
Change-Id: I3fd23490bcdfa4097dad73161ad226337e93cd18
2018-06-25 21:01:07 +05:30
Demon000
2f8047ea5d init: remove unused variables 2018-06-25 21:01:06 +05:30
xiaobai
1ed02da2c5 whyred: remove unused dalvik heap config 2018-06-25 21:00:47 +05:30
Vasishath Kaushal
d2b64dd578 whyred: add init library 2018-06-25 21:00:22 +05:30
Vasishath Kaushal
0d9f5ad19c overlay: Configure fingerprint sensor location 2018-06-25 21:00:20 +05:30
Vasishath Kaushal
7fb33b0225 overlay: Add LCD brightness values
Also enable suspend after screen off due to proximity
2018-06-25 21:00:20 +05:30
Vasishath Kaushal
af3342e2d6 whyred: Add initial overlays 2018-06-25 21:00:20 +05:30
XiNGRZ
3b6496a2c8 whyred: libhidl should be a vendor module
Change-Id: I4adefba655c42c3b74c15ff3c4d9a06add81f288
2018-06-25 21:00:11 +05:30
codeworkx
695dccfcd2 whyred: build dummy android.hidl.manager@1.0 for ims
Change-Id: Ia4fc32846600eafc2dedc6ae6a2d829c1f073163
2018-06-25 20:59:34 +05:30
codeworkx
cdb56c035e whyred: convert libhidl to mk
Needs to be covered by our device guard to not conflict with other devices

Change-Id: I5d2bc1d934ed063f3af48c7dadbd18f66b92bde3
2018-06-25 20:53:12 +05:30
dianlujitao
48f9465506 whyred: Build a dummy android.hidl.base@1.0 for Oreo-MR0 blobs
Change-Id: I50d02364368691da2bc081988d500587cc427852
2018-06-25 20:52:45 +05:30
Shahan-mik3
5a29c11df8 whyred: Import data-ipa-cfg from LA.UM.6.2.r2-03600-sdm660.0 2018-06-24 15:02:19 +05:30
Shahan-mik3
d984067760 whyred: Add libjson 2018-06-23 19:18:25 +05:30
Shahan-mik3
c1134bdfdd whyred: add ebtables and ethertypes 2018-06-23 19:18:25 +05:30
Shahan-mik3
77bef90267 whyred: Add snap cam 2018-06-23 19:18:25 +05:30
Vasishath Kaushal
2f88c3ba39 whyred: Add RCS targets 2018-06-23 19:18:25 +05:30
Vasishath Kaushal
0cb94facfb whyred: Use qcom power HAL 2018-06-23 19:18:25 +05:30
Vasishath Kaushal
8b43a02937 whyred: Import config.fs from qcom common 2018-06-23 19:18:25 +05:30
Vasishath Kaushal
1daa6ec151 whyred: Enable HW disk crypto 2018-06-23 19:18:25 +05:30