Commit Graph

146 Commits

Author SHA1 Message Date
LuK1337 6fb2a849f4 sm8150-common: fingerprint: Brackets should be here
Change-Id: I8093287b3f4e1b1d0c3deff384a1cb5e6e17dbff
2019-07-03 02:14:18 +02:00
LuK1337 755f75839f sm8150-common: fod: Sync with sdm845-common
Change-Id: I2f12dbe73e271cb1b12cf8a5a4f1e7a59e2e9bcc
2019-07-03 02:06:10 +02:00
LuK1337 0f1e326a5f sm8150-common: Get rid of framework_*.mk
Change-Id: I89db15b83564fc7fc0081afbc1b53b7a1caa46aa
2019-07-02 23:49:15 +02:00
Danny Baumann 2f76c010f5 sm8150-common: Add touchscreen gestures HIDL HAL
Change-Id: I02380e387f01fe20f984d2e6daa095f2056c03f9
2019-07-02 23:49:15 +02:00
LuK1337 6c38da437e sm8150-common: Drop custom touchpanel keylayout
* No longer needed.

Change-Id: Idcd074fe6f61221821877087687a12b4ea2c62f5
2019-07-02 23:05:23 +02:00
LuK1337 a2891a4c46 sm8150-common: Update dt2w node
Change-Id: Iaa24fb587952952e30d51e4f5a738e39d26909bf
2019-07-02 22:59:03 +02:00
LuK1337 9f7ed6cc78 sm8150-common: fod: Implement handleAcquire, handleError()
Change-Id: Ica796fbd468e2df0ee666a0d0c6cbde628d6989f
2019-07-02 15:05:43 +02:00
LuK1337 e0bb872092 sm8150-common: fod: sdm845 -> msmnile
Change-Id: I813c616cebcd053b24e565f0fb5f710e1321acb8
2019-07-02 13:15:00 +02:00
LuK1337 5989333d36 sm8150-common: fod: Drop netlink related code
Change-Id: I90531b222b5f67845a0e8d240953cebacbb9860c
2019-07-02 12:39:48 +02:00
Peter Cai aa2a51329d
sm8150-common: fod: prettify soong variables 2019-07-02 18:28:12 +08:00
Daniel Hillenbrand 255563ba50 sm8150-common: read wlan / bt mac addresses from NV
* 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))
2019-07-02 17:51:16 +08:00
Peter Cai 37474082d5 sm8150-common: ueventd: add /vendor/firmware to firmware paths 2019-07-02 17:51:16 +08:00
LuK1337 38e2b50a99 sm8150-common: fod: Add back missing nullptr checks
Change-Id: I5077d989e21f788e15c70a8045def65444f3e615
2019-07-02 11:18:49 +02:00
LuK1337 6914430a3b sm8150-common: fod: Use proper way of handling fingerprint events
* This device uses netlink to notify userspace.

Change-Id: Ie727cdd175893b55d47b3b54940208a266c86505
2019-07-02 10:57:51 +02:00
Peter Cai f36ea1ade1
sm8150-common: fod: implement position / size interface
* pass the position and size as SOONG_CONFIG_ variables. see guacamole
tree for example.
2019-07-02 14:52:47 +08:00
LuK1337 f2aa152027 sm8150-common: overlay: Disable config_allowAutoBrightnessWhileDozing
Change-Id: I6b506e9cfa0dee9cb63c92fa66f68d4b7548c9db
2019-07-01 23:56:51 +02:00
Bruno Martins 0bd4970200 sm8150-common: overlay: Declare STATE_DOZE support
* This is required for Ambient Display to work properly.

Change-Id: Ibad86be4e1c43a221fc2224d0a8f8ca2c938a6c7
2019-07-01 23:56:48 +02:00
LuK1337 ceada27b00 sm8150-common: overlay: Set config_screenBrightnessDoze to 17
Change-Id: I4b20a380e712125821e330c3b4a6445928f02a83
2019-07-01 23:20:15 +02:00
LuK1337 57944fd7ba sm8150-common: overlay: Reset config_displayBlanksAfterDoze to default
Change-Id: Iea605534c06fc9186617bb25162ea408cd54db97
2019-07-01 23:19:54 +02:00
LuK1337 a1efcb2909 sm8150-common: overlay: Don't use openLegacy() for Snap
* This prevents opening front cam twice.

Change-Id: I6c1c3d8817cfa632379b91dc5a491507d9c9bd10
2019-07-01 22:35:12 +02:00
LuK1337 cc9c51c687 sm8150-common: overlay: Clean up
* Remove weird/wrong/missing options
* Sync copyright headers with appropriate files
* Sync comments

Change-Id: I9cfe6e331d7de3c96fc5813dda4983897c375fb5
2019-07-01 20:11:26 +02:00
LuK1337 1fee64762f sm8150-common: overlay: Enable Wifi Display related stuff
Change-Id: Ia74ab9137f6660a3f7f730a25d25b260ef2c893a
2019-07-01 19:30:44 +02:00
LuK1337 e2eef9fdf9 sm8150-common: overlay: Remove config_supportSystemNavigationKeys
* Yeah, I don't think we support that.

