sdm660-common: Import AdaptLaunch and some other perf

* From LA.UM.8.6.2.r1-08600-89xx.0

Test: Better app launching time

Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
This commit is contained in:
Jabiyeff 2021-04-05 21:07:20 +08:00 committed by OdSazib
parent 3f8f243eda
commit 1607e1fe49
No known key found for this signature in database
GPG key ID: B678DBD07079B021
3 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,46 @@
<!--
/******************************************************************************
@file AdaptLaunchFeature.xml
@brief Implementation of Android Framework Learning Module
DESCRIPTION
Each feature has an xml file to define the components
===========================================================================
Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<!--
Follows "Data goes into elements, metadata goes into attributes"
-->
<Feature>
<Name>AdaptLaunch</Name>
<Libname>libadaptlaunch.so</Libname>
<Meters>
<SamplesRequired>4</SamplesRequired>
<Meter>
<Name>VmRss</Name>
<Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_FIRST_LAUNCH_BOOST</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
<Trigger>
<Primary>false</Primary>
<AsyncId>VENDOR_HINT_TAP_EVENT</AsyncId>
</Trigger>
</Triggers>
<Samples>120</Samples>
<Fields>
<Field>VmRss:</Field>
</Fields>
</Meter>
</Meters>
<IgnoredApps>
<App>com.king.candycrushsaga</App>
<App>com.tencent.tmgp.sgame</App>
<App>com.tencent.ig</App>
</IgnoredApps>
</Feature>

View file

@ -489,6 +489,12 @@ vendor/lib64/vendor.xiaomi.hardware.mlipay@1.1.so|785984e3c3b30671b78624484899dd
vendor/lib/libqti-perfd-client.so|08b0cd20dbc79645ee73ea4fdc5221d41d09588a
vendor/lib64/libqti-perfd-client.so|cd3def30b6d444430ea8cea8956623d9d165eb7a
# Perf - from LA.UM.8.6.2.r1-08600-89xx.0
vendor/lib64/libadaptlaunch.so|cf784401fc827e5195d595a6d855ec89ea8c22bf
vendor/lib64/libappclassifier.so|d5956c2dc9344ddcca0e78d84c393320c2e0cc97
vendor/lib64/libgameoptfeature.so|b135489d253f0a8d7884238fe7887eb85b87745d
vendor/lib64/liblearningmodule.so|a9390d0ef1ec82c97a61035ec686c1d094fdca98
# Peripheral manager - from LA.UM.8.2.r1-07500-sdm660.0
vendor/bin/pm-proxy|3182c937d93cc02c6721c053f57fc6794ad7edb3
vendor/bin/pm-service|d41dabf5e4830f93b267d668d37e72aedae48163

View file

@ -88,6 +88,10 @@ PRODUCT_PACKAGES_DEBUG += \
update_engine_client
endif
# Adapt Launch
PRODUCT_COPY_FILES += \
$(COMMON_PATH)/configs/lm/AdaptLaunchFeature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/lm/AdaptLaunchFeature.xml
# Audio
PRODUCT_PACKAGES += \
android.hardware.audio@4.0-impl \