Commit Graph

374 Commits

Author SHA1 Message Date
Scott Warner 8d2cd274d2 sm8150-common: Update NFC apk hash
Change-Id: I2c3f90402883af8aaa0589630bdf29fbb6bbf481
2019-08-07 11:45:17 -04:00
LuK1337 97761fb639 sm8150-common: vibrator: Store VMAX and GAIN as strings
Change-Id: I1d3a6e2318fbbea6d33e8d16797ed7d712c9ea70
2019-08-07 17:22:37 +02:00
LuK1337 76d2e9ba24 sm8150-common: vibrator: Split performEffect() and on()
Change-Id: I951c2b6059cb2660fe98e2b3e0f7dfcec229ec5f
2019-08-07 17:13:21 +02:00
LuK1337 d34eb44fe3 sm8150-common: vibrator: Simplify everything
Change-Id: Iceb0c087eb2983f5e5ce81e27c0bf87677b13422
2019-08-07 16:22:37 +02:00
LuK1337 18e343d27f sm8150-common: vibrator: Disable amplitude control
Change-Id: I1635ca472ede60aa6a04277aee83feb431b97ad1
2019-08-07 16:07:52 +02:00
LuK1337 2ab127562a sm8150-common: vibrator: Pass proper looking loop and seq values
Change-Id: I861177ed0665afa50cba93098e276149286d1785
2019-08-06 23:29:53 +02:00
LuK1337 c489c9aa43 sm8150-common: vibrator: CTRL_LOOP -> LOOP
Change-Id: I468ddf0355f4b10b2f1d4b4d2b9ab1f819b8a0c3
2019-08-06 23:25:26 +02:00
LuK1337 7294e43d62 sm8150-common: vibrator: Store all vibrator effect presets in struct
Change-Id: Ic8856091ba33a1baedcb2c701140941e8405a031
2019-08-06 20:01:28 +02:00
Han Wang 397e961333 sm8150-common: Move libsdedrm to "Display" group
* Also put vendor/lib{64}/mediadrm on top.

Change-Id: I1bed9d787c6708c27a2090c6e5ab784d2b039581
2019-08-06 17:03:23 +02:00
Bruno Martins e0fa0a2874 sm8150-common: Remove wcnss_filter and all references to it
* No longer needed with QTI BT stack

Change-Id: I6c30349e177613adf943f20d1f27bcd0b936911d
2019-08-05 23:37:30 +02:00
LuK1337 2c0c161709 sm8150-common: Add missing "# A/B"
Change-Id: Ifbf1d8046babed07ef9070aea5a795e9fcc70b63
2019-08-05 23:37:30 +02:00
Jaekyun Seok 5289c2916f sm8150-common: Enforce RRO on framework-res
Overlays only for framework-res will be converted into RROs.

Other overlays can't be converted due to some known issues on app RRO.

Bug: 36231603
Change-Id: Idca30fdbbcc990fd124de16a06a112a346612a61
(cherry picked from commit db1b6058200fc5255f519cf6609fca7619d6743e)
2019-08-05 23:36:29 +02:00
LuK1337 9366a0819f sm8150-common: Unset BOARD_VNDK_VERSION
Change-Id: Ie9e8615eb7fe186dbb595fc3fa0d2bfc013b5d47
2019-08-05 21:06:30 +02:00
LuK1337 1a6c4a444a sm8150-common: Restore @1.0::IGnss/gnss_vendor fqname
Change-Id: Ie0ab1a919679d1832b090cb82c208004e39608a1
2019-08-05 12:41:55 +02:00
LuK1337 90a0ca988c sm8150-common: vibrator: Make sure to always reset control loops
Change-Id: Ib2d6144d7a9f53b580050339909c985ee128efb9
2019-08-04 16:56:40 +02:00
LuK1337 c50e560c3e sm8150-common: vibrator: Avoid writing to ACTIVATE_PATH twice
Change-Id: I49ef38fba98e8ff4f4a13a97cce56c3d67d52704
2019-08-04 16:56:15 +02:00
LuK1337 f63996e4ec sm8150-common: Implement custom Vibrator 1.2 HAL
* 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
2019-08-03 19:17:56 +02:00
LuK1337 91c9ddcec8 sm8150-common: Go back to AOSP vibrator HAL instead
* OnePlus HAL does not handle duration properly,
  vibrating once for a short period of time instead.

