On builds where A/B support is enabled the system image acts as the
rootfs. In this case we can no longer create the non-hlos image mount
points at run time as we used to. We now create them as part of the
build itself.
Change-Id: I30d98f7c50fca3ce7117b9b8d87150655bb5b440
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
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
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>
Removed unused code and added generic hint handling to power.c file,
does not need to be device specific anymore.
Change-Id: I0d4e2a73de0ce4d3735314d2e49ba58c23eb313c
* Sadly, out-of-the-box Miracast support was killed in P, so
we need this to keep Wi-Fi display feature working.
Change-Id: Ieff24313d55a60ca1898430113f0a8b00acfc6a0
Add pselect6 and eventfd2 syscalls
Includes following:
mediacodec: allow sendto and recvfrom syscalls
mediacodec: allow lseek syscall
mediaextractor: allow pread64 and readlinkat syscalls
mediacodec: allow getdents64, sysinfo and getcwd
Vendor extended policy files are separated from the aosp
and will now reside in /vendor
Change-Id: If59d04b36d744efb74209ae36e76dd16cb18f606
CRs-Fixed: 2027600
Add device compatibility matrix to common project and
targets can point the build variable DEVICE_MATRIX_FILE to
this file to build device compatibility matrix.
Change-Id: If8e75c5ee8de0ef50d6937ffbd6453fb3f5eb648
Instead of bind mounting /dev/null over the vendor binaries,
force the services to be stopped right whenever those are running.
This also reverts commit 1501593 and workarounds the neverallows,
because system init can't bind mount vendor exec files.
Change-Id: Ia5e723b837e547b9e2cebe47accdaa2356e1d694
* On TREBLE devices, most coredomains should not access vendor_files.
For this reason, vendor.display.color@1.0.so must be present in /system
so that libsdm-disp-apis.so can dlopen it.
Change-Id: I850b123ea23dd3e7cc74ee9708e781748561df06
* Fixes non-working pulse notifications from sensors until user toggles
the main switch and also sets the proper initial status of the
AoD preference for the devices that have the feature available.
Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
Change-Id: I8e554decca3734b165fdc722d904d90713666db9
* Avoids the following warnings on every single rebuild of anything:
build/core/Makefile:28: warning: overriding commands for target
`/out/lineage-16.0/target/product/polaris/system/framework/qti-telephony-common.jar'
build/core/base_rules.mk:412: warning: ignoring old commands for target
`/out/lineage-16.0/target/product/polaris/system/framework/qti-telephony-common.jar'
Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
* All new devices launching with Android 9 must use system-as-root,
which is the case of MIX 3 (perseus). Move stuff that goes against
such setup to the individual device trees.
Change-Id: I1178d0ac197634547e5771b3ae4e9cf6e15db3c8
* There's no need to manually write to the gestures prefs
as long we are sure the handler is run after we return true
in the onPreferenceChangeListner
Change-Id: I090c0c6c91267aff69c45365b95b5f5e26d07b07
* This makes the always on display mode feature visible for those
devices that explicitly set it as available via AOSP overlay.
Should only be enabled on devices where the display has been tuned
to be power efficient in DOZE and/or DOZE_SUSPEND states.
Change-Id: If543936f9421dd7a6c0be594f7cb76afb227e34b
Using the wall clock will cause boosts to be disabled
when/if the clock is adjusted backward.
Bug: 29191415
Bug: 29208304
Change-Id: I8af5f40b46d996ce7bccb8324fc186e2f3a5b267
* 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
Some telephony modules require access to
platform APIs, i.e. @hide, and hence need
to be white-listed. This change white lists
these packages.
Change-Id: I1dfd9478b59f52350e4e7ecfdb2b80f1178cfd9c
CRs-Fixed: 2219897