cts/gts中一些fail项解决办法总结

14.
CTS-Verify中:

Camera ITS HOST 环境配置:

  1. 安装Android SDK,将adb路径设置到环境变量中
  2. 安装python 2.7环境
  • sudo apt-get install python-numpy
  • sudo apt-get install python-scipy
  • sudo apt-get install python-matplotlib
  • sudo apt-get install python-opencv
15 .这三项waive,截止20150909
 1)android.app.cts.ActivityManagerTest 
--testGetRunningAppProcesses   
2)android.webkit.cts.WebSettingsTest 
--testUserAgentString_default  waived
3)android.security.cts.ServicePermissionsTest 
-- testDumpProtected

16.
android.mediastress.cts.NativeMediaTest
-- test480pPlay
-- test720pPlay
-- testDefaultPlay

将视频拷贝到平板,ok

17.
关于cts-verify的测试:

Notification Attention Management Test 

test steps:
To make this test case PASS. We need to perform one extra settings.

1. When the CTS verifier APK ask to set Notification to "None".
    a. Open Settings > Sound & notification > Interrupts > Set the below settings.
       "When Calls and notifications arrive" >  Don't interrupt
       "Calls/Messages from" >  Anyone
    b. Go back to CTS verifier APK and Launch settings.

2.  When the CTS verifier APK ask to set Notification to "Priority".
    a. Open Settings > Sound & notification > Interrupts > Set the below settings.
       "When Calls and notifications arrive" >  Allow only priority interruptions 
       "Calls/Messages from" >  starred contacts only.
    b. Go back to CTS verifier APK and click IM DONE.

3. When the CTS verifier APK ask to set Notification to "All".
    a. Open Settings > Sound & notification > Interrupts > Set the below settings.
       "When Calls and notifications arrive" >  Always interruptions 
       "Calls/Messages from" >  contacts only.
    b. Go back to CTS verifier APK and click IM DONE.

另外一种解决方法: 在做deviceOwer测试的时候不让杀死BackupManagerService
   
   
   
--- a/services/devicepolicy/java/com/android/server/
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 6
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值