微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > mt6735 testGetRunningAppProcesses fail

mt6735 testGetRunningAppProcesses fail

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]
android.app.cts.ActivityManagerTest
-- testGetRunningAPPProcesses fail
junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:48)
在合入 Google 提供的 ANDROID-20034603(CR: ALPS02127706) Patch,
会造成 CTS fail(android.app.cts.ActivityManagerTest)!
影响版本:Android 5.0 以上都會受影响

Fail Log:
01-01 00:43:41.357 6094 6112 I TestRunner: junit.framework.AssertionFailedError
01-01 00:43:41.357 6094 6112 I TestRunner: at junit.framework.Assert.fail(Assert.java:48)
01-01 00:43:41.357 6094 6112 I TestRunner: at junit.framework.Assert.assertTrue(Assert.java:20)
01-01 00:43:41.357 6094 6112 I TestRunner: at junit.framework.Assert.assertTrue(Assert.java:27)
01-01 00:43:41.357 6094 6112 I TestRunner: at
android.app.cts.ActivityManagerTest.testGetRunningAppProcesses(ActivityManagerTest.java:222)
01-01 00:43:41.357 6094 6112 I TestRunner: at java.lang.reflect.Method.invoke(Native Method)
01-01 00:43:41.357 6094 6112 I TestRunner: at java.lang.reflect.Method.invoke(Method.java:372)
01-01 00:43:41.357 6094 6112 I TestRunner: at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
01-01 00:43:41.357 6094 6112 I TestRunner: at
android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
01-01 00:43:41.357 6094 6112 I TestRunner: at junit.framework.TestCase.runBare(TestCase.java:134)
01-01 00:43:41.357 6094 6112 I TestRunner: at junit.framework.TestResult$1.protect(TestResult.java:115)
[SOLUTION]
针对合入 ANDROID-20034603(CR: ALPS02127706) Patch造成的fail,目前得到Google的回复如下:
Google’s response:
https://android-review.googlesource.com/#/c/154434/ was merged. Could you check after
taking this CTS patch and confirm that your platform passes the test.
This should be available in the next CTS release.
敝司review CTS Code 发现在最新的CTS测试包:
CTS5.0_r3并没有合入此CTS Patch(c/154434/)
CTS5.1_r2有合入此CTS Patch(c/154434/)
客户可根据项目的需求评估是否需要合入ANDROID-20034603(CR: ALPS02127706) Patch

1、在L0上的项目:
1)若合入ANDROID-20034603(CR: ALPS02127706) Patch,testGetRunningAppProcesses是会报错的,Google送测时需要贵司去和Google谈Wiver:https://android-review.googlesource.com/#/c/154434/
2)若没有合入ANDROID-20034603(CR: ALPS02127706) Patch,testGetRunningAppProcesses是不应该报错的,
若没有合入仍然fail,在Submit CR时注明此情况。

2、在L1上的项目:
1)如果是要用CTS5.1_r1(8月12日截止)送测,在合入ANDROID-20034603(CR: ALPS02127706)Patch的情况下报错是可以Waive的,
需要自行与Google谈Waiver:https://android-review.googlesource.com/#/c/154434/
在没有合入ANDROID-20034603(CR: ALPS02127706) Patch的情况下报错,Submit CR时请注明此情况。
2)如果是用CTS5.1_r2送测,则就要先合入ANDROID-20034603(CR: ALPS02127706) Patch,
在合入Patch时如果遇到Patch里面的文件在原来的code里不存在:
frameworks/base/services/core/java/com/mediatek/路径下没有server/am/DexHistory.java这个文件,
直接新增文件夹把这个文件加进去就可以了。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top