Change-Id: I667283a12a90086257a4b3231ab133e759140721
2019-08-03 13:32:13 +02:00
LuK1337 89cea58bef sm8150-common: Set proper permissions for {vib}/ignore_store
Change-Id: Ic176a9a64980c5f7abe9f72741d908a9fa5ccab9
2019-08-03 11:41:59 +02:00
LuK1337 0b0f9f6060 sm8150-common: Drop most of unnecessary fqnames
* These are only needed in case we want to
  advertise interfaces with different version
  than the HAL definition itself (see DRM).

Change-Id: I6c5e7625ea8f0150fd9e68807a20166fe6c57b09
2019-08-02 12:35:22 +02:00
Han Wang 9a152d5d26 sm8150-common: Enable TARGET_USES_DISPLAY_RENDER_INTENTS
Change-Id: Idb764aee4380d9892ead2af832a5d236552211d8
2019-07-31 11:16:14 +02:00
LuK1337 5ef588c7bb sm8150-common: Enable triple buffering as per CAF config
Change-Id: I7432678a56887eed6b2b979484510bbdfa470faf
2019-07-31 11:15:23 +02:00
Ethan Chen 7dd985a554 sm8150-common: Drop custom display flags
* TARGET_USES_NEW_ION_API, TARGET_USES_OVERLAY and
  USE_OPENGL_RENDERER are largely deprecated.

Change-Id: If2892c83726c3558a96b28a8404f49982ebb9ba0
2019-07-31 11:11:55 +02:00
Logan Chien 54e6eda429 sm8150-common: libgptutils: Replace libsparse.so with libz.so
This commit replaces sparse_crc32() with crc32() from libz.so because
libsparse.so won't be vendor available.

Bug: 38303202
Test: android builds
Change-Id: Ib318da74b5d55f729cbd40d9a62da53e6316fe7b
2019-07-30 14:58:02 +02:00
LuK1337 83659d7ba7 sm8150-common: Rename vibrator HAL to vibrator.msmnile.so
Change-Id: I233da19a8710c0f8047ecec47a4fd8d1327bd146
2019-07-30 12:32:18 +02:00
LuK1337 a9f729ebcb sm8150-common: Update qti-telephony-common.jar sha1sum
Change-Id: Ib4f1771eecf0d08a9c0f6685c9ca453ddda764e1
2019-07-30 00:11:13 +02:00
LuK1337 9a760c4669 sm8150-common: Build libdrm×libdrmutils from source
Change-Id: I4677dde2852a4507e52b6076dca6cdf5ace419c8
2019-07-29 19:51:40 +02:00
LuK1337 74200ccb93 sm8150-common: Build most of display HAL stack from source
* TODO: figure out why oss hwcomposer and sdmcore does not work.

