Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDetectionStubAccessibilityService.java30 private ArrayList<Integer> mCollectedEvents = new ArrayList(); field in GestureDetectionStubAccessibilityService
84 mCollectedEvents.add(event.getEventType()); in onAccessibilityEvent()
90 mCollectedEvents.add(event.getEventType()); in onAccessibilityEvent()
98 mCollectedEvents.clear(); in clearEvents()
104 return mCollectedEvents.size(); in getEventsSize()
110 return mCollectedEvents.get(index); in getEvent()
117 if (mCollectedEvents.size() >= count) { in waitUntilEvent()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorEventListener.java56 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<>(); field in TestSensorEventListener
103 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 …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DEventTimestampSynchronizationVerification.java44 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<TestSensorEvent>(); field in EventTimestampSynchronizationVerification
130 mCollectedEvents.add(event); in addSensorEventInternal()
142 int collectedEventsCount = mCollectedEvents.size(); in verifyTimestampSynchronization()
146 TestSensorEvent event = mCollectedEvents.get(i); in verifyTimestampSynchronization()
DTimestampClockSourceVerification.java46 private final ArrayList<TestSensorEvent> mCollectedEvents = new ArrayList<TestSensorEvent>(); field in TimestampClockSourceVerification
134 mCollectedEvents.add(event); in addSensorEventInternal()
144 int collectedEventsCount = mCollectedEvents.size(); in verifyTimestampClockSource()
155 TestSensorEvent event = mCollectedEvents.get(i); in verifyTimestampClockSource()
/cts/tests/app/app/src/android/app/stubs/
DActivityCallbacksTestActivity.java65 private ArrayList<Pair<Source, Event>> mCollectedEvents = new ArrayList<>(); field in ActivityCallbacksTestActivity
264 mCollectedEvents.add(new Pair<>(source, event)); in collectEvent()
268 return mCollectedEvents; in getCollectedEvents()