Commit graph

947 commits

Author SHA1 Message Date
SamarV-121
7ba00d555d Revert "sdm710-common: Generate the apex image."
This reverts commit def6db396f.
2019-12-17 06:31:46 +00:00
SamarV-121
e5290ac1ee Revert "sdm710-common: Add updatable_apex.mk"
This reverts commit 9414a0fa4e.
2019-12-17 06:31:42 +00:00
SamarV-121
228771ede1 Revert "sdm710-common: Add a new list of pinned file for the JIT in zygote experiment."
This reverts commit b0c49080c7.

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-17 06:31:15 +00:00
luk1337
2c0dbd4491 RMX1801: overlay: Enable config_fingerprintPostResetRunnableForAllCliens 2019-12-17 06:25:28 +00:00
SamarV-121
88d8016fd0 sdm710-common: Build libnl
* Add WfdCommon to bootjars

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-17 06:25:25 +00:00
SamarV-121
35f973ffca sdm710-common: Fix rounded corners in Q
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-17 06:25:21 +00:00
SamarV-121
c4eef6e799 sdm710-common: Cleanup useless flags and packages
* Do not enable hal3 by default
 * Remove snap too

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-17 06:25:15 +00:00
Vladimir Oltean
5a62a81993 sdm710-common: Sync extractors with templates
* This introduces fixup scripts and kang mode and fixes
   passing of arguments longer than one word,
   such as --section "Hello world".

Change-Id: I42dde659e9bea4f7e1c9a7a3fa8da3243774ca4e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:26:46 +00:00
xshu
b22c9667d8 sdm710-common: Enable connected MAC randomization
* Also revert commit cf6bc6c97bc55aff4b834b9e82cc1e5f8123f527

Change-Id: Ia3f58a44c2e072aaa6c711a9db37219626894c67
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:19:36 +00:00
SamarV-121
2d54794bd7 sdm710-common: Add perms for egis fp
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:19:29 +00:00
Bruno Martins
ec1143de1d sdm710-common: doze: Clean up proguard flags
Change-Id: If0250fb629417d36c2af7286bc0620e682c4576e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:19:24 +00:00
Bruno Martins
2bffd4d8c2 sdm710-common: Declare STATE_DOZE support
* This is required for Ambient Display to work properly.

Change-Id: Ibad86be4e1c43a221fc2224d0a8f8ca2c938a6c7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:19:09 +00:00
Lucas Dupin
a35b139c07 sdm710-common: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f5
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:19:03 +00:00
Bruno Martins
a24d7a5d35 sdm710-common: Ship proper postprocessing soundfx libs
* The lib responsible for audio postprocessing (libvolumelistener)

Change-Id: I27d631e5fea0dbd338c18a529b26d1ef700affd7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:18:55 +00:00
SamarV-121
e6235ebfb8 RMX1801: fingerprint: Don't limit FPC to the system-background cpuset
* Improves speed lilbit

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:18:09 +00:00
SamarV-121
66ff3b0565 sdm710-common: Cleanup proprietary blob list
* also use ims.apk and qti-telephony-common.jar only from davinci
 * Add power-off alarm framework
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-08 06:16:38 +00:00
Luca Stefani
ea2559bd96 sdm710-common: Build only 64bit power hal
Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:56:07 +00:00
tomascus
1012b94af9 sdm710-common: power: Don't use SCROLL_PREFILING
The current use of the SCROLL_PREFILING hint hurts scroll performance
and results in a lot of dropped frames.

The hint ID corresponding to SCROLL_PREFILING only takes into effect for
a default timeout value of 80 ms (as found in perfboostsconfig.xml),
while the duration value in the process_interaction_hint function runs
for a much longer time, from 1500 ms up to 5000 ms (bounds of
kMinFlingDuration and kMaxInteractiveDuration). During the period
of time, when the timeout value has elapsed and current time is less
than duration, another interaction hint cannot be processed. Therefore,
if the user decides to scroll during this period, high frame drops can be
experienced as the CPU freq isn't raised by processing another hint to
account for this additional scrolling.
By only using SCROLL_VERTICAL, fluidity can be maintained, improving user
experience.

Change-Id: I2fbde8b2db6710d262e9a058e0bc9c02e524648c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:54:38 +00:00
tomascus
18960a4972 sdm710-common: power: Release launch boost perflock when launch is completed
Currently, the launch boost perflock is held for a fixed duration, either
specified in perfboostsconfig.xml for perf HAL platforms or hardcoded in the
powerHAL for non-perf HAL platforms.

Using a fixed duration for this perflock has two shortcomings:
* perflock can be held for too long, causing the CPU freq and other resources
  to be boosted for too long even if the application has finished launching,
  resulting in excessive battery drainage
* perflock can be held not long enough if it takes more than the timeout
  time to finish launch

The framework sends out a powerhint for both when launch starts and when
launch ends. The launch finish hint can be used to signal when to release the
perflock.

Reference: Wahoo power-libperfmgr

Change-Id: I405cc453c5f58d9fb2583b9c6017f3964a0ce024
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:54:26 +00:00
Giuseppe Barillari
fa987c9474 sdm710-common: Override stock power HAL service definition
The service must be made part of the input group,
so that the power HAL can access the input nodes present
in the different targets.

Change-Id: I30a7bde8aebac4b76cbf59f5f795ea245aba1014
Signed-off-by: Giuseppe Barillari <joe2k01dev@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:54:16 +00:00
Ananth Raghavan Subramanian
b12655e6b3 sdm710-common: power: Clean up code and add generic hint handling
Removed unused code and added generic hint handling to power.c file,
does not need to be device specific anymore.

Change-Id: I0d4e2a73de0ce4d3735314d2e49ba58c23eb313c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:54:06 +00:00
Rajashekar Adi
d735112eeb sdm710-common: power: Fix for VNDK compliance issue
VNDK flag enablement for P upgrade

Change-Id: I033c3d9c8a1ee1e7f52a6398ae989becd66d161e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:53:55 +00:00
Vinay Verma
5b607c28d5 sdm710-common: power: Fix VNDK compilation errors
VNDK restrictions doesn't includes standard headers by
default, add them explicitly.

Change-Id: I4c72a28ffa141ecadcfe47cc7c1f62f2a0c8576e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:53:47 +00:00
Wei Wang
f945859627 sdm710-common: power: Use monotonic time for interaction boost
Using the wall clock will cause boosts to be disabled
when/if the clock is adjusted backward.

Bug: 29191415
Bug: 29208304
Change-Id: I8af5f40b46d996ce7bccb8324fc186e2f3a5b267
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:53:37 +00:00
BeYkeRYkt
3d731adb1f sdm710-common: power: Handle launch and interaction hints
* MP-CTL does not handle POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
   directly. Requests for processing are sent by Qualcomm BoostFramework
   (QPerformance) at the framework service level. Since we do not have
   BoostFramework, process POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
   in PowerHAL to ensure a sufficient level of performance.
 * For proper operation, perfboostsconfig.xml file is required.

Change-Id: I9fedcbaa189147c91d932711c831c2ce038a7ec7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:53:21 +00:00
Steve Kondik
58c18cd468 sdm710-common: power: Add support for tap-to-wake feature control
Change-Id: I545902b29f4828c127bc32def6e30b67ce4a3aa7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:53:07 +00:00
Bruno Martins
311ead102a sdm710-common: Import QCOM power HAL
Change-Id: Ia4fe5dd8e0240955b7d2199e3e1d6743138b511d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-01 12:52:29 +00:00
SamarV-121
767781bf36 DNM
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:55:11 +00:00
Wang Han
c142b3ca6f sdm710-common: Enable config_postResetRunnableForAllClients
* Without this, fingerprint stops working after using it
   for the first time.

Change-Id: Ibdcdf8f1b5beaf481f2a7a9fd8ad199494161502
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:52:16 +00:00
Luca Stefani
e0cbbd78b7 sdm710-common: Notify client when fp cancelling succeeded
Change-Id: I49bb7ef9c46134562da55ac2a1c53363704ed7d6
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:48:27 +00:00
Ethan Chen
9e69d97cd2 sdm710-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:09:10 +00:00
Andrew LeCain
b86fd1c6fe sdm710-common: Adding uhid permissions to default fingerprint rc
Test: Sailfish has fingerprint present
Bug: 120112580

