update
Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
This commit is contained in:
parent
7c16407aad
commit
4e9d777d30
25
applist
25
applist
|
|
@ -2,39 +2,14 @@ tv.danmaku.bili
|
||||||
com.xingin.xhs
|
com.xingin.xhs
|
||||||
com.jingdong.app.mall
|
com.jingdong.app.mall
|
||||||
com.taobao.taobao
|
com.taobao.taobao
|
||||||
com.xunmeng.pinduoduo
|
|
||||||
com.ss.android.article.news
|
com.ss.android.article.news
|
||||||
com.sina.weibo
|
com.sina.weibo
|
||||||
com.tencent.mobileqq
|
|
||||||
com.tencent.qqlive
|
|
||||||
com.smile.gifmaker
|
com.smile.gifmaker
|
||||||
com.netease.cloudmusic
|
|
||||||
air.tv.douyu.android
|
air.tv.douyu.android
|
||||||
com.autonavi.minimap
|
com.autonavi.minimap
|
||||||
com.sankuai.meituan
|
|
||||||
com.tencent.mm
|
|
||||||
com.eg.android.AlipayGphone
|
|
||||||
com.ss.android.ugc.aweme.lite
|
com.ss.android.ugc.aweme.lite
|
||||||
com.kuaishou.nebula
|
com.kuaishou.nebula
|
||||||
com.sup.android.superb
|
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.ss.android.ugc.aweme
|
||||||
com.taobao.idlefish
|
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
|
com.duowan.kiwi
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ def clear_all_apps():
|
||||||
try:
|
try:
|
||||||
d.keyevent("HOME")
|
d.keyevent("HOME")
|
||||||
d.keyevent("HOME")
|
d.keyevent("HOME")
|
||||||
d.keyevent("MENU")
|
d.keyevent("312")
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
if "com.miui.home:id/recents_container" not in d.dump_hierarchy():
|
if "com.miui.home:id/recents_container" not in d.dump_hierarchy():
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
|
|
@ -98,5 +98,5 @@ data_sources: {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
duration_ms: 80000
|
duration_ms: 20000
|
||||||
|
|
||||||
|
|
|
||||||
6
run.sh
6
run.sh
|
|
@ -5,7 +5,7 @@ wait=3
|
||||||
clear_background=0
|
clear_background=0
|
||||||
mthp_stat=0
|
mthp_stat=0
|
||||||
|
|
||||||
while getopts ":s:c:w:h:C:T" opt
|
while getopts ":s:c:w:h:kT" opt
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
s)
|
s)
|
||||||
|
|
@ -14,7 +14,7 @@ do
|
||||||
c)
|
c)
|
||||||
cycle=$OPTARG
|
cycle=$OPTARG
|
||||||
;;
|
;;
|
||||||
C)
|
k)
|
||||||
clear_background=1
|
clear_background=1
|
||||||
;;
|
;;
|
||||||
w)
|
w)
|
||||||
|
|
@ -33,7 +33,7 @@ do
|
||||||
echo "-s: specify serial id of device"
|
echo "-s: specify serial id of device"
|
||||||
echo "-c: specify applist startup cycle"
|
echo "-c: specify applist startup cycle"
|
||||||
echo "-w: specify wait time after app start, before start next app, default 10 s"
|
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"
|
echo "-T: if check app's mTHP status"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue