Searched refs:mCollectedEvents (Results 1 – 5 of 5) sorted by relevance
56 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<>(); field in TestSensorEventListener103 synchronized (mCollectedEvents) { in onSensorChanged()104 mCollectedEvents.add(new TestSensorEvent(event, timestampNs)); in onSensorChanged()177 synchronized (mCollectedEvents){ in getCollectedEvents()178 return Collections.unmodifiableList((List<TestSensorEvent>) mCollectedEvents.clone()); in getCollectedEvents()186 synchronized (mCollectedEvents) { in clearEvents()187 mCollectedEvents.clear(); in clearEvents()212 synchronized (mCollectedEvents) { in logCollectedEventsToFile()214 while (i < mCollectedEvents.size() && j < mTimeStampFlushCompleteEvents.size()) { in logCollectedEventsToFile()215 if (mCollectedEvents.get(i).receivedTimestamp < in logCollectedEventsToFile()[all …]
36 protected ArrayList<Integer> mCollectedEvents = new ArrayList(); field in GestureDetectionStubAccessibilityService109 mCollectedEvents.add(event.getEventType()); in onAccessibilityEvent()115 mCollectedEvents.add(event.getEventType()); in onAccessibilityEvent()123 mCollectedEvents.clear(); in clearEvents()129 return mCollectedEvents.size(); in getEventsSize()135 return mCollectedEvents.get(index); in getEvent()142 if (mCollectedEvents.size() >= count) { in waitUntilEvent()
38 mCollectedEvents.add(event.getEventType()); in onAccessibilityEvent()45 mCollectedEvents.add(event.getEventType()); in onAccessibilityEvent()53 TestUtils.waitOn(mLock, () -> mCollectedEvents.contains(TYPE_VIEW_ACCESSIBILITY_FOCUSED), in waitForAccessibilityFocus()
46 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<TestSensorEvent>(); field in TimestampClockSourceVerification134 mCollectedEvents.add(event); in addSensorEventInternal()144 int collectedEventsCount = mCollectedEvents.size(); in verifyTimestampClockSource()155 TestSensorEvent event = mCollectedEvents.get(i); in verifyTimestampClockSource()
65 private ArrayList<Pair<Source, Event>> mCollectedEvents = new ArrayList<>(); field in ActivityCallbacksTestActivity264 mCollectedEvents.add(new Pair<>(source, event)); in collectEvent()268 return mCollectedEvents; in getCollectedEvents()