Home
last modified time | relevance | path

Searched refs:mEvents (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DTestGnssNavigationMessageListener.java41 private final List<GnssNavigationMessage> mEvents; field in TestGnssNavigationMessageListener
48 mEvents = new CopyOnWriteArrayList<GnssNavigationMessage>(); in TestGnssNavigationMessageListener()
53 mEvents.add(event); in onGnssNavigationMessageReceived()
54 if (mEvents.size() > mEventsToCollect) { in onGnssNavigationMessageReceived()
108 return mEvents; in getEvents()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java279 session.mEvents.add(event); in onContentCaptureEvent()
432 private final List<ContentCaptureEvent> mEvents = new ArrayList<>(); field in CtsContentCaptureService.Session
453 return Collections.unmodifiableList(mEvents); in getEvents()
458 return "[id=" + id + ", context=" + context + ", events=" + mEvents.size() in toString()
557 private final List<MyActivityEvent> mEvents; field in CtsContentCaptureService.EventsAssertor
561 mEvents = Collections.unmodifiableList(events); in EventsAssertor()
562 Log.v(TAG, "EventsAssertor: " + mEvents); in EventsAssertor()
599 if (mNextEvent >= mEvents.size()) { in assertNextEvent()
602 + mEvents.size() + "): " + mEvents); in assertNextEvent()
606 final MyActivityEvent event = mEvents.get(index); in assertNextEvent()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyAutofillCallback.java44 private final BlockingQueue<MyEvent> mEvents = new LinkedBlockingQueue<>(); field in MyAutofillCallback
74 Helper.offer(mEvents, event, MY_TIMEOUT.ms()); in offer()
81 final MyEvent event = mEvents.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getEvent()
92 final MyEvent event = mEvents.poll(CALLBACK_NOT_CALLED_TIMEOUT_MS, TimeUnit.MILLISECONDS); in assertNotCalled()
103 assertWithMessage("Invalid number of events left: %s", mEvents).that(mEvents.size()) in assertNumberUnhandledEvents()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java50 private final BlockingQueue<InputEvent> mEvents; field in InputTestCase
61 mEvents = new LinkedBlockingQueue<>(); in InputTestCase()
78 mEvents.clear(); in setUp()
137 InputEvent event = mEvents.poll(); in assertNoMoreEvents()
173 return mEvents.poll(5, TimeUnit.SECONDS); in waitForEvent()
263 mEvents.put(new KeyEvent(ev)); in onKeyEvent()
273 mEvents.put(event); in onMotionEvent()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionTest.java56 private final BlockingQueue<KeyEvent> mEvents = new LinkedBlockingQueue<>(); field in KeyEventInjectionTest
69 mEvents.clear(); in setUp()
112 mEvents.add(event); in onKeyDown()
118 mEvents.add(event); in onKeyUp()
182 KeyEvent event = popEvent(mEvents); in checkKeyEvent()
/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java360 private List<FileEvent> mEvents = new ArrayList<FileEvent>(); field in FileObserverTest.MockFileObserver
380 mEvents.add(new FileEvent(event, path)); in onEvent()
384 final FileEvent[] events = new FileEvent[mEvents.size()]; in getEvents()
385 mEvents.toArray(events); in getEvents()
386 mEvents.clear(); in getEvents()
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DServiceReporter.java45 public ArrayList<AppTargetEvent> mEvents = new ArrayList<>(); field in ServiceReporter
107 mEvents.add(event); in onAppTargetEvent()
DAppPredictionServiceTest.java175 assertEquals(mReporter.mEvents, events); in testAppTargetEvent()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java1551 mEvents = Arrays.asList(new DirectReportSensorEvent[n]);
1553 mEvents.set(i, new DirectReportSensorEvent());
1564 if (mIndex < mEvents.size()) {
1565 return mEvents.get(mIndex++);
1571 private List<DirectReportSensorEvent> mEvents;
1598 List<DirectReportSensorEvent> mEvents = new ArrayList<>();
1606 return mEvents;
1627 mEvents.add(e);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java224 private volatile LinkedList<MySensorEvent> mEvents = null; field in ItsService
258 mEvents = new LinkedList<MySensorEvent>(); in onCreate()
918 mSocketRunnableObj.sendResponse(mEvents);
919 mEvents.clear();
1764 mEvents.add(ev2);