Home
last modified time | relevance | path

Searched refs:registry (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DOffBodySensorTestActivity.java161 SensorEventRegistry registry = waitForEvent(); in awaitAndVerifyEvent() local
163 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() argument
179 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 …]
DSignificantMotionTestActivity.java360 TriggerEventRegistry registry = awaitForEvent();
363 TriggerEvent event = registry.triggerEvent;
396 registry.realtimeTimestampNanos,
402 TriggerEventRegistry registry = awaitForEvent();
404 TriggerEvent event = registry.triggerEvent;
414 TriggerEventRegistry registry = mEventRegistry;
422 return registry != null ? registry : new TriggerEventRegistry(null, 0);
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPacFileServer.java83 HttpRequestHandlerRegistry registry = new HttpRequestHandlerRegistry(); in PacFileServer() local
85 registry.register(ALL_PATTERN, this); in PacFileServer()
86 mHttpService.setHandlerResolver(registry); in PacFileServer()