Change-Id: I8a276230b28f48ad38f4bd92d56742850d71aae1
2019-07-29 19:34:57 +02:00
Luca Stefani 81b7eec501 sm8150-common: Add QC location support
Change-Id: If363679650179a0a7fad7b01055760b49caf26ca
2019-07-27 16:40:51 +02:00
Ashwin R C f5585ee470 sm8150-common: Correct OnePlus 7 Pro 5G codename
Change-Id: I07528a92eeab98f053db41a8170871c4264a49d2
2019-07-27 13:53:30 +02:00
LuK1337 f9bd1913b8 sm8150-common: Switch to vendor.lineage.biometrics.fingerprint.inscreen permission
Change-Id: I0c71ea28544c254b30782776f8c7b903f53180e8
2019-07-24 00:03:00 +02:00
Scott Warner 5708989cd4 sm8150-common: Use stock vibrator
Change-Id: I4a955c300ad3208345e0937caabcc8c4b4626d57
2019-07-22 13:54:41 -04:00
LuK1337 1bc655a401 sm8150-common: Disable LiveDisplay display modes
Change-Id: I2ad937e7f9485f608f7548aa67f8a4ad57e8c982
2019-07-22 09:59:23 +02:00
LuK1337 3638c19f67 sm8150-common: Build some soundfx/audio related stuff from source
Change-Id: I552c9935f7fc9d0fb65322ba25537f42f68520e0
2019-07-21 14:53:16 +02:00
LuK1337 64f5ce4d6e sm8150-common: Build some OnePlus HIDL interfaces from source
Change-Id: If02fe5ce09d1c5ab82bd08b4510150308580a2d1
2019-07-21 14:18:53 +02:00
LuK1337 53801c075b sm8150-common: Build vendor.display.config@1.7.vendor from source
Change-Id: I43e3321a6e1617ffb352ec9d6fab265271049c88
2019-07-21 13:13:53 +02:00
LuK1337 d64d5bad98 sm8150-common: Build OMX from source
Change-Id: Ib9632b7d9dbf405b8b72ac65781f4991796fc55e
2019-07-21 12:38:19 +02:00
Pranav Vashi e1be89b0c8 sm8150-common: Enable Wi-Fi MAC randomization
Change-Id: Ibcabf871f0e35a6f81905392f749478f96b3c47d
2019-07-18 19:39:06 +02:00
Scott Warner 2386a3b655 sm8150-common: Update NxpNfcNci sha1
Change-Id: Iada161b6e7821bb83d4ad9400c34f64f57383d70
2019-07-18 09:39:27 -04:00
LuK1337 b765866a4e sm8150-common: Drop a630_gmu.bin too
Change-Id: I3a8e83ca3382cb0dcc89f49147f47c0254bf4806
2019-07-18 12:22:17 +02:00
LuK1337 ad3426d043 sm8150-common: Drop unused adreno FW
Change-Id: I4b5d2fd3083ef671af27f04edb908893098d1c8b
2019-07-18 02:18:55 +02:00
Scott Warner 2878592eec sm8150-common: Update NxpNfcNci sha1
Change-Id: Ib123e94f9b545d8a59741a7857b4376cc1e4a932
2019-07-17 19:27:18 -04:00
LuK1337 baf62e8a5c sm8150-common: sepolicy: Label persist.vendor.diag.max.{num,size}
Change-Id: I9c04cf2d29315b67eea9fd41b4d80464510b1a11
2019-07-17 23:51:45 +02:00
LuK1337 157d73f409 sm8150-common: Switch to enforcing
Change-Id: I74855e483a80c3be5096c815f4c15c38e66b340e
2019-07-17 23:19:49 +02:00
LuK1337 f2b11f7b56 sm8150-common: sepolicy: Address hal_audio_default denials
Change-Id: I67b064ccf1d84ca4b891f1cdb4f4d6ecebdbce23
2019-07-17 23:13:36 +02:00
LuK1337 3662278479 sm8150-common: sepolicy: Address hal_param_default denials
Change-Id: I387a629e82dbcea74567eb203b99c361238e9c09
2019-07-17 23:13:36 +02:00
LuK1337 bec6f7bcdd sm8150-common: sepolicy: Correct camera helper package id
Change-Id: Ief458fa8009eda5c115bdf228feed9e0561b58a7
2019-07-17 01:38:49 +02:00
LuK1337 b5b65b7979 sm8150-common: rootdir: Mark all modules as 'optional eng'
Change-Id: I4c57d369d6f577865cf7082ca58ac7e651c0f02f
2019-07-15 13:46:43 +02:00
LuK1337 ec3187c076 sm8150-common: soong: Strip empty lines at end of files
Change-Id: Ib4806032eaf4ef1631d335f7b274a76b545b2e2b
2019-07-15 12:31:22 +02:00
Peter Cai 8c8601125f
sm8150-common: sensors: use soong config instead of properties 2019-07-15 12:24:51 +08:00