Improve fairness of Sensor Timestamp Jitter Test
Changes:
1. The threshold is calculated based on the "asked" sensor rate to
avoid failures that caused by actual sensor rate being bumpped up.
2. Estimation of the true center is no longer necessary. The range of
timestamp interval is tested against 2x of the allowed single-sided
variance.
3. The top and bottom 2.5% of timestamp interval samples are excluded
from evaluation. This conform to previously used 95 percentile
rule, yet is slightly different in terms of implementation.
Related bug:
* b/23430923
* b/23948014
Change-Id: I1f444514c2df63129d9e0ce404afe3ae7ae46eb0
3 files changed