Searched refs:SensorEventRegistry (Results 1 – 1 of 1) sorted by relevance
93 public class SensorEventRegistry { class in OffBodySensorTestActivity97 public SensorEventRegistry(SensorEvent event, long realtimeTimestampNanos) { in SensorEventRegistry() method in OffBodySensorTestActivity.SensorEventRegistry105 private volatile SensorEventRegistry mEventRegistry;136 mEventRegistry = new SensorEventRegistry(event, elapsedRealtimeNanos); in onSensorChanged()161 SensorEventRegistry registry = waitForEvent(); in awaitAndVerifyEvent()177 public String verifyEvent(SensorEventRegistry registry, float expectedResponseValue, in verifyEvent()234 private SensorEventRegistry waitForEvent() throws InterruptedException { in waitForEvent()238 private SensorEventRegistry waitForEvent(PowerManager.WakeLock suspendLock) in waitForEvent()252 SensorEventRegistry registry = mEventRegistry; in waitForEvent()261 return registry != null ? registry : new SensorEventRegistry(null, 0); in waitForEvent()[all …]