Home
last modified time | relevance | path

Searched refs:mCollectedEvents (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DTestSensorEventListener.java56 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<>(); field in TestSensorEventListener
100 synchronized (mCollectedEvents) { in onSensorChanged()
101 mCollectedEvents.add(new TestSensorEvent(event, timestampNs)); in onSensorChanged()
174 synchronized (mCollectedEvents){ in getCollectedEvents()
175 List<TestSensorEvent> collectedEventsList = (List)mCollectedEvents.clone(); in getCollectedEvents()
184 synchronized (mCollectedEvents) { in clearEvents()
185 mCollectedEvents.clear(); in clearEvents()
205 synchronized (mCollectedEvents) { in logCollectedEventsToFile()
207 while (i < mCollectedEvents.size() && j < mTimeStampFlushCompleteEvents.size()) { in logCollectedEventsToFile()
208 if (mCollectedEvents.get(i).receivedTimestamp < in logCollectedEventsToFile()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DEventTimestampSynchronizationVerification.java43 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<TestSensorEvent>(); field in EventTimestampSynchronizationVerification
127 mCollectedEvents.add(event); in addSensorEventInternal()
139 int collectedEventsCount = mCollectedEvents.size(); in verifyTimestampSynchronization()
143 TestSensorEvent event = mCollectedEvents.get(i); in verifyTimestampSynchronization()