This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.
Change-Id: Ibd808393f655fae73eba1065e53062be0b140d9a
This breaks in-game voice chat and audio in some messaging apps
causing it to plays with a higher pitch and speed, making it sound
like chipmunks.
Change-Id: Ic951a4fd43a4b647d5f6f271259a65be18289627
Similar to what we did for the camera app, unpin the launcher app from
memory as well. While the default launcher (Launcher3) isn't
particularly big, it doesn't make much sense to pin because the launcher
does not typically load new resources much. Most of its resources should
already be loaded in memory after it starts, so pinning the APK is
redundant.
The restricted cpuset is for system tasks that are
throttled because the screen is off. Google only
runs these tasks on the little cluster
to save power and we will follow suit.
If the prop "debug.hwui.skia_atrace_enabled" is enabled, too many
skia tracing calls will be printed in every frame. This has obvious
overhead on performance/power, and can cause many janks. So disable
it by default, and user can set it manually if necessary.
* This is to allow supporting WiFi 6 mobile hotspots,
to be noted this is only supported on SDM855+ platforms.
Change-Id: Iab61bd12499968e8823b3078acd1c7b8bce46136
* Automatic Channel Selection algorithms and implementations
are used to enable interfaces to automatically figure
out which channel configuration to use for initiating
communication, for any mode of operation which initiates
radiation (AP, Mesh, IBSS, P2P).
https://wireless.wiki.kernel.org/en/users/documentation/acs
Change-Id: I5c95994ea52495990cf9244c703bc88db170f7f6
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
persist.mm.enable.prefetch, if set to true, will enable
prefetching of video input from upstream source to help
improve playback performance for high frame-rate and
high bitrate content
Change-Id: I814785befd9844364afb50eb7d48439406ae0750
Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
* As per qualcomm - "SM8150/SM8250/SM8350/SM7250/SM7150/SM6150 - KPTI Not
required".
* It can also help increase performance by a lot in some scenarios.
* Perf-hal tries to access the nodes but requires permissions as reflected in the logs
* 11-10 19:25:50.044 1055 1080 E ANDR-PERF-OPTSHANDLER: Cannot open/create foreground cgroup file
* Implement DC Dimming preference
* Disable DC Dimming if it's not supported
* Implement HBM switch
* Adapt HBM and DC dimming settings to S style
* Define DC dimming and HBM nodes / keys in one place
* Declare exported flags in manifest
* Fix compilation for QPR1
* Fix compilation for Android 15
* Adapt to sm8350-common devices
Co-Authored-By: Nauval Rizky <enuma.alrizky@gmail.com>
Co-Authored-By: Adhitya Mohan <me@adhityamohan.in>
Co-Authored-By: TheScarastic <warabhishek@gmail.com>
Co-Authored-By: alibei <sebastiankotzias83@gmail.com>
Co-Authored-By: kamikaonashi <thorschi93@gmx.at>
When the app's default thermal profile was different from the standard
one, it resulted in not being able to set it back to the default mode.
Fixes 37a15544 ("sm8350-common: parts: Automatically determine thermal profile for apps")
Change-Id: I5029cfc72194a93f7ab693b6b6aa966066d7c3bf
* icon taken from https://fonts.google.com
Signed-off-by: Pabloescobar-reborn <pabloescobarreborn77@gmail.com>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Switch and SwitchCompat are both CompoundButton.
Using CompoundButton in Java will helps migration in the future.
Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
Change-Id: 68fed5cda7f4c17aab13ga47e6e212b97b22c2bf
Signed-off-by: kenway214 <kenway214@outlook.com>
peridot: sepolicy: allow parts to get SettingsLib prop
ThermalSettingsFragment's use of ApplicationsState includes a
check of whether a package is an instant app or not. The function
isInstant() in AppUtils reads settingsdebug.instant.packages prop
to retrieve a list of instant packages for debugging purposes.
We do not actually use this property, but this check triggers an
SELinux denial for every package in the list and spams the logs
with permission denied errors. Get rid of these log spams by
allowing parts to read the prop.
Test: open the thermal profile settings and check logs
Signed-off-by: kenway214 <kenway214@outlook.com>
Co-Authored-By: Arian <arian.kulmer@web.de>
* Allow the compiler to take advantage of ARMv8.2 extensions
to improve performance in native executables, not
just Java code compiled by ART.
Change-Id: Idd3414de107f47a18c2769dc930e6c4bceacdc62
needed for using EdgeTpu.
Due to this code goes to AOSP, please see CL details and test result in
b/289097511#comment24.
Bug: 289097511
Change-Id: Ie0969309346cd85b4bb8ac71860a529710c73345