* This HAL implements interface needed for
amplitude control and use of vibrator effects:
- click
- double click
- tick
- heavy click
- pop
- thud
* The implementation was inspired by darkobas's
OmniROM HAL but it was totally rewritten by me.
Change-Id: I8574c5676bfb8711222e864394d77dcd7042956f
* Based off android_device_oneplus_oneplus3 doze app but
with proximity related features stripped out and updated
pickup sensor name.
Change-Id: I9f81b153948069cd4370c75817f12e91f6869e1d
* It seems that the stock GNSS blobs has some modified header files,
causing incompatibility with the OSS GNSS HAL. For now, let's just
switch to stock ones.
* OnePlus does not use wlan_mac.bin to store the MAC addresses, but
qcacld expects this file. Instead, OP stores the MAC in oemnvitems,
which can be retrieved from `/data/vendor/oemnvitems`.
* We read the correct MAC addresses from these files, and then store it
properly to the paths that qcacld expects.
* This was kanged from msm8998-common
(6f8e20feb8 (diff-db7000ec192d00397a3c4523bcc899d4))
* Sadly, out-of-the-box Miracast support was killed in P, so
we need this to keep Wi-Fi display feature working.
* Additionally libwfdnative has been modified to load
libhidlbase.so instead of android.hidl.base@1.0.so using
following command:
sed -i 's/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/' proprietary/lib64/libwfdnative.so proprietary/lib/libwfdnative.so
Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
* Added a kernel interface at `/proc/touchpanel/gesture_dt2w` for easier
interaction with power HAL.
* Add parameter to OSS power HAL to use this interface
* Added keycode for touchpanel to wake up the device
* TODO: Maybe add support for more touchscreen gestures?
* with a full vendor image, we can modify the sensors hal as we want. We
can replace the reported sensor type directly from HAL, instead of
relying on a framework patch.
* Somehow the OSS HAL always fails with timeout awaiting for driver
ready. The `wlan0` interface just does not show up with OSS HAL. For
now, let's just live with the stock ones..