承接上一篇: http://blog.csdn.net/xxm282828/article/details/48289391
1
com.android.cts.aadb.TestDeviceFuncTest
2
android.app.cts.SystemFeaturesTest
testSensorFeatrues
-- testCameraFeatures
--testSensorFeatures
关于上面的2项,在device.mk中添加:
$(FRAMEWORK_ETC_PATH)/android.hardware. camera.autofo cus.xml:$(PERMISSIONS_PATH)/android.hardware.camera.autofocus.xml \
后,--testCameraFeatures 这一项通过了。
-- testSensorFeatures 这一项去掉的内容比较多,
去掉
android.hardware.sensor.accelerometer.xml
android.hardware.se nsor.gyroscope.xml
android.hardware.sensor.light.xml
android.hardware.sensor.proximi ty.xml
也去掉了
./tablet_core_hardware.xml:29: <feature name="android.hardware.sensor.compass" />
./android.hardware.sensor.compass.xml:19: <feature name="android.hardware.sensor.compass" />
./handheld_core_hardware.xml:30: <feature name="android.hardware.se nsor.compass" />
这里面的内容,才通过。
关于testSensorFeatures,请去掉anzhen4_mrd7_w/device.mk中的
$(FRAMEWORK_ETC_PATH)/android.hardware.sensor.compass.xml:$(PERMISSIONS_PATH)/android.hardware.sensor.compass.xml
$(FRAMEWORK_ETC_PATH)/android.hardware.sensor.compass.xml:$(PERMISSIONS_PATH)/android.hardware.sensor.compass.xml
3
libcore.java.net.ConcurrentCloseTest
解决: 连接VPN,测试通过
4
android.net.cts.DnsTest
-- testDnsWorks