Home
last modified time | relevance | path

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

/cts/tests/sensor/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.java129 public CountDownLatch getLatchForSensorEvents(int eventCount) { in getLatchForSensorEvents() argument
130 CountDownLatch latch = new CountDownLatch(eventCount); in getLatchForSensorEvents()
305 public void waitForEvents(CountDownLatch latch, int eventCount, in waitForEvents() argument
316 long timeoutUs = (2 * eventCount * samplingPeriodUs) in waitForEvents()
325 eventCount, in waitForEvents()
326 eventCount - latch.getCount(), in waitForEvents()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DGnssPseudorangeVerificationTest.java140 int eventCount = events.size(); in testPseudorangeValue() local
141 Log.i(TAG, "Number of GNSS measurement events received = " + eventCount); in testPseudorangeValue()
143 "GnssMeasurementEvent count: expected > 0, received = " + eventCount, in testPseudorangeValue()
144 eventCount > 0); in testPseudorangeValue()
286 int eventCount = events.size(); in testPseudoPosition() local
287 Log.i(TAG, "Number of Gps Event received = " + eventCount); in testPseudoPosition()
289 assertTrue("GnssMeasurementEvent count: expected > 0, received = " + eventCount, in testPseudoPosition()
290 eventCount > 0); in testPseudoPosition()
DGnssMeasurementValuesTest.java117 int eventCount = events.size(); in testListenForGnssMeasurements() local
118 Log.i(TAG, "Number of Gps Event received = " + eventCount); in testListenForGnssMeasurements()
121 String.valueOf(eventCount), eventCount > 0); in testListenForGnssMeasurements()
/cts/tests/location/location_privileged/src/android/location/cts/privileged/
DGnssMeasurementValuesTest.java141 int eventCount = events.size(); in testListenForGnssMeasurements() local
142 Log.i(TAG, "Number of GnssMeasurement Event received = " + eventCount); in testListenForGnssMeasurements()
146 String.valueOf(eventCount), eventCount > 0); in testListenForGnssMeasurements()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java244 final int eventCount) { in createOperation() argument
250 CountDownLatch latch = sensorManager.registerListener(listener, eventCount); in createOperation()
251 listener.waitForEvents(latch, eventCount, true); in createOperation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java97 final int eventCount = target.getKeyEventCount(); in sendAndAssertTargetConsumedKey() local
100 assertEquals(target.getLogTag() + " must only receive key event sent.", eventCount, in sendAndAssertTargetConsumedKey() local
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java744 public FlushExecutor(TestSensorEnvironment environment, int eventCount, in FlushExecutor() argument
747 mEventCount = eventCount; in FlushExecutor()