diff --git a/applist b/applist index 19465b6..4959dcc 100644 --- a/applist +++ b/applist @@ -2,39 +2,14 @@ tv.danmaku.bili com.xingin.xhs com.jingdong.app.mall com.taobao.taobao -com.xunmeng.pinduoduo com.ss.android.article.news com.sina.weibo -com.tencent.mobileqq -com.tencent.qqlive com.smile.gifmaker -com.netease.cloudmusic air.tv.douyu.android com.autonavi.minimap -com.sankuai.meituan -com.tencent.mm -com.eg.android.AlipayGphone com.ss.android.ugc.aweme.lite com.kuaishou.nebula com.sup.android.superb -com.baidu.searchbox -com.tencent.weread -com.tencent.tmgp.sgame -com.qiyi.video -com.UCMobile com.ss.android.ugc.aweme com.taobao.idlefish -com.happyelements.AndroidAnimal -com.android.deskclock -com.tencent.qqmusic -com.android.camera -com.tencent.mtt -com.dragon.read -com.baidu.tieba -com.miHoYo.Yuanshen -com.quark.browser -com.tencent.tmgp.pubgmhd -com.tencent.jkchess -com.kmxs.reader -com.ss.android.article.lite com.duowan.kiwi diff --git a/clear_apps.py b/clear_apps.py index 3fd0cd7..10e2f0b 100755 --- a/clear_apps.py +++ b/clear_apps.py @@ -9,7 +9,7 @@ def clear_all_apps(): try: d.keyevent("HOME") d.keyevent("HOME") - d.keyevent("MENU") + d.keyevent("312") time.sleep(1) if "com.miui.home:id/recents_container" not in d.dump_hierarchy(): continue diff --git a/perfconf.txt b/perfconf.txt index 62bdcaa..4614e8f 100644 --- a/perfconf.txt +++ b/perfconf.txt @@ -98,5 +98,5 @@ data_sources: { } } } -duration_ms: 80000 +duration_ms: 20000 diff --git a/run.sh b/run.sh index 7c8503b..b725b6b 100755 --- a/run.sh +++ b/run.sh @@ -5,7 +5,7 @@ wait=3 clear_background=0 mthp_stat=0 -while getopts ":s:c:w:h:C:T" opt +while getopts ":s:c:w:h:kT" opt do case $opt in s) @@ -14,7 +14,7 @@ do c) cycle=$OPTARG ;; - C) + k) clear_background=1 ;; w) @@ -33,7 +33,7 @@ do echo "-s: specify serial id of device" echo "-c: specify applist startup cycle" echo "-w: specify wait time after app start, before start next app, default 10 s" - echo "-C: if to kill all background apps before start app" + echo "-k: if to kill all background apps before start app" echo "-T: if check app's mTHP status" exit 1 ;;