[Android] Refine the code and case of make_apk_test.
[Android] Refine the code and case of make_apk_test.

1. Reorganize the test cases for different mode option.
2. Add test case for checking the scenario without '--mode' option.
3. Add RunCommand function to reduce the code duplication.
4. Move the static function together.

Pluto-tv/crosswalk,pk-sam/crosswalk,crosswalk-project/crosswalk,Pluto-tv/crosswalk,chinakids/crosswalk,zliang7/crosswalk,DonnaWuDongxia/crosswalk,jpike88/crosswalk,pk-sam/crosswalk,huningxin/crosswalk,minggangw/crosswalk,bestwpw/crosswalk,hgl888/crosswalk,shaochangbin/crosswalk,weiyirong/crosswalk-1,ZhengXinCN/crosswalk,Bysmyyr/crosswalk,jondwillis/crosswalk,lincsoon/crosswalk,huningxin/crosswalk,TheDirtyCalvinist/spacewalk,mrunalk/crosswalk,hgl888/crosswalk-efl,zeropool/crosswalk,DonnaWuDongxia/crosswalk,XiaosongWei/crosswalk,leonhsl/crosswalk,jpike88/crosswalk,chinakids/crosswalk,hgl888/crosswalk-efl,mrunalk/crosswalk,Bysmyyr/crosswalk,chinakids/crosswalk,zeropool/crosswalk,TheDirtyCalvinist/spacewalk,heke123/crosswalk,hgl888/crosswalk,jpike88/crosswalk,shaochangbin/crosswalk,Pluto-tv/crosswalk,stonegithubs/crosswalk,alex-zhang/crosswalk,rakuco/crosswalk,zeropool/crosswalk,weiyirong/crosswalk-1,mrunalk/crosswalk,huningxin/crosswalk,crosswalk-project/crosswalk,rakuco/crosswalk,shaochangbin/crosswalk,marcuspridham/crosswalk,hgl888/crosswalk-efl,axinging/crosswalk,DonnaWuDongxia/crosswalk,darktears/crosswalk,siovene/crosswalk,Bysmyyr/crosswalk,tedshroyer/crosswalk,qjia7/crosswalk,darktears/crosswalk,qjia7/crosswalk,lincsoon/crosswalk,heke123/crosswalk,tedshroyer/crosswalk,darktears/crosswalk,heke123/crosswalk,baleboy/crosswalk,siovene/crosswalk,myroot/crosswalk,alex-zhang/crosswalk,crosswalk-project/crosswalk,tomatell/crosswalk,huningxin/crosswalk,zeropool/crosswalk,pk-sam/crosswalk,myroot/crosswalk,lincsoon/crosswalk,qjia7/crosswalk,mrunalk/crosswalk,dreamsxin/crosswalk,crosswalk-project/crosswalk-efl,chuan9/crosswalk,darktears/crosswalk,zeropool/crosswalk,tedshroyer/crosswalk,leonhsl/crosswalk,axinging/crosswalk,jondong/crosswalk,Pluto-tv/crosswalk,shaochangbin/crosswalk,leonhsl/crosswalk,hgl888/crosswalk-efl,zeropool/crosswalk,myroot/crosswalk,baleboy/crosswalk,huningxin/crosswalk,jpike88/crosswalk,alex-zhang/crosswalk,fujunwei/crosswalk,DonnaWuDongxia/crosswalk,mrunalk/crosswalk,huningxin/crosswalk,bestwpw/crosswalk,fujunwei/crosswalk,axinging/crosswalk,heke123/crosswalk,xzhan96/crosswalk,marcuspridham/crosswalk,baleboy/crosswalk,jondong/crosswalk,crosswalk-project/crosswalk,chuan9/crosswalk,bestwpw/crosswalk,Pluto-tv/crosswalk,leonhsl/crosswalk,minggangw/crosswalk,fujunwei/crosswalk,alex-zhang/crosswalk,lincsoon/crosswalk,rakuco/crosswalk,jondwillis/crosswalk,zliang7/crosswalk,jondwillis/crosswalk,baleboy/crosswalk,stonegithubs/crosswalk,crosswalk-project/crosswalk-efl,PeterWangIntel/crosswalk,chinakids/crosswalk,amaniak/crosswalk,pk-sam/crosswalk,fujunwei/crosswalk,xzhan96/crosswalk,darktears/crosswalk,dreamsxin/crosswalk,rakuco/crosswalk,chinakids/crosswalk,crosswalk-project/crosswalk-efl,chinakids/crosswalk,fujunwei/crosswalk,RafuCater/crosswalk,hgl888/crosswalk,fujunwei/crosswalk,ZhengXinCN/crosswalk,stonegithubs/crosswalk,RafuCater/crosswalk,leonhsl/crosswalk,pk-sam/crosswalk,heke123/crosswalk,baleboy/crosswalk,leonhsl/crosswalk,hgl888/crosswalk,hgl888/crosswalk-efl,qjia7/crosswalk,alex-zhang/crosswalk,marcuspridham/crosswalk,baleboy/crosswalk,amaniak/crosswalk,ZhengXinCN/crosswalk,leonhsl/crosswalk,axinging/crosswalk,TheDirtyCalvinist/spacewalk,heke123/crosswalk,bestwpw/crosswalk,amaniak/crosswalk,darktears/crosswalk,ZhengXinCN/crosswalk,DonnaWuDongxia/crosswalk,XiaosongWei/crosswalk,crosswalk-project/crosswalk-efl,zeropool/crosswalk,tomatell/crosswalk,lincsoon/crosswalk,Bysmyyr/crosswalk,zliang7/crosswalk,minggangw/crosswalk,tomatell/crosswalk,siovene/crosswalk,zliang7/crosswalk,siovene/crosswalk,rakuco/crosswalk,jpike88/crosswalk,zliang7/crosswalk,DonnaWuDongxia/crosswalk,TheDirtyCalvinist/spacewalk,amaniak/crosswalk,jondwillis/crosswalk,weiyirong/crosswalk-1,rakuco/crosswalk,hgl888/crosswalk-efl,baleboy/crosswalk,tomatell/crosswalk,TheDirtyCalvinist/spacewalk,tomatell/crosswalk,RafuCater/crosswalk,bestwpw/crosswalk,RafuCater/crosswalk,jondong/crosswalk,bestwpw/crosswalk,ZhengXinCN/crosswalk,marcuspridham/crosswalk,jpike88/crosswalk,zliang7/crosswalk,XiaosongWei/crosswalk,dreamsxin/crosswalk,RafuCater/crosswalk,baleboy/crosswalk,jondong/crosswalk,zliang7/crosswalk,tedshroyer/crosswalk,mrunalk/crosswalk,axinging/crosswalk,stonegithubs/crosswalk,stonegithubs/crosswalk,PeterWangIntel/crosswalk,jondong/crosswalk,amaniak/crosswalk,Bysmyyr/crosswalk,minggangw/crosswalk,XiaosongWei/crosswalk,XiaosongWei/crosswalk,marcuspridham/crosswalk,dreamsxin/crosswalk,marcuspridham/crosswalk,xzhan96/crosswalk,PeterWangIntel/crosswalk,myroot/crosswalk,xzhan96/crosswalk,ZhengXinCN/crosswalk,crosswalk-project/crosswalk-efl,DonnaWuDongxia/crosswalk,tedshroyer/crosswalk,PeterWangIntel/crosswalk,bestwpw/crosswalk,hgl888/crosswalk,alex-zhang/crosswalk,zliang7/crosswalk,RafuCater/crosswalk,weiyirong/crosswalk-1,lincsoon/crosswalk,Bysmyyr/crosswalk,siovene/crosswalk,PeterWangIntel/crosswalk,alex-zhang/crosswalk,PeterWangIntel/crosswalk,myroot/crosswalk,crosswalk-project/crosswalk,crosswalk-project/crosswalk,PeterWangIntel/crosswalk,pk-sam/crosswalk,tomatell/crosswalk,jondwillis/crosswalk,Pluto-tv/crosswalk,dreamsxin/crosswalk,axinging/crosswalk,xzhan96/crosswalk,chuan9/crosswalk,xzhan96/crosswalk,lincsoon/crosswalk,RafuCater/crosswalk,marcuspridham/crosswalk,minggangw/crosswalk,heke123/crosswalk,rakuco/crosswalk,siovene/crosswalk,dreamsxin/crosswalk,chuan9/crosswalk,ZhengXinCN/crosswalk,xzhan96/crosswalk,weiyirong/crosswalk-1,minggangw/crosswalk,hgl888/crosswalk,stonegithubs/crosswalk,jondwillis/crosswalk,lincsoon/crosswalk,hgl888/crosswalk,tomatell/crosswalk,rakuco/crosswalk,crosswalk-project/crosswalk-efl,crosswalk-project/crosswalk,fujunwei/crosswalk,minggangw/crosswalk,amaniak/crosswalk,hgl888/crosswalk-efl,chuan9/crosswalk,Bysmyyr/crosswalk,jondwillis/crosswalk,xzhan96/crosswalk,TheDirtyCalvinist/spacewalk,weiyirong/crosswalk-1,minggangw/crosswalk,shaochangbin/crosswalk,marcuspridham/crosswalk,qjia7/crosswalk,jondong/crosswalk,jondong/crosswalk,crosswalk-project/crosswalk,XiaosongWei/crosswalk,axinging/crosswalk,jondong/crosswalk,weiyirong/crosswalk-1,tedshroyer/crosswalk,amaniak/crosswalk,stonegithubs/crosswalk,jpike88/crosswalk,tedshroyer/crosswalk,darktears/crosswalk,chuan9/crosswalk,chuan9/crosswalk,heke123/crosswalk,Bysmyyr/crosswalk,crosswalk-project/crosswalk-efl,hgl888/crosswalk,pk-sam/crosswalk,Pluto-tv/crosswalk,siovene/crosswalk,shaochangbin/crosswalk,myroot/crosswalk,XiaosongWei/crosswalk,qjia7/crosswalk,darktears/crosswalk,dreamsxin/crosswalk