Commit graph

163 commits

Author SHA1 Message Date
theimpulson
51751c88eb sdm710-common: Build FM2
Change-Id: I8623cc4662b9dfcd59a52a87f365e679968b19bb
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-26 17:57:13 +00:00
Bruno Martins
2de4736668 sdm710-common: Enable B-services aging propagation
Change-Id: I4ac0525933bb421f7d025c5e4c6a1de0f083c46e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-22 09:38:49 +00:00
Paul Keith
afd35536ef sdm710-common: Enable QCRIL radio power saving
Change-Id: I339d0fbec60b554c6b7930162f5a917e052fc5a1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-22 09:37:19 +00:00
LuK1337
564b50eacd sdm710-common: Remove unsupported fstab flag
* fs_mgr: Warning: unknown flag reservedsize=128M

Change-Id: I39a8b2e4e1e3ff6d9c2258fd259298d08714e4e3
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-22 09:08:17 +00:00
SamarV-121
b629214af6 sdm710-common: Bind mount fstab.qcom
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-22 09:05:04 +00:00
SamarV-121
5159bc3568 sdm710-common: Fix derp
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:41:26 +00:00
Henrique Silva
0732095af8 sdm710-common: overlay: Ignore RSSNR signal level
Improve reception

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:34:53 +00:00
SamarV-121
63f047b775 sdm710-common: system_prop: Correct default network
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:24:15 +00:00
SamarV-121
def5e5332f sdm710-common: Readd Snap camera
*with camera api v2 support
 * Enable Camera API V2 by default too

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:22:17 +00:00
jhenrique09
12ba690e5b sdm710-common: doze: Follow Android 10 changes on switchbar
Change-Id: Ifad28dc874233eb41d89580895b769ecbc3ea670
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:17:24 +00:00
SamarV-121
cb71f930d5 sdm710-common: Build doze
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:15:10 +00:00
SamarV-121
f843867020 Revert "sdm710-common: Enable connected MAC randomization"
This reverts commit b22c9667d8.
2019-12-21 10:08:19 +00:00
jumoog
74b05ddf78 sdm710-common: removing AUDIO_OUTPUT_FLAG_RAW
removing AUDIO_OUTPUT_FLAG_RAW to disable ull playback which could cause creaking sound

Change-Id: Ifdde121b1eb289399a556ef9e086b300c0a0be45
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:06:56 +00:00
SamarV-121
59a3188e96 sdm710-common: Force enable d2tw
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:05:37 +00:00
Luca Stefani
657e1976e4 sdm710-common: Enable double tap to wake support
Change-Id: I78b853eada19aba7b4569c25b92073ca27bde548
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:04:30 +00:00
SamarV-121
d89fda11a3 sdm710-common: power: Remove dependency on generated kernel headers
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-21 10:03:46 +00:00
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