Step1. string.xml中 添加<string name="sensor_board">Sensor Board</string>
Step2. test_config_default.xml中的TestItem属性中添加sensor_board=”false”
如<TestItem name="ItemBatteryAndLED" enable="true" auto="false" pcba="true" kb="false" ub="true" sensor_board="false">
Step3. ControlCenterActivity.java 中添加相应的资源文件索引mTestName 、设置fulltest_flag,新增fulltest_flag为5的情况(1:fulltest;2:pcbatest;3:kb test;4:ub test;5:sensor_board)。
Step4. ControlCenterService.java 中同步更新标记值fulltest_flag。
private int fulltest_flag = -1;//1:fulltest;2:pcbatest;3:kb test;4:ub test;5:sensor_board
Step5. FactoryTestManager中新增testMode == 5(1:fulltest;2:pcbatest;3:kb test;4:ub test;5:sensor_board)的情况判断分支与处理分支。
Step6. ItemTest.java中更新isSupportSensorBoard标记值,新增sensor_board解析字符串,
Step7. XmlUtil.java中更新isSupportSensorBoard,以及新增相应的逻辑处理。