Home
last modified time | relevance | path

Searched refs:eventCount (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DTestSensorManager.java100 int eventCount, in registerListener() argument
107 CountDownLatch latch = listener.getLatchForSensorEvents(eventCount); in registerListener()
140 int eventCount) { in registerListener() argument
141 return registerListener(listener, eventCount, true); in registerListener()
DTestSensorEventListener.java126 public CountDownLatch getLatchForSensorEvents(int eventCount) { in getLatchForSensorEvents() argument
127 CountDownLatch latch = new CountDownLatch(eventCount); in getLatchForSensorEvents()
292 public void waitForEvents(CountDownLatch latch, int eventCount, in waitForEvents() argument
303 long timeoutUs = (2 * eventCount * samplingPeriodUs) in waitForEvents()
312 eventCount, in waitForEvents()
313 eventCount - latch.getCount(), in waitForEvents()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java228 final int eventCount) { in createOperation() argument
234 CountDownLatch latch = sensorManager.registerListener(listener, eventCount); in createOperation()
235 listener.waitForEvents(latch, eventCount, true); in createOperation()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorTest.java569 public FlushExecutor(TestSensorEnvironment environment, int eventCount) { in FlushExecutor() argument
571 mEventCount = eventCount; in FlushExecutor()