garnet: Initial import
Change-Id: Ib229a3a4d2f8a1e602085fad2b6a757f994cdd99
@@ -0,0 +1,254 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"product": "garnet",
|
||||
"support": {
|
||||
"3rdcam_inhibit_enable": true,
|
||||
"oom_update_support": true,
|
||||
"cam_boost_early_enable": true,
|
||||
"cam_boost_early_boost_perf": true,
|
||||
"perceptible_support": true,
|
||||
"lmkd_perceptible_support": true,
|
||||
"dynamic_task_proctect_support": true,
|
||||
"thread_inhibit_support": true,
|
||||
"inhibit_tokill_cgroup_support": true,
|
||||
"inhibit_sysapp_cgroup_support": true,
|
||||
"hprof_dump_enable":false,
|
||||
"light_white_support": true
|
||||
},
|
||||
"oom": {
|
||||
"oom_level": "51200:0,89600:100,128000:200,179200:251,262144:701,393216:800",
|
||||
"psi_level": "28,20,13,8"
|
||||
},
|
||||
"threshold": {
|
||||
"skip_task": 2,
|
||||
"skip_task_lower": 1,
|
||||
"adj_threshold": 800,
|
||||
"lowAdj_threshold": 0,
|
||||
"3rd_lowAdj_threshold": 50,
|
||||
"cam_boost_threshold": 3145728,
|
||||
"kill_lowprio_sysapp_threshlod": 10240,
|
||||
"kill_highprio_sysapp_threshlod": 30720,
|
||||
"protect_locktask_num": 2,
|
||||
"kill_tag": 31,
|
||||
"3rd_skip_task_lower": 2,
|
||||
"3rd_kill_tag": 31,
|
||||
"update_state_delay_ms": 5000,
|
||||
"dynamic_interval": 5000,
|
||||
"free_memory_threshold": 524288,
|
||||
"restart_kill_duration": 1000
|
||||
},
|
||||
"kill_configs": [
|
||||
{
|
||||
"name": "pss_threshold",
|
||||
"config": {
|
||||
"com.tencent.mm": 1024000,
|
||||
"com.miui.gallery": 368640,
|
||||
"com.miui.home": 716800,
|
||||
"com.miui.personalassistant": 512000,
|
||||
"com.miui.miwallpaper": 409600,
|
||||
"com.xiaomi.bluetooth": 153600,
|
||||
"com.xiaomi.xmsf:services": 20480,
|
||||
"com.xiaomi.mtb": 15360,
|
||||
"com.miui.systemAdSolution": 35840,
|
||||
"com.modemdebug": 10240,
|
||||
"com.google.process.gservices": 20480,
|
||||
"com.milink.service": 40960,
|
||||
"com.miui.mishare.connectivity": 20480,
|
||||
"com.miui.presale": 25600,
|
||||
"com.qualcomm.qti.autoregistration": 10240,
|
||||
"com.android.settings": 35840,
|
||||
"com.lbe.security.miui": 30720,
|
||||
"com.miui.aod": 51200,
|
||||
"com.miui.miwallpaper.geometry:GeometrySuperWallpaper": 563200,
|
||||
"com.miui.miwallpaper.snowmountain:snowmountainSuperWallpaper": 563200,
|
||||
"com.miui.miwallpaper.saturn:saturnSuperWallpaper": 563200,
|
||||
"com.miui.miwallpaper.earth:earthSuperWallpaper": 563200,
|
||||
"com.miui.miwallpaper.mars:marsSuperWallpaper": 563200,
|
||||
"com.miui.voiceassist:core": 81920,
|
||||
"com.miui.securityadd": 102400,
|
||||
"com.mobiletools.systemhelper": 20480,
|
||||
"com.android.htmlviewer:remote": 40960
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "adj_threshold",
|
||||
"config": {
|
||||
"com.tencent.mm": 250,
|
||||
"com.miui.screenrecorder": 200,
|
||||
"com.miui.securitycenter:ui": 250,
|
||||
"com.miui.securityadd": 250,
|
||||
"com.milink.service": 250,
|
||||
"com.miui.mishare.connectivity": 250,
|
||||
"com.android.incallui": 250,
|
||||
"com.android.updater": 250,
|
||||
"com.mi.health:device": 250
|
||||
}
|
||||
}
|
||||
],
|
||||
"dump_app_configs": {
|
||||
"com.miui.home": 563200,
|
||||
"com.android.systemui": 563200,
|
||||
"com.miui.miwallpaper": 307200
|
||||
},
|
||||
"cpus_configs": {
|
||||
"limit-level0": "0-1",
|
||||
"limit-level1": "0-2",
|
||||
"limit-level2": "0-3",
|
||||
"limit-level3": "0-3"
|
||||
},
|
||||
"configs": [
|
||||
{
|
||||
"name": "protect_list",
|
||||
"config": [
|
||||
"com.tencent.mobileqq",
|
||||
"com.ss.android.lark.kami",
|
||||
"com.google.android.apps.photos"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "black_list",
|
||||
"config": [
|
||||
"com.miui.newhome:launcher",
|
||||
"com.xiaomi.smarthome:plugin0",
|
||||
"com.xiaomi.smarthome",
|
||||
"com.xiaomi.mipicks",
|
||||
"com.xiaomi.misettings",
|
||||
"com.android.settings:remote"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "perceptible_list",
|
||||
"config": [
|
||||
"com.tencent.mm",
|
||||
"com.miui.personalassistant",
|
||||
"com.xiaomi.bluetooth",
|
||||
"com.miui.securitycenter:ui",
|
||||
"com.miui.systemAdSolution",
|
||||
"com.google.process.gservices",
|
||||
"com.milink.service",
|
||||
"com.miui.mishare.connectivity",
|
||||
"com.miui.presale",
|
||||
"com.android.settings",
|
||||
"com.android.updater",
|
||||
"com.milink.service:core"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "white_list",
|
||||
"config": [
|
||||
"com.android.camera",
|
||||
"com.miui.miwallpaper",
|
||||
"com.miui.home",
|
||||
"com.miui.screenrecorder",
|
||||
"com.tencent.mm:push",
|
||||
"com.tencent.mobileqq:MSF",
|
||||
"com.ss.android.lark.kami:wschannel",
|
||||
"android.process.media",
|
||||
"com.android.traceur",
|
||||
"com.phonetest.application:CameraMemoryWatcher",
|
||||
"android.camera.cts",
|
||||
"android.camera.cts:errorLoggingServiceProcess",
|
||||
"com.miui.avpressuretest",
|
||||
"com.android.mms:mms_service",
|
||||
"com.xiaomi.xmsf:services",
|
||||
"com.xiaomi.mtb",
|
||||
"com.modemdebug",
|
||||
"com.qualcomm.qti.autoregistration",
|
||||
"com.lbe.security.miui",
|
||||
"com.miui.aod",
|
||||
"com.android.incallui",
|
||||
"com.miui.voiceassist:core",
|
||||
"com.mi.health:device",
|
||||
"com.miui.gallery"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "inhibit_app_list",
|
||||
"config": [
|
||||
"com.google.android.providers.media.module",
|
||||
"com.sohu.inputmethod.sogou.xiaomi",
|
||||
"com.google.android.apps.photos",
|
||||
"com.google.android.apps.maps",
|
||||
"com.google.android.inputmethod.latin"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "inhibit_sysapp_list",
|
||||
"config": [
|
||||
"com.lbe.security.miui",
|
||||
"com.mi.health",
|
||||
"com.milink.service",
|
||||
"com.miui.analytics",
|
||||
"com.miui.daemon",
|
||||
"com.miui.mishare.connectivity",
|
||||
"com.miui.securitycenter",
|
||||
"com.miui.voiceassist",
|
||||
"com.qualcomm.qti.workloadclassifier",
|
||||
"com.xiaomi.bluetooth"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "inhibit_native_list",
|
||||
"config": [
|
||||
"com.google.android.gms.persistent",
|
||||
"/system/bin/logd",
|
||||
"/vendor/bin/diag-router",
|
||||
"/system/vendor/bin/cnss_diag"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dynamic_protect_list",
|
||||
"config": [
|
||||
"com.tencent.mm",
|
||||
"com.tencent.mobileqq"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "intercept_restart_list",
|
||||
"config": [
|
||||
"com.google.android.youtube",
|
||||
"com.google.android.googlequicksearchbox:search",
|
||||
"com.android.settings:remote",
|
||||
"com.android.vending",
|
||||
"com.miui.analytics",
|
||||
"com.google.android.apps.photos",
|
||||
"com.miui.cloudservice:galleryproxy",
|
||||
"com.xiaomi.mipicks",
|
||||
"com.facebook.katana",
|
||||
"com.facebook.orca",
|
||||
"com.ss.android.ugc.trill",
|
||||
"com.telkomsel.telkomselcm"
|
||||
]
|
||||
}
|
||||
],
|
||||
"configs_cn": [
|
||||
{
|
||||
"name": "intercept_restart_list",
|
||||
"config": [
|
||||
"com.xiaomi.bsp.gps.nps",
|
||||
"com.android.settings:remote",
|
||||
"com.google.process.gservices",
|
||||
"com.google.android.gms",
|
||||
"com.google.android.gms.persistent",
|
||||
"com.google.process.gapps",
|
||||
"com.android.vending"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "inhibit_app_list",
|
||||
"config": [
|
||||
"com.google.android.providers.media.module",
|
||||
"com.sohu.inputmethod.sogou.xiaomi",
|
||||
"com.google.process.gservices",
|
||||
"com.google.android.gms",
|
||||
"com.google.android.gms.persistent",
|
||||
"com.google.process.gapps",
|
||||
"com.android.vending"
|
||||
]
|
||||
}
|
||||
],
|
||||
"threshold_8Gmem": {
|
||||
"recent_task_pss_threshold": 819200,
|
||||
"cam_boost_threshold": 2936012
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"configs": [
|
||||
{
|
||||
"name": "videocall_list",
|
||||
"config": [
|
||||
"com.android.incallui.InCallActivity",
|
||||
"com.tencent.mm.plugin.voip.ui.VideoActivity",
|
||||
"com.tencent.av.ui.AVActivity",
|
||||
"com.immomo.molive.gui.activities.live.base.LiveActivity",
|
||||
"com.tencent.wemeet.sdk.meeting.inmeeting.InMeetingActivity",
|
||||
"com.ss.android.vc.meeting.module.preview.facade.MeetingPreviewActivity",
|
||||
"com.alibaba.android.teleconf.mozi.activity.TeleVideoConfActivity",
|
||||
"com.tencent.wemeet.sdk.meeting.inmeeting.InMeetingActivity",
|
||||
"com.bytedance.android.xr.fusion.XrAvCallActivity",
|
||||
"com.tencent.weishi.module.multi.PublisherMultiPageActivity",
|
||||
"com.yxcorp.gifshow.camera.record.CameraActivity",
|
||||
"com.bytedance.mira.stub.p0.StubSingleTaskActivity1",
|
||||
"com.bilibili.bilibililive.ui.room.BlinkRoomActivityV2",
|
||||
"com.tencent.mm.plugin.multitalk.ui.MultiTalkMainUI",
|
||||
"com.xingin.capa.v2.feature.entrance.view.activity.entrance.CapaEntranceActivity2",
|
||||
"com.taobao.fleamarket.call.ui.FishRtcCallActivity",
|
||||
"com.yy.mobile.plugin.pluginmobilelive.MobileLiveActivity",
|
||||
"com.whatsapp.voipcalling.VoipActivityV2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "highresolutionblob_list",
|
||||
"config": [
|
||||
"com.tencent.ttpic.module.camera.CameraActivity",
|
||||
"com.linecorp.b612.android.activity.ActivityCamera",
|
||||
"com.wudaokou.hippo.media.camera.CameraActivity",
|
||||
"com.lemon.faceu.business.mainpage.MainActivity",
|
||||
"com.mt.mtxx.camera.view.CameraActivity",
|
||||
"com.light.beauty.mainpage.MainActivity",
|
||||
"com.taobao.taopai.business.record.fragment.SocialRecordVideoActivity_Module",
|
||||
"com.alipay.mobile.beehive.capture.activity.CaptureActivity",
|
||||
"com.dianping.ugc.uploadphoto.ugcalbum.droplet.DrpLocalAlbumActivity",
|
||||
"com.taobao.android.litecreator.modules.record.LCRecordActivity",
|
||||
"com.jd.lib.unification.video.recorder.VideoRecorderActivity",
|
||||
"com.baidu.homework.common.camera.CameraManyQuestionsActivity",
|
||||
"com.jd.lib.scan.lib.zxing.client.android.CaptureActivity"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "tplive_list",
|
||||
"config": [
|
||||
"com.ss.android.ugc.aweme.live.LiveBroadcastActivity",
|
||||
"com.dy.liveV2.living.RecorderCameraActivityV2Portrait",
|
||||
"com.dy.liveV2.living.RecorderCameraActivityV2Landscape",
|
||||
"com.duowan.liveroom.LiveRoomActivity",
|
||||
"com.kuaishou.live.anchor.basic.activity.LivePushActivity"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 259 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 296 KiB |
|
After Width: | Height: | Size: 344 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 176 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 224 KiB |
|
After Width: | Height: | Size: 258 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 184 KiB |
|
After Width: | Height: | Size: 240 KiB |
|
After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 304 KiB |
|
After Width: | Height: | Size: 215 KiB |
|
After Width: | Height: | Size: 308 KiB |
|
After Width: | Height: | Size: 233 KiB |
|
After Width: | Height: | Size: 216 KiB |
|
After Width: | Height: | Size: 220 KiB |
|
After Width: | Height: | Size: 236 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- MIUI ADD: Modem_ModemEnhance -->
|
||||
<MESubFeatureConfig>
|
||||
<!--global -->
|
||||
<!-- device_name = ro.product.device -->
|
||||
<deviceConfig device_name="garnet">
|
||||
<!-- hwc_name = ro.product.mod_device -->
|
||||
<hwc hwc_name="GL" />
|
||||
<!-- feature_id refer to MEFeatureConfig.MEFEATURE_TYPE_ID_XXX -->
|
||||
<feature feature_id="1" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
|
||||
</deviceConfig>
|
||||
|
||||
<!--cn -->
|
||||
<!-- device_name = ro.product.device -->
|
||||
<deviceConfig device_name="garnet">
|
||||
<!-- hwc_name = ro.product.mod_device -->
|
||||
<hwc hwc_name="CN" />
|
||||
<!-- feature_id refer to MEFeatureConfig.MEFEATURE_TYPE_ID_XXX -->
|
||||
<feature feature_id="1" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="2" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="3" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="4" hw_support="1" sw_enable="1" sw_mp_enable="1"/>
|
||||
<feature feature_id="5" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="6" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="7" hw_support="1" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="8" hw_support="1" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="9" hw_support="1" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="10" hw_support="1" sw_enable="1" sw_mp_enable="1"/>
|
||||
<feature feature_id="11" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="12" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="13" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
<feature feature_id="14" hw_support="1" sw_enable="1" sw_mp_enable="1"/>
|
||||
<feature feature_id="15" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
|
||||
<!--bitMask 0x31f==68 -->
|
||||
<GestureModeMapConfigBitMask bitMask="68" />
|
||||
<GestureModeMapConfig>
|
||||
<GestureModeMapItem usb="255" flip="255" receiver="1" voice="255" gestureState="255" orientState="255" distanceState="1" interferenceState="255" gameState="255" whiteState="255" outMode="4" outMode1="255" />
|
||||
<GestureModeMapItem usb="255" flip="255" receiver="255" voice="255" gestureState="255" orientState="255" distanceState="255" interferenceState="255" gameState="255" whiteState="255" outMode="0" outMode1="255" /> <!--default -->
|
||||
</GestureModeMapConfig>
|
||||
</deviceConfig>
|
||||
|
||||
<!--default -->
|
||||
<!-- device_name = ro.product.device -->
|
||||
<deviceConfig device_name="garnet">
|
||||
<!-- hwc_name = ro.product.mod_device -->
|
||||
<hwc hwc_name="default" />
|
||||
<!-- feature_id refer to MEFeatureConfig.MEFEATURE_TYPE_ID_XXX -->
|
||||
<feature feature_id="1" hw_support="0" sw_enable="0" sw_mp_enable="0"/>
|
||||
|
||||
</deviceConfig>
|
||||
|
||||
</MESubFeatureConfig>
|
||||
<!-- END Modem_ModemEnhance -->
|
||||