Change-Id: Ied4cb798887c21e4026f543e412a881e5417b004
2019-07-01 19:25:27 +02:00
Jesse Chan b5d39c0deb sm8150-common: overlay-lineage: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2019-07-01 19:11:10 +02:00
LuK1337 c9a4fc263d sm8150-common: overlay-lineage: Set hardware (wake) keys
Change-Id: I19e056ae0f944837f8beea8c6832116aa0cb19c8
2019-07-01 19:10:32 +02:00
LuK1337 a114285174 sm8150-common: overlay-lineage: Add missing copyright header
Change-Id: If962069705c3ae191b56ec02e24985c13bd24fb6
2019-07-01 19:09:13 +02:00
LuK1337 9477c121f0 sm8150-common: Declare android XML namespace for nfcee_access.xml
Change-Id: I138d8e56bbc12f6c7d8b4c0050a6fb7f2dcb082f
2019-07-01 17:46:41 +02:00
LuK1337 e2f0d8c5af sm8150-common: Remove unnecessary system OnePlus HIDL libs
Change-Id: I48f299d77ce6788a63bf612846b3d028467b2c93
2019-07-01 17:46:39 +02:00
Artem Borisov 035687f7db sm8150-common: Add QCOM's WFD implementation
* 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
2019-07-01 15:53:57 +02:00
LuK1337 d387574dfc sm8150-common: Sync extract-files.sh with sdm845-common
Change-Id: I4d8097ee18939b18970508702eb2177d2d4e574d
2019-07-01 15:31:18 +02:00
LuK1337 9bdc2d9b24 sm8150-common: Remove unnecessary empty line
Change-Id: Iaecebcc6eb231205249f893c2704bdb0c2dba147
2019-07-01 15:23:31 +02:00
LuK1337 9097849d49 sm8150-common: Sort proprietart-files.txt
Change-Id: I23abc5ab292ada961fffc350a72339b8caa9d7cd
2019-07-01 15:23:08 +02:00
Luca Stefani 78132f3133 sm8150-common: Enable color matrix support
Change-Id: Ie41804259511e3d66a3528c7a4e2cca57d90970e
2019-07-01 15:14:06 +02:00
LuK1337 7ce41f3bd6 sm8150-common: Build libwifi-hal* from source
Change-Id: I18e1b893184da5ee596c608e03e247564c447b0b
2019-07-01 15:05:34 +02:00
LuK1337 f6a6440932 sm8150-common: Reformat vendor_props.mk
Change-Id: If831ce0f33637128d3a65ca77aca8467745b2dbb
2019-07-01 14:40:56 +02:00
LuK1337 c4f58ee8bd sm815-common: Remove unnecessary 'subdirs'
Change-Id: I2f67f8c8e85ebcbec440627878fa496b1c667d14
2019-07-01 14:21:39 +02:00
LuK1337 308c28a83e sm8150-common: Add interfaces/update-makefiles.sh
Change-Id: I9b3c0a1534672bb7fd7a69e2d52fb8e8d8a74897
2019-07-01 14:20:31 +02:00
LuK1337 ce50ebe09d sm8150-common: fod: Sync with sdm845-common
Change-Id: Ic977ddf7e61bba656bd973355a767052f825878c
2019-07-01 14:16:22 +02:00
LuK1337 5d3f18b7bb sm8150-common: tri-state-key: Remove useless logging
Change-Id: Iaa31113ab3804b0712f1870d61d17553a4502c0a
2019-07-01 14:12:25 +02:00
LuK1337 d20691396b sm8150-common: Reformat fingerprint rc file
Change-Id: Ie51dd9416cfd898fcc61b1b35914d487b31bc895
2019-07-01 13:52:37 +02:00
LuK1337 a65885e9b1 sm8150-common: Convert tabs to spaces in common.mk × vendor_props.mk
Change-Id: Ib4b69a107e2e85971454121caeee0194a11b0007
2019-07-01 13:50:10 +02:00
LuK1337 0092550d28 sm8150-common: Add debug IMS props to workaround CarrierConfig restrictions
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.

Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2019-07-01 13:46:25 +02:00
Łukasz Patron 219af86b09
sm8150-common: fod: Add support for fp_irq events
* IRQ events are used in Always-on Display mode, where the touch panel
does not respond directly to touch events.
2019-07-01 08:19:52 +08:00
Peter Cai 81a9dc6a9e
[WIP] sm8150-common: enable LiveDisplay HAL
* but it's not working.
2019-06-29 12:51:59 +08:00
Peter Cai 314420522e
sm8150-common: sensors: reduce log spam
* shut the sensors hal debugging information up.
2019-06-29 10:42:57 +08:00
Peter Cai f1ff6ccca0
sm8150-common: move camera motor matrix definition back
* This cannot be done in specific devcie tree because AOSP build system
doesn't allow it. It is optional anyway so move it back.
2019-06-29 08:59:01 +08:00
Peter Cai dafead9282
sm8150-common: manifest: move camera motor to guacamole
* only guacamole needs this
2019-06-29 08:29:34 +08:00
Ethan Chen 6d20c7365c
sm8150-common: Use Soong namespace to avoid device build conflicts 2019-06-29 08:17:35 +08:00
Peter Cai f07a5313d7
sm8150-common: enable default color mode 2019-06-28 21:25:47 +08:00
Peter Cai 277787f5d4
sm8150-common: proprietary-files: fix derp 2019-06-28 20:55:52 +08:00