Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/
DGnssPseudorangeVerificationTest.java132 int eventCount = events.size(); in testPseudorangeValue() local
133 Log.i(TAG, "Number of GNSS measurement events received = " + eventCount); in testPseudorangeValue()
135 "GnssMeasurementEvent count: expected > 0, received = " + eventCount, in testPseudorangeValue()
136 eventCount > 0); in testPseudorangeValue()
274 int eventCount = events.size(); in testPseudoPosition() local
275 Log.i(TAG, "Number of Gps Event received = " + eventCount); in testPseudoPosition()
277 assertTrue("GnssMeasurementEvent count: expected > 0, received = " + eventCount, in testPseudoPosition()
278 eventCount > 0); in testPseudoPosition()
DGnssMeasurementValuesTest.java116 int eventCount = events.size(); in testListenForGnssMeasurements() local
117 Log.i(TAG, "Number of Gps Event received = " + eventCount); in testListenForGnssMeasurements()
120 String.valueOf(eventCount), eventCount > 0); in testListenForGnssMeasurements()
/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/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java96 final int eventCount = target.getKeyEventCount(); in sendAndAssertTargetConsumedKey() local
99 assertEquals(target.getLogTag() + " must only receive key event sent.", eventCount, in sendAndAssertTargetConsumedKey() local
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java707 public FlushExecutor(TestSensorEnvironment environment, int eventCount, in FlushExecutor() argument
710 mEventCount = eventCount; in FlushExecutor()