CTS:CtsSensorTestCases

  • Post author:
  • Post category:其他


android.hardware.cts.SensorTest#testBatchAndFlush

Details:junit.framework.AssertionFailedError: registerListener | sensor=’LIGHT’, samplingPeriod=0us, maxReportLatency=10000000us | Failed

android.hardware.cts.SensorTest#testBatchAndFlushUidIdle

Details:junit.framework.AssertionFailedError: registerListener | sensor=’LIGHT’, samplingPeriod=0us, maxReportLatency=10000000us | Failed

android.hardware.cts.SensorTest#testSensorOperations_stepDetector

Details:junit.framework.AssertionFailedError

patch:

 alps_ap/device/mediateksample/tb8321p3_bsp/ProjectConfig.mk     | 2 +-
 .../native/data/etc/android.hardware.sensor.stepdetector.xml    | 2 +-
 .../native/data/etc/android.hardware.sensor.stepdetector.xml    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 alps_ap/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml
 mode change 100644 => 100755 alps_mssi/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml

diff --git a/alps_ap/device/mediateksample/tb8321p3_bsp/ProjectConfig.mk b/alps_ap/device/mediateksample/tb8321p3_bsp/ProjectConfig.mk
index 22dea3098bd..36e0a45370c 100755
--- a/alps_ap/device/mediateksample/tb8321p3_bsp/ProjectConfig.mk
+++ b/alps_ap/device/mediateksample/tb8321p3_bsp/ProjectConfig.mk
@@ -18,7 +18,7 @@ CUSTOM_HAL_SENSORS = sensor
 CUSTOM_HAL_SUB_IMGSENSOR = gc030asub_mipi_raw
 CUSTOM_HIFI_SENSORS = no
 CUSTOM_KERNEL_ACCELEROMETER = yes
-CUSTOM_KERNEL_ALSPS = yes
+CUSTOM_KERNEL_ALSPS = no 
 CUSTOM_KERNEL_BAROMETER =
 CUSTOM_KERNEL_CAMERA = camera
 CUSTOM_KERNEL_DEVICE_ORIENTATION =
diff --git a/alps_ap/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml b/alps_ap/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml
old mode 100644
new mode 100755
index 7037b9a47ba..55436517d98
--- a/alps_ap/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml
+++ b/alps_ap/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml
@@ -16,5 +16,5 @@
 
 <!-- Feature for devices with a step detector. -->
 <permissions>
-    <feature name="android.hardware.sensor.stepdetector" />
+    <!-- <feature name="android.hardware.sensor.stepdetector" /> -->
 </permissions>
diff --git a/alps_mssi/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml b/alps_mssi/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml
old mode 100644
new mode 100755
index 7037b9a47ba..55436517d98
--- a/alps_mssi/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml
+++ b/alps_mssi/frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml
@@ -16,5 +16,5 @@
 
 <!-- Feature for devices with a step detector. -->
 <permissions>
-    <feature name="android.hardware.sensor.stepdetector" />
+    <!-- <feature name="android.hardware.sensor.stepdetector" /> -->
 </permissions>
-- 
2.17.1



版权声明:本文为swl200409原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。