Searched refs:mCollectedEvents (Results 1 – 2 of 2) sorted by relevance
56 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<>(); field in TestSensorEventListener100 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 …]
43 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<TestSensorEvent>(); field in EventTimestampSynchronizationVerification127 mCollectedEvents.add(event); in addSensorEventInternal()139 int collectedEventsCount = mCollectedEvents.size(); in verifyTimestampSynchronization()143 TestSensorEvent event = mCollectedEvents.get(i); in verifyTimestampSynchronization()