Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementValuesTest.java103 int eventCount = events.size(); in testListenForGnssMeasurements() local
104 Log.i(TAG, "Number of Gps Event received = " + eventCount); in testListenForGnssMeasurements()
109 String.valueOf(eventCount), eventCount > 0); in testListenForGnssMeasurements()
DGnssPseudorangeVerificationTest.java129 int eventCount = events.size(); in testPseudorangeValue() local
130 Log.i(TAG, "Number of GNSS measurement events received = " + eventCount); in testPseudorangeValue()
132 "GnssMeasurementEvent count: expected > 0, received = " + eventCount, in testPseudorangeValue() local
133 eventCount > 0); in testPseudorangeValue() local
270 int eventCount = events.size(); in testPseudoPosition() local
271 Log.i(TAG, "Number of Gps Event received = " + eventCount); in testPseudoPosition()
273 if (eventCount == 0 && gnssYearOfHardware < MIN_HARDWARE_YEAR_MEASUREMENTS_REQUIRED) { in testPseudoPosition()
278 assertTrue("GnssMeasurementEvent count: expected > 0, received = " + eventCount, in testPseudoPosition()
279 eventCount > 0); in testPseudoPosition()
/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/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java236 final int eventCount) { in createOperation() argument
242 CountDownLatch latch = sensorManager.registerListener(listener, eventCount); in createOperation()
243 listener.waitForEvents(latch, eventCount, true); in createOperation()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java668 public FlushExecutor(TestSensorEnvironment environment, int eventCount, in FlushExecutor() argument
671 mEventCount = eventCount; in FlushExecutor()