Change-Id: I11c3bf02ddb2102a6d326a35e360e067812b0b75
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:08:37 +00:00
SamarV-121
6bc03c5391 sdm710-common: Bind mount vendor.oppo.hardware.biometrics.fingerprint@2.1-service.rc
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:07:59 +00:00
Anton Hansson
5221fa9128 sdm710-common: Set cpu "runtime variant" to cortex-a75
This makes bionic and various art tools that compile/runs cpu-specific
code choose the cortex-a53 variant at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:07:03 +00:00
Bruno Martins
a91998b826 sdm710-common: overlay: Pin the same RenderScript libs as stock
Change-Id: I13b087d186b8509bf35130835b89812fee7abc05
2019-11-30 09:03:31 +00:00
SamarV-121
b14b08ac24 sdm710-common: overlay: Update pinner service
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:01:03 +00:00
SamarV-121
08575fecb0 sdm710-common: Disable doze for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-28 14:56:17 +00:00
LuK1337
9dcd79999e sdm710-common: Copy up to date handheld_core_hardware to system
* Vendor one is outdated and therefore we lose stuff
  like secure lockscreen...

Change-Id: I458867b3b322ad754b78877209b7f4d8fb78eb38
2019-11-28 14:54:19 +00:00
SamarV-121
6d8e8d4426 sdm710-common: Update touchscreen firmware
* Fixes touch not working after boot

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-27 11:54:48 +00:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
b7a5650490 sdm710-common: Remove seclabel for rutilsdaemon 2019-11-27 11:49:31 +00:00
SamarV-121
9934de7ac2 sdm710-common: Nuke sepolicy for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-27 11:48:54 +00:00
Jan Altensen
4d2f98e365 sdm710-common: sensors: also import multihal
Change-Id: Ife216d32c81e7d9205a2a6651a6729ce9cd70187
2019-10-12 09:53:50 +00:00
SamarV-121
f0f565130f sdm710-common: Drop DPM blobs
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:50:51 +00:00
dianlujitao
aeacc5af5f sdm710-common: Create system copy of ims-ext-common and add to classpath
* Our ims.apk doesn't load ims-ext-common.jar, and it's moved to /product
   on 10 where PRODUCT_BOOT_JARS doesn't work.
 * Create a system copy of the jar and add it to boot classpath to make
   it loadable from the apk without extra work,

Change-Id: Ia530a530bd4469e12500410fc5e8ba393de60b18
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:48:23 +00:00
Brad Ebinger
638cd12002 sdm710-common: Enable FEATURE_TELEPHONY_IMS for these devices
Bug: 118823723
Test: checkbuild
Merged-In: I69fd98160e852b371331a7bc169c7c97dd37f011
Change-Id: I69fd98160e852b371331a7bc169c7c97dd37f011
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:47:26 +00:00
LuK1337
722e3cdafa sdm710-common: Update device/qcom/sepolicy include paths
Change-Id: I5c242b8db7e92d753d19bf9c42f2394b9e6a0c6a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:41:58 +00:00
LuK1337
172e69cd0d sdm710-common: Make SELinux great again!
Change-Id: Id479e031b584b24f79377aa244add20903a42b02
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:41:10 +00:00
Nicolas Geoffray
b0c49080c7 sdm710-common: Add a new list of pinned file for the JIT in zygote experiment.
Bug: 119800099
Test: adb shell dumpsys pinner
Change-Id: I44596d11f7444551a9898373a068556d49a1a4e6
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:39:24 +00:00
Nicolas Geoffray
ca10dd1e9d sdm710-common: Adjust pinned files following runtime module work.
Test: adb shell dumpsys pinner
Bug: 119868597
Change-Id: I83c709accb32d0f2c341179dbc5dcd6d7ec75d8a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:39:09 +00:00
Jiyong Park
9414a0fa4e sdm710-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:38:48 +00:00