From 1607e1fe4991576241019793afa0ca1adf24ae80 Mon Sep 17 00:00:00 2001 From: Jabiyeff Date: Mon, 5 Apr 2021 21:07:20 +0800 Subject: [PATCH] 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 Signed-off-by: clarencelol --- configs/lm/AdaptLaunchFeature.xml | 46 +++++++++++++++++++++++++++++++ proprietary-files.txt | 6 ++++ sdm660.mk | 4 +++ 3 files changed, 56 insertions(+) create mode 100644 configs/lm/AdaptLaunchFeature.xml diff --git a/configs/lm/AdaptLaunchFeature.xml b/configs/lm/AdaptLaunchFeature.xml new file mode 100644 index 00000000..36bb4024 --- /dev/null +++ b/configs/lm/AdaptLaunchFeature.xml @@ -0,0 +1,46 @@ + + + + AdaptLaunch + libadaptlaunch.so + + 4 + + VmRss + + + true + VENDOR_HINT_FIRST_LAUNCH_BOOST + 1 + + + false + VENDOR_HINT_TAP_EVENT + + + 120 + + VmRss: + + + + + com.king.candycrushsaga + com.tencent.tmgp.sgame + com.tencent.ig + + diff --git a/proprietary-files.txt b/proprietary-files.txt index be170e23..5a19b0d7 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -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 diff --git a/sdm660.mk b/sdm660.mk index 07c6e00c..36ab0aac 100644 --- a/sdm660.mk +++ b/sdm660.mk @@ -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 \