CTS:CtsSensorTestCases

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值