Searched refs:eventCount (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/location/src/android/location/cts/ |
D | GnssMeasurementValuesTest.java | 103 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()
|
D | GnssPseudorangeVerificationTest.java | 129 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/ |
D | TestSensorManager.java | 100 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()
|
D | TestSensorEventListener.java | 129 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/ |
D | TestSensorOperation.java | 236 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/ |
D | SensorTest.java | 668 public FlushExecutor(TestSensorEnvironment environment, int eventCount, in FlushExecutor() argument 671 mEventCount = eventCount; in FlushExecutor()
|