Searched refs:registry (Results 1 – 2 of 2) sorted by relevance
161 SensorEventRegistry registry = waitForEvent(); in awaitAndVerifyEvent() local163 if ((registry == null) || (registry.event == null)) { in awaitAndVerifyEvent()169 SensorEvent event = registry.event; in awaitAndVerifyEvent()173 String result = verifyEvent(registry, expectedResponseValue, maxEventLatencyMs); in awaitAndVerifyEvent()177 public String verifyEvent(SensorEventRegistry registry, float expectedResponseValue, in verifyEvent() argument179 int eventType = registry.event.sensor.getType(); in verifyEvent()188 float value = registry.event.values[0]; in verifyEvent()189 String sensorName = registry.event.sensor.getName(); in verifyEvent()192 long eventLatencyMs = (registry.receiveTimestampNanos/NANOSECONDS_PER_MILLISECOND) in verifyEvent()195 int valuesLength = registry.event.values.length; in verifyEvent()[all …]
362 TriggerEventRegistry registry = awaitForEvent();365 TriggerEvent event = registry.triggerEvent;398 registry.realtimeTimestampNanos,404 TriggerEventRegistry registry = awaitForEvent();406 TriggerEvent event = registry.triggerEvent;416 TriggerEventRegistry registry = mEventRegistry;424 return registry != null ? registry : new TriggerEventRegistry(null, 0);