• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Android CTS sensor test failed!

  • Thread starter Thread starter Android Question
  • Start date Start date
A

Android Question

Guest
I am on a project that must pass the CTS test. But there are some cases of Accelerometer sensor teset that would always fail.One of the frequent failure is the time interval of input event of the Accelerometer sensor.Here is the CTS failure report:
"LIS3DH 3-axis Accelerometer, samplingPeriod=0us,
maxReportLatency=10000000us | 1970 events gaps: position=2,
delta_time=9980000ns; position=3,
delta_time=10009000ns; position=4, delta_time=11231000ns; 1967 more; (expected <1800000ns) "
In fact, we used to passed this cases on another project using the same code of sensor(including driver and hal).The difference is we use different phones. I am eager to find out what cause this failure on earth. Whether other types of input events such as touchscreen would influce the time interval of Accelerometer sensor? Or the hardware is important?
 
Back
Top